Current location: Hot Scripts Forums » Programming Languages » PHP » php4 & php5


php4 & php5

Reply
  #1 (permalink)  
Old 05-05-05, 08:48 AM
Baho's Avatar
Baho Baho is offline
Newbie Coder
 
Join Date: Jan 2005
Location: Lebanon
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy php4 & php5

plz i need help
i have done a site using PHP4, and i have uploaded it but it seems that the server does not support php4, it supports php5, and it s giving me some errors, how can i fix this problem??
the errors are:

Notice: import_request_variables() [function.import-request-variables]: No prefix specified - possible security hazard in home.php on line ...

Notice: Undefined variable: op in home.php on line 39
10x

Last edited by Baho; 05-05-05 at 09:05 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 05-05-05, 08:51 AM
Acecool's Avatar
Acecool Acecool is offline
Aspiring Coder
 
Join Date: Nov 2003
Posts: 506
Thanks: 0
Thanked 0 Times in 0 Posts
www.php.net/import_request_variables
No prefix..
import_request_variables('something', 'prefix_');

$op is not set before it is accessed or "added to".
$op = FALSE;
__________________
Check Acecoolco.com for PHP Tutorials, and other tuts
If you plan on contacting me, please read this: Legal Terms & Conditions
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #3 (permalink)  
Old 05-06-05, 05:23 AM
Baho's Avatar
Baho Baho is offline
Newbie Coder
 
Join Date: Jan 2005
Location: Lebanon
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
10x a lot, i have fixed the problem, u r right
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #4 (permalink)  
Old 05-06-05, 08:39 AM
Acecool's Avatar
Acecool Acecool is offline
Aspiring Coder
 
Join Date: Nov 2003
Posts: 506
Thanks: 0
Thanked 0 Times in 0 Posts
Any time :-)
__________________
Check Acecoolco.com for PHP Tutorials, and other tuts
If you plan on contacting me, please read this: Legal Terms & Conditions
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Programming in PHP5? Lasha PHP 6 05-02-05 09:05 PM
Can we make it from PHP4 to PHP5? weilies PHP 2 04-29-05 06:24 AM
Is it Time or Too Soon to upgrade to PHP5 ? MrMMM PHP 3 01-19-05 09:11 AM
PHP5 Hosting account for FREE w/ any purchase! mxhub General Advertisements 0 10-07-04 12:52 PM
PHP5 webhost? micmath67 PHP 2 03-19-04 09:12 AM


All times are GMT -5. The time now is 02:17 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.