Search found 46 matches

Actual Results

Post Posted: May 31st, 2005, 4:29 pm

Hi all! I have some php script that uploads files to a directory. Everything is working fine but I would like to make sure the user is only allowed to upload a ".pdf" file. How can I check for this? Here's the code: [code] // Check for file upload. if (is_uploaded_file ($_FILES['user...

Post Posted: May 30th, 2005, 10:17 am

Thanks for all your interest everyone! I realy appreciate everyone's help! I found someone to help me out already and my problem has been solved. :)

Have a great day!

Post Posted: May 27th, 2005, 5:55 pm

Hi! I'm frustrated and tired and am willing to pay $30 via paypal if someone can make this work. I have a webpage with a reservation form with 3 dropdown date fields. I would like the user to be able to choose a date, hit the submit button, and be routed to a new form where they must enter more info...

Post Posted: May 27th, 2005, 9:14 am

that works great when it's the numbers but what about when you have to actually pass the variables (ie. jan, feb, mar)?

Post Posted: May 26th, 2005, 6:42 pm


Post Posted: May 26th, 2005, 5:40 pm

I'm sorry, I wasn't clear. I want to pass these variables from one form to another form. (specifically from a select menu). Here's some code to be more clear: Page 1: [code]<form action="reservation.php" method="post" name="reserve"> <select name="day&...

Post Posted: May 26th, 2005, 4:50 pm

How can I transfer the values from a select form on one page to the next using PHP? I have a reservation form on one page where the user can select a date and then go to a new page where they can fill out the rest of their info. I would like to pass the date they submitted from the first page to the...

Post Posted: February 24th, 2005, 9:31 pm

Ok, well I figured it out. If I just add ./ to the path things shoud work fine.

Thanks anyway!

Post Posted: February 24th, 2005, 11:45 am

I'm sorry...I'm learning.
Is there a way I can retrieve that using php?

Post Posted: February 24th, 2005, 10:37 am

Thanks guys but it's still not working. I'm wondering if it is the path. Do I have to use an absolute path? Is there a way I can get this with PHP?

Post Posted: February 23rd, 2005, 11:29 am

Hi! I'm a new php/MySQL user. I would like to run a query and then use the results to create a directory. I obviously am clueless and doing it wrong. The query runs fine but making the directory doesn't happen. Here's my code: [code]$query_id = mysql_query("SELECT * FROM HOMES WHERE address...

Post Posted: February 21st, 2005, 7:55 pm

You're awesome! Thanks so much!

Post Posted: February 17th, 2005, 7:48 pm

Hi, I'm a php/mysql beginner and have a script that enters info into the database including an id number that it set to auto increment. I would like to be able to enter in the info and then immediately run another query that will get the id number from the database and echo it. Here's my code which ...

Post Posted: February 16th, 2005, 5:55 pm

Hello, I am in the process of creating a website for a real estate agent using php and mysql which I am just learning. I am working on the script that the agent will use to enter new property info and images to the database. Each property the agent enters is set to have a home_id which is auto incre...

Post Posted: February 16th, 2005, 12:17 pm

Hi, I have a Perl send_mail script that I've used many times on a Unix server but now I have a Windows server that doesn't have send_mail. They say the have mail::sender available in Perl but I have no clue how to use it. Can anyone help? Here's my sendmail script if it's needed: [code]#! /usr/bin/p...

Post Posted: February 16th, 2005, 11:59 am

Ah ha!! Thanks SO MUCH for your time! How did you know that?

Post Posted: February 16th, 2005, 11:39 am

Ok, I did that and it now says
You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '0, 10' at line 2

Do you know what it means?
Thanks for your time!

Post Posted: February 15th, 2005, 4:00 pm

Hi! I'm looking for a very nice, patient expert to help me with this simple php script that I'm getting an error on and can't figure it out. The error is mysql_num_rows(): supplied argument is not a valid MySQL result resource The script is supposed to be a simple php script allowing the user to vie...

Post Posted: February 13th, 2005, 10:37 am


Sometimes I feel really stupid!

Thanks for taking the time to help!

Post Posted: February 12th, 2005, 5:01 pm

Can someone please help me? I'm getting this error trying to create a change_password.php script and have been racking my brain until I can't see straight. (I'm hoping a fresh set of eyes can help :shock: ) The error is: Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STR...

Post Posted: February 9th, 2005, 1:51 pm

Is there a way to view a list all of the users that have registered for my phpBB2 forum from the admin panel?

Post Posted: February 8th, 2005, 11:17 am


I'm am currently learning PHP and mySQL and am wondering where I should store the file that contains my database access information and connects to MySQL. I know this file should be secure but my sever will not allow me to have access below the web document root?

Any suggestions?

Post Posted: February 5th, 2005, 5:41 pm

Thanks SO MUCH!!!!! :oops:

Post Posted: February 5th, 2005, 5:12 pm

Hi! I am a PHP / mySQL beginner and am trying to develop a simple form that will allow users to enter their information which will then be added to my database. I keep getting the following error which means my query did not run ok but I'm not sure what I did wrong. You could not be registered to a ...

Post Posted: January 25th, 2005, 2:09 pm

Thanks but that didn't work either. :(

I'm not familiar with Net::SMTP, can you explain more please?

Post Posted: January 25th, 2005, 1:12 pm

Hi! I'm having a problem with sendmail in my perl script. I would like to send the same email to two addresses but it's only coming through to the first one ($email). All the parameters are being passed fine because it's showing up correctly in the one email that's coming through. Here's the code: [...

Post Posted: January 21st, 2005, 6:48 pm

HI All! I have a Perl/CGI question. I have a simple send_mail script that gets the elements of a form and emails them to a recipient but at this point the content is emailed in a text format and I would like it to be emailed in an HTML format. Anyone know how I can do this? Thanks! ...and let me kno...

Post Posted: January 4th, 2005, 7:59 pm

Yes I am. Does this mean I need a new router? Why can I keep connecting, emailing, etc. over the internet?

Post Posted: January 4th, 2005, 12:45 pm

Can you also post your css code?

Post Posted: January 4th, 2005, 12:37 pm

I am having an FTP problem with my main PC. All of a sudden, when I transfer (FTP) files from my main PC they don't appear, but when I FTP them on my laptop everything works fine. For example, I uploaded a simple HTML file with the heading “Hello World” using my main PC and it just comes up blank, b...
  • Sort by

© 1998-2016. Ozzu® is a registered trademark of Unmelted, LLC.