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...

Post Posted: October 3rd, 2004, 2:46 pm

Looks like Ozzu lets you "borrow" the code as long as you tell him which site you use it on. You can download it from

Post Posted: October 3rd, 2004, 2:40 pm

Hi! I am trying to display the contents of a directory using Perl. I've tested the code on my server and it works fine but when I try to run it on my client's server, I get the "displayFileError" (see below). I've set the permissions and everything. Is there something else I haven't done to keep the...

Post Posted: September 10th, 2004, 10:05 am

Hi! I am trying to add the value of radio buttons in a form and am having no luck. Here's an example of the form: [code]<FORM action="" NAME="aForm" ONSUBMIT="return false;"> <tr> <td align="center" valign="top" style...

Post Posted: September 6th, 2004, 9:14 pm

I know... it's making me paranoid! But yes, the files are still visible in the directory and I've cleaned out my cache and tested it on several computers...yet the files remain missing! ARRRGG!

Post Posted: September 6th, 2004, 8:22 pm

Hi! I have a problem that's causing me to pull out my hair! I use WS-FTP to upload my websites. Recently, I've uploaded html pages to a web site and the pages are visible at first but then will mysteriously disappear later. It's driving me nuts! I've been designing web sites for about 3 years now an...

Post Posted: July 12th, 2004, 12:45 pm

Hello All! I'm looking for a little help with radio buttons in a form. Id like to accomplish two things. 1.) check all of the radio buttons and return an error message if one is unchecked directing the user to the specific radio button they'd forgotten 2.)add the value (an integer) of the radio butt...

Post Posted: April 28th, 2004, 3:14 pm

Hello all!

I am looking for a event calendar script where my client (a local church) can post upcoming events on their web site. Does anyone know of a good one?



Post Posted: March 28th, 2004, 12:48 pm

Is there a way to create a style sheet that will "override" all others in the site?

Post Posted: March 28th, 2004, 11:46 am

Unfortunetly not using Word is not an option. I am building a site using PHP template so that my client will be able to upload their Word documents as HTML (Iknow, sounds crazy but what they want is what they get). Word's annoying stlyle tags are screwing up my style sheets. I was hoping I could bui...

Post Posted: March 28th, 2004, 12:47 am

Hi all!

I am wondering if there's a simple way to remove all of M$Word's annoying style and special tags when saving as an HTML file using PHP?


Post Posted: March 27th, 2004, 3:19 pm

Ok....I guess I don't know how to do that yet.....time to start learning!


Post Posted: March 27th, 2004, 11:23 am

Thanks for all your suggestions! They're very helpful! Now in testing what things would look like, I've save a word file as HTML and included it, I also have a style sheet but it seems that the Word document's style is taking over! Is t...

Post Posted: March 25th, 2004, 6:28 pm

Hello all! I am designing a site for a client which contains a few pages that need to be updated on a regular basis. They want to do this maintenance themselves but they have no knowledge of HTML. They would like to save their MS Word files as HTML and upload them as such. (I know...sounds crazy!) I...

Post Posted: February 28th, 2004, 1:22 pm

Yes! That worked! Thanks a lot!

Post Posted: February 28th, 2004, 12:52 pm

I am having trouble with some code and was hoping someone could help me out? I am trying to pass the value of a radio button into a URL but I keep getting the dreaded "undefined". Here's the basic code: [code]function validateListboxA(list, message) //----------------------------------------...
  • Sort by

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