Search found 34 matches

by abionifade
Fri Apr 19, 2002 5:59 pm
Forum: PHP - Code
Topic: passing cookie variables
Replies: 4
Views: 12349

passing cookie variables

Hi guys, I have created a authentication script which then extracts the user id entered by the user and then stores it in a cookie variable called $mycookie. Further on into the site I am able to use the cookie to perform various select statements. Only problem is that php files that i have 'require...
by abionifade
Fri Apr 19, 2002 5:15 pm
Forum: PHP - Code
Topic: File Extension Problem
Replies: 8
Views: 18103

$len = strlen($HTTP_POST_FILES['userfile']['name']); $ext = substr($HTTP_POST_FILES['userfile']['name'],$len - 3,3); this worked perfectly, the downloads are coming down. Thank you so much for your help guys, Sam - can i ask you to explain what you did as im unsure of whats happening in the above li...
by abionifade
Fri Apr 19, 2002 8:26 am
Forum: PHP - Code
Topic: File Extension Problem
Replies: 8
Views: 18103

Still stuck

Hi Gabe,

really appreciate your taking the time to look at my problem. Im unsure as to what you are suggesting for me to do. I am a newbie to PHP. :D

Should i post my entire script so you can point at the particular spot where i should insert new code?

-Abi
by abionifade
Thu Apr 18, 2002 5:32 pm
Forum: PHP - Code
Topic: File Extension Problem
Replies: 8
Views: 18103

File Extension Problem

I have created a system which allows users to upload files to file storage via a web interface. A administrator is then able to download the file via the same interface. The details of the file are automatically entered into the database. Filename, filetype etc. Just so that no two files of the same...