PHP Installation
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsPHP RelatedPHP Installation

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
  #1  
Old July 14th, 2003, 02:33 AM
cshiyuan cshiyuan is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: malaysia
Posts: 19 cshiyuan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via Yahoo to cshiyuan
Error in adding user

Error:
Forbidden
You don't have permission to access /public/calendar5/<br /><b>Notice</b>: Undefined variable: PHP_SELF in <b>c:/phpdev/www/public/calendar5/ltw_install.php</b> on line <b>88</b><br /> on this server.
__________________________________________
when i hit "add" this error comin out.Can i know what's wrong with it?
thx

Reply With Quote
  #2  
Old July 14th, 2003, 05:17 AM
tkarkkainen's Avatar
tkarkkainen tkarkkainen is offline
Moderator
Click here for more information
 
Join Date: Apr 2007
Location: Finland
Posts: 2,326 tkarkkainen User rank is Lance Corporal (50 - 100 Reputation Level)tkarkkainen User rank is Lance Corporal (50 - 100 Reputation Level)tkarkkainen User rank is Lance Corporal (50 - 100 Reputation Level)  Folding Points: 15677 Folding Title: Novice Folder
Time spent in forums: 6 Days 9 h 32 m 40 sec
Reputation Power: 4
RE: Error in adding user

Try using $_SERVER['PHP_SELF'] instead of $PHP_SELF.

Reply With Quote
  #3  
Old July 14th, 2003, 05:35 AM
tkarkkainen's Avatar
tkarkkainen tkarkkainen is offline
Moderator
Click here for more information
 
Join Date: Apr 2007
Location: Finland
Posts: 2,326 tkarkkainen User rank is Lance Corporal (50 - 100 Reputation Level)tkarkkainen User rank is Lance Corporal (50 - 100 Reputation Level)tkarkkainen User rank is Lance Corporal (50 - 100 Reputation Level)  Folding Points: 15677 Folding Title: Novice Folder
Time spent in forums: 6 Days 9 h 32 m 40 sec
Reputation Power: 4
RE: Error in adding user

Sorry, didn't notice which forum I was in... So I assume that the code isn't written by you. Turn register_globals ON in php.ini

Reply With Quote
  #4  
Old July 14th, 2003, 05:35 AM
cshiyuan cshiyuan is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: malaysia
Posts: 19 cshiyuan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via Yahoo to cshiyuan
RE: Error in adding user

if use the $_SERVER['PHP_SELF'], the page to add user have error. if use back the $PHP_SELF add user page ll appear, but when "add " is click only error ll comin out

Reply With Quote
  #5  
Old July 14th, 2003, 05:41 AM
cshiyuan cshiyuan is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: malaysia
Posts: 19 cshiyuan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via Yahoo to cshiyuan
RE: Error in adding user

in the source code provided, there is no such a php.ini file

Reply With Quote
  #6  
Old July 14th, 2003, 05:50 AM
tkarkkainen's Avatar
tkarkkainen tkarkkainen is offline
Moderator
Click here for more information
 
Join Date: Apr 2007
Location: Finland
Posts: 2,326 tkarkkainen User rank is Lance Corporal (50 - 100 Reputation Level)tkarkkainen User rank is Lance Corporal (50 - 100 Reputation Level)tkarkkainen User rank is Lance Corporal (50 - 100 Reputation Level)  Folding Points: 15677 Folding Title: Novice Folder
Time spent in forums: 6 Days 9 h 32 m 40 sec
Reputation Power: 4
RE: Error in adding user

php.ini doesn't come with theh source code, it comes with the php interpreter. If it works with $PHP_SELF then you have register_globals ON. And that means the mistake is somewhere else.

Change user permissions for the folder the script is in so that the script is allowed to do what it should do.

Reply With Quote
  #7  
Old July 14th, 2003, 07:00 AM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: Error in adding user

in the source code provided, there is no such a php.ini file

Reply With Quote
  #8  
Old July 14th, 2003, 07:02 AM
tkarkkainen's Avatar
tkarkkainen tkarkkainen is offline
Moderator
Click here for more information
 
Join Date: Apr 2007
Location: Finland
Posts: 2,326 tkarkkainen User rank is Lance Corporal (50 - 100 Reputation Level)tkarkkainen User rank is Lance Corporal (50 - 100 Reputation Level)tkarkkainen User rank is Lance Corporal (50 - 100 Reputation Level)  Folding Points: 15677 Folding Title: Novice Folder
Time spent in forums: 6 Days 9 h 32 m 40 sec
Reputation Power: 4
RE: Error in adding user

Like I said, php.ini file doesn't come with the source. If you can't find it use the search system of your OS.

Reply With Quote
  #9  
Old July 14th, 2003, 07:18 AM
cshiyuan cshiyuan is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: malaysia
Posts: 19 cshiyuan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via Yahoo to cshiyuan
RE: Error in adding user

TO : tkarkkainen

Thx for u're help.really appreciated. The page can load well now..thx a lot. just cant imagin u r only 16. anyw thx

Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP RelatedPHP Installation > Error in adding user


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway