» tagged pages
» logout

sorted by: recent | see : popular
Content Tagged with forum + Programming

htdocs folder????

hey guys, i have started learning php and mysql.

i am using a mac and i need to locate the htdocs folder.

where is this????

as i cant find it any where

loopfuse: Web Design Forum

Web Service

Hi all,

can we call a web service asynchronously?


I will highly appreciate your feed back.

Thanks in advance.

loopfuse: Web Design Forum

Wordpress site root function

Hi guys,

I am not a programmer, so bear with me.

I have a Wordpress template that calls a custom field value and puts it into an img tag. At the moment the line goes:

PHP Code:

<img src="<?php echo $thumb?>"


The $thumb variable is, at the moment, the full http:// url that calls up the image. I would like to be able to use the custom field to call the image using the Wordpress site root + the directory ($thumb value). This is so that I can use the template, no matter where the Wordpress installation is or what the DNS is.

I know that there is a Wordpress function bloginfo ('home') that does the site root part. I don't understand very much about php and so don't know how to change the line.

If it matters, the $thumb variable is created by the line:

PHP Code:

$thumb get_post_meta($post->ID'Thumbnail'$single true); 

Thanks in advance.

edit: oh ********, how do I get php into this thing?

loopfuse: Web Design Forum

Site hanging in IE7, any ideas?

Hope somebody can help as we have hit a brick wall.

Our website www.stationery-direct.co.uk keeps hanging in IE7, no other browser is effected, it is not all the time and can be on ANY page, there is no pattern to this problem.

We have removed (in the past) all jscript code which has not fixed the issue (now back in place), the back-end system seems to hang as well which is completely different in coding to the main site. Does anybody have any ideas as to what I should do next? A server problem maybe?

loopfuse: Web Design Forum

Javascript/mootools help!

I don't know if anyone is familiar with the lavalamp js menu, but I'm using it in a site I'm building. It works really well, except the links don't want to work!

I've generated code from the mootools site and replaced/updated my 'core' file, then the links work, but the animated effect stops working!

Can someone please take a look to see if they can figure out what's wrong?

I can post the js files up if this would help.

The site is here: G-Dawgs - Home

Thanks!

loopfuse: Web Design Forum

xml and itunes

hey guys, i have an xml podcast feed that is working when i go to the link (showing me all of the episodes)

but itunes has not updated the podcast yet and when i subscribe manually through itunes its only picking up episode 2-4.

Can anyone help me with this?????

can you guys see any problem in the xml file?

You Got Me Thinking

loopfuse: Web Design Forum

Help in ASP needed!!!

hey there.....

i am not a programmer just a simple designer - but i have a urgent programming need .... my programmer is not available at the moment and i need help with my site's ASP code!!

here is the problem!!
Quote:



!--span class="style5">!--strong>Thanks for your query.!--/strong> !--br>
We will contact you shortly.!--/span>!--/div>



this script is placed at an order form which after submitting displays this text message... i need to redirect it instead of showing this text ..... what do i have to do with it?!?!?!?! :helpsmilie:


NOTE: I've added !-- in the tags as they were getting processed in this thread

loopfuse: Web Design Forum

PHP Menu Problem

Hey Guys,

see if you PHP peeps can help with this one because PHP is not my thing.

I am editing a wordpress menu for someone.
We basically want different sub-menus to appear in different sections of the site. So the "example.com/section1" of the site would have 5 sub items but "/section2" would have 7 different ones.

I am currenty using an "if" statement with display a ul based around this command.

HTML Code:

<?php

$theuri = $_SERVER['REQUEST_URI'];

if ( ($theuri =="/section1/") or ($theuri =="/section1/child1/") or ($theuri =="/section1/child2/") )
{
$section1menu = "<ul class=\"navlist2\">
<li><a href=\"www.example.com/section1/child1\">Sub Option 1</a></li>
<li><a href=\"www.example.com/section1/child2\">Sub Option 2</a></li>
</ul>";}
echo $section1menu;
?>


The problem is this, I have to put EVERY possible page as an "or" option, is there some way of telling the php that "if the request is a directory" instead of just a "if the reques is a url"?

Alternatively you could call me a spaz and point out an easier way of doing this.

loopfuse: Web Design Forum

Smart Hover Box for Mootools 1.2

Hey all,

I made another function for mootools that lets you turn any html element into a hover box for any other html element. All you have to do is add a user defined id suffix to the element you want to hover.

Here is the javascript:
Code:

var smartHoverBox = function(boxTimer, xOffset, yOffset, smartBoxSuffix, smartBoxClose) {
    var smartBoxes = $(document.body).getElements('[id$=' + smartBoxSuffix + ']');
    var closeElem = $(document.body).getElements('.' + smartBoxClose); 
    var closeBoxes = function() { smartBoxes.setStyle('display', 'none'); };
    closeBoxes();
    closeElem.addEvent('click', function(){ closeBoxes(); }).setStyle('cursor', 'pointer');
    smartBoxes.each(function(item){   
        var currentBox = item.getProperty('id');
        currentBox = currentBox.replace('' + smartBoxSuffix + '', '');
        $(currentBox).addEvent('mouseleave', function(){ closeBoxesTimer = closeBoxes.delay(boxTimer); });   
        item.addEvent('mouseleave', function(){ closeBoxesTimer = closeBoxes.delay(boxTimer); });
        $(currentBox).addEvent('mouseenter', function(){ closeBoxesTimer = $clear(closeBoxesTimer); });   
        item.addEvent('mouseenter', function(){ closeBoxesTimer = $clear(closeBoxesTimer); });
        item.setStyle('margin', '0');
        $(currentBox).addEvent('mouseover', function(){                   
                smartBoxes.setStyle('display', 'none');
                item.setStyles({ display: 'block', position: 'absolute' }).setStyle('z-index', '1000000');

                //coordinates and size vars and math
                var windowSize = $(window).getSize();
                var windowScroll = $(window).getScroll();
                var halfWindowY = windowSize.y / 2;
                var halfWindowX = windowSize.x / 2;
                var boxSize = item.getSize();
                var inputPOS = $(currentBox).getCoordinates();
                var inputCOOR = $(currentBox).getPosition();
                var inputSize = $(currentBox).getSize();
                var inputBottomPOS = inputPOS.top + inputSize.y;
                var inputBottomPOSAdjust = inputBottomPOS - windowScroll.y
                var inputLeftPOS = inputPOS.left + xOffset;
                var inputRightPOS = inputPOS.right;
                var leftOffset = inputCOOR.x + xOffset; 

                if(halfWindowY                     item.setStyle('top', inputPOS.top - boxSize.y - yOffset);
                    if (inputLeftPOS                     else { item.setStyle('left', (inputPOS.right - boxSize.x) - xOffset); };
                }
                else {
                    item.setStyle('top', inputBottomPOS + yOffset);
                    if (inputLeftPOS                     else { item.setStyle('left', (inputPOS.right - boxSize.x) - xOffset); };
                };
        }).setStyle('cursor', 'pointer');   
    });
};

To add this to your webpage, add this into the head of your html:

Code:

 
window.addEvent('domready', function() {
    smartHoverBox(1000, 30, 0, '_smarthbox', 'smarthbox_close'); 
});
window.addEvent('domready', function() {
    smartHoverBox(1000, 30, 0, '_smarthbox', 'smarthbox_close'); 
});

You can set the duration, x offset, y offset, the id suffic, and the close class.

You can check out demos, docs and zip with all necessary files here:

Smart Hover Box for Mootools 1.2 -- consider: open blog | Web Design, Development and Marketing

In a nutshell, if you have a div with some instructions or controls, you can make that into a hover element by giving the id "id_suffix" where "id" is the id of the control element (for example, a span that says "instructions"), and "suffix" is a user defined suffix.

Sorry if thats not clear, hopefully the examples will help.

I welcome any feedback, feature requests or questions.

Thanks,
tr0y

loopfuse: Web Design Forum

Pictures Gallery Problems

I'm having problems trying to get a gallery into my page, I have it working on the server end but I don't know how to get it embedded into my page from the documentation it says from the "one style sheet" instructions choose one then remove the rest. If you download the file and open the index.php you'll see it's asthough the index.php is a full HTML file, so I don't know how to get this onto my page if anyone has knowledge in this area and could help me get it onto my page I would appreciate it very much.

Contact | (E)2 Interactive

loopfuse: Web Design Forum

Advice required - Creating Login & upload facility

Hello all,

I'm just after a bit of general advice really.

I want to create a section to my website which will allow users to sign up and subsequently login.

Brief outline of what I'm trying to achieve:
  • User signs up - Username & Password is generated
  • User then logs in and can upload images/documents
  • At the other end this upload must be identifiable as being received by this user
  • I will then need to be able to retrieve these files.
I'm pretty new to programming so have very limited experience in this field, and I've certainly never attempted anything like this before.

I'm not even sure what is required for the process of uploading files, ie where they are uploaded to? Would I setup an FTP account? What are the options?

To start with I just need some really basic advise as to the best way to go about tackling this.

I'm willing to give this a go myself, but if it's not straight forward there might be an opportunity for one of you more experienced members to get some work out of this!!

Hopefully someone can help me out.

Thanks!

loopfuse: Web Design Forum

How to hide your email address from spammers

Here is a great article Lauren (our SEO) came across about how to obfuscate your email address from spam bots. The person who wrote this article did some research testing several different methods and publishes the results here:

techblog.tilllate.com Nine ways to obfuscate e-mail addresses compared

loopfuse: Web Design Forum

Deprecated magic_quotes_gpc

I'm working with a third-party contact form, trying to expand it for my own use. I found out that the use of "magic_quotes_gpc " is deprecated for PHP6.

I've seached this forum in addition to a general web search for substitutions for this portion. Any ideas for updating the following:

---snip---
$name = strtok( $name, "\r\n" );
$email = strtok( $email, "\r\n" );
$subject = strtok( $subject, "\r\n" );
if (get_magic_quotes_gpc()) {
$comments = stripslashes( $comments );
---snip---

Thanks,

Diana

loopfuse: Web Design Forum

simple chat window?

Hey guys, wondering if anyone has a handy schat script

like just a chat window, a field to type and maybe a field to enter ones username

No need for bells and whistles or a whos int he chat section or anything

I tried doing one quick but it's funky, sometimes doesn't send messages other times it does.

any help would be greatly appreciated.

loopfuse: Web Design Forum

Walk in @Fomaxtech| Web Developers Bangalore

Location: Bangalore


Job Description
Analysis of new web site features. Develop clean and structured HTML 4.0, XHTML 2.0, CSS, Java Script and Flash code for front-end design projects. Working with Slicing, Mocks, Web Forms, PSDS, and AJAX for website front-end. Scripting in Perl, VBScript and PHP

Candidate Profile

  • Sound working knowledge of the ASP.NET Framework version 2.0.
  • Familiar with the processes involved with implementing encryption mechanisms.
  • Ability to independently work and learn new technologies.
  • Good written and oral communication.
  • Expert knowledge of HTML 4.0, XHTML, DHTML, CSS , Java Script, PHP, MySQL, XML
  • Strong knowledge of web standards is a must.
Experience: 1 - 3 years

Education: Graduation


Value Proposition
· Best pay
· Excellent performance incentives
· Great benefits
· Career Growth plan
· Overseas exposure with potential onsite opportunities



For further information, please contact to careers@fomax.in



Careers in Software Development, Web Design,Testing & Quality Analyser & Business Development Executives in India - Fomaxtech

loopfuse: Web Design Forum

Job openings @ Bangalore

Location: Bangalore

Experience:1 to 5 years.

Job Profile:
We are currently looking for a PHP software engineer who will form a part of our core Bangalore based offshore team. In this role, you will be responsible for development of key projects. Person should possess excellent knowledge in PHP MySQL. Experience with other open source tools like OS Commerce, X-Cart, Joomla etc. Should be hard worker and able to work in team. Should be able to interact with client and understand requirement

Job Description
-Dynamic website development using PHP, AJAX,HTML/XHTML/XML, Smarty.
-Understanding Client Requirements, designing, coding, delivering
-Integration with third party API's
-Website Maintenance.
-Scripting
-Quality Assurance
-Conceptualization and testing
-GOOD EXPOSURE in PHP
-Good object oriented and database programming skills.

- Additional Knowledge in Joomla, Drupal, OsCommerce, Sugar CRM should be an added
advantage.

Desired Profile
-Minimum one year of EXPERIENCE in PHP, MYSQL.
-Previous experience in PHP, MYSQL, Should have used at least one of the payment gateways would be an added advantage.
-Good Communication skills.

Value Proposition
· Best pay
· Excellent performance incentives
· Great benefits
· Career Growth plan
· Overseas exposure with potential onsite opportunities



For further information, please contact to careers@fomax.in
Careers in Software Development, Web Design,Testing & Quality Analyser & Business Development Executives in India - Fomaxtech

loopfuse: Web Design Forum

Jobs For Software Testing

Location: Bangalore
Experience: 0 to 2years.
Education: Graduation
Job Profile:
Includes Manual, automated and web testing knowledge of VSTE and Agile testing process. Black box and white box testing orientation, and testing at different phases of software life cycle. Unit testing, Integration testing, functional testing, system testing, acceptance and regression testing knowledge.

Skill Set:
  • Should have Sound Knowledge of Software Testing Lifecycle, Test case preparation, Test Case design techniques, Test case execution, Exposure / Expertise
  • Test Automation / Management Tools (Winrunner, Load runner, QTP, Test Director)
  • Should have excellent communication, Documentation and client facing skills
  • They must be good team players, preferably worked in a CMM Level 5 environment.
Software Quality Assurance
  • Candidate should have Sound Knowledge of CMM, CMMI, ISO, Six Sigma and other models.
  • Candidates with prior CMM assessment experience will be preferred.
Value Proposition
Best pay
·performance incentives
·Career Growth plan
·Overseas exposure with potential onsite opportunities
For further information on Fomax, please contact to careers@fomax.in

Careers in Software Development, Web Design,Testing & Quality Analyser & Business Development Executives in India - Fomaxtech

loopfuse: Web Design Forum

JavaScript, preload images script, let me know if this looks good.

I just made this image preload script, but have no idea if it works, please take a look at it and let me know if anything looks wrong here:
Code:

        images = new Array(home_btn_h, login_btn_h, reg_btn_h, del_forum_btn, msgs_btn_h, new_forum_btn_h, reg_btn_h, unread_btn_h);
       
        for(var i=0; i             images[i] = new Image();
            images[i].src="assets/" + images[i] + ".gif";
        }

p.s. Firebug is not throwing any errors, but i want to be sure.

Thanks!

loopfuse: Web Design Forum

Php mysql problem

I'm trying to connect to a database but keep getting this error msg through the browser.


Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'rooftrad_rooftra'@'localhost' (using password: YES) in /home/rooftrad/public_html/incs/dbconn.php on line 13
Couldn't connect to database

$GLOBALS['_dbhost'] = "localhost";
//$GLOBALS['_dbhost'] = "**.***.***.**";
$GLOBALS['_dbuser'] = "rooftrad_rooftra";
$GLOBALS['_dbpassword'] = "*******";
$GLOBALS['_dbdatabase'] = "rooftrad_mwarooftrader";


//uses 'field' notation as key
function ExecSQL($SQL) {
$i=0;
$rArray = array();
$db_resource = mysql_connect($GLOBALS['_dbhost'],$GLOBALS['_dbuser'],$GLOBALS['_dbpassword'],false, MYSQL_CLIENT_SSL) or die ("Couldn't connect to database");


I'm not all that good with php so any help would be great.


Thanks in advance,

loopfuse: Web Design Forum

Joomla! expertise

Hi everyone

I have a mission for the one of you who handle Joomla! 1.5 coding easily.

I by my self is pretty rusty and would need help to make a templates to the program.

If there anyone who feels to handle the templates developening easy, contact me!

I can award up too 200$ for the one who design joomla template of the accurate of my drawing example.

Continue this thread or just send me mail direct to ms.makeit@gmail.com for further information.

Thx in Advance :rolleyes:

loopfuse: Web Design Forum

Joompa! expertise

Hi everyone

I have a mission for the one of you who handle Joompa coding easily.

I by my self is pretty rusty and would need help to make a templates to the program.

If there anyone who feels to handle the templates developening easy, contact me!

I can award up too 200$ for the one who design joompa template of the accurate of my drawing example.

continue this thread or just send me mail direct to ms.makeit@gmail.com for further informatin.

Thx in Advance :rolleyes:

loopfuse: Web Design Forum

asp.net site quote

hey guys, im about to take on an asp.net project, i have worked with the language before and im proficient with it so thats not the problem.

My problem is that i dont know how much to charge for the project.

They want the following:

CMS for stock inc. sections for special offers that will apear on the home page
shopping cart for users
user details to be stored in DB for contact

can anyone give me a rough idea on what i should charge?

loopfuse: Web Design Forum

Programming Project for Airline Boarding Passes

I'm working a project with my programmer about a website that can get boarding passes from a whole bunch of different Airlines. All I want is a simple form where they select airlines, put confirmation number, name, and departure city. Then it fills in the form on that specific airlines webpage and opens up the page. Is this possible? If so how would I accomplish that?

loopfuse: Web Design Forum

mootime - mootools 1.2 javascript timepicker

hey all, i just released a javascript timepicker for mootools 1.2. This is something I built in jquery a while back, and have now transferred over to mootools and added a few new features. You can find a demo, a zip with all necessary files, and the docs here:

Mootime - Mootools 1.2 Javascript Timepicker -- consider: open blog | Web Design, Development and Marketing

As always, it is dedicated to the public domain so you can do whatever you like with it. Would love comments and feedback.

Hope you find it useful.

Thanks :)
Troy

loopfuse: Web Design Forum

Creating a pop up window

I'm looking to create a pop up window for when a viewer leaves a site. Been looking for good code or a decent generator that is chep or free. Any suggestions and or guidance would be appreciated!! Thanks.

loopfuse: Web Design Forum

PhpBB - Wikipedia, la enciclopedia libre

phpBB es un sistema de foros gratuito basado en un conjunto de paquetes de código programados en el popular lenguaje de programación web PHP y lanzado bajo la Licencia pública general de GNU...

open-source: del.icio.us tag/open-source

Page 1 | Next >>