PHP in Info
Moderators: Big-O Ryan, Big-O Mark
- Plasma2002b
- Extreme Groupie
- Posts: 976
- Joined: Thu Jul 18, 2002 11:36 pm
- Location: Riverside, Ca
- Contact:
PHP in Info
Ok... im not the php expert here (im the asp guy, lol), but i know a lot of you are.
as far as i know php is the only way you can get scripting in ur info.... so ive been trying to learn php latley, but i cant get sumthin...
so instead of tryin to search the piles of info on the net for php tutorials, ive decided to ask it here....
basic thing here.....
how can i get the SN of somebody WITH SPACES IN THEYE NAME into the script??
i can make it display the sn if theres no spaces in theyre format, but i get the "Error loading content" message if they have a space....
lets say i wanted to do a VERY simple script that JUST displays the sn of them from the url... how would i go about doin that??
easy in asp, lol
as far as i know php is the only way you can get scripting in ur info.... so ive been trying to learn php latley, but i cant get sumthin...
so instead of tryin to search the piles of info on the net for php tutorials, ive decided to ask it here....
basic thing here.....
how can i get the SN of somebody WITH SPACES IN THEYE NAME into the script??
i can make it display the sn if theres no spaces in theyre format, but i get the "Error loading content" message if they have a space....
lets say i wanted to do a VERY simple script that JUST displays the sn of them from the url... how would i go about doin that??
easy in asp, lol
-
- Addict
- Posts: 121
- Joined: Sun Jun 09, 2002 2:54 pm
- Location: Texas
- Contact:
- Plasma2002b
- Extreme Groupie
- Posts: 976
- Joined: Thu Jul 18, 2002 11:36 pm
- Location: Riverside, Ca
- Contact:
well, i jus went to www.php.net to start, read some manuals and reference stuff, got the jist of things, then i just googled for 'php tutorials'
found a lot of stuff, but ya know,..... nothing really specific....
found a lot of stuff, but ya know,..... nothing really specific....
-
- Addict
- Posts: 121
- Joined: Sun Jun 09, 2002 2:54 pm
- Location: Texas
- Contact:
AIM's richtext browser won't change spaces to %20s automatically. So I'm also eager to hear killcrap's solution.
Puns don't kill people. People kill people... usually with guns, knives, or something else physically threatening... puns just don't quite cut it... unlike knives, which cut a lot of things...
Punny Buddy Icons: assbuddy.tk
Punny Buddy Icons: assbuddy.tk
- Plasma2002b
- Extreme Groupie
- Posts: 976
- Joined: Thu Jul 18, 2002 11:36 pm
- Location: Riverside, Ca
- Contact:
<?php
/*Where $newsn is the screen name with spaces and $sn is the screen name taken from the %n tags... if they open up the file in a new browser window and it is not Netscape 4.7, youll get the %20s, or else it will be truncated.*/
$newsn=str_replace("%20"," ",$sn);
?>
/*Where $newsn is the screen name with spaces and $sn is the screen name taken from the %n tags... if they open up the file in a new browser window and it is not Netscape 4.7, youll get the %20s, or else it will be truncated.*/
$newsn=str_replace("%20"," ",$sn);
?>
Puns don't kill people. People kill people... usually with guns, knives, or something else physically threatening... puns just don't quite cut it... unlike knives, which cut a lot of things...
Punny Buddy Icons: assbuddy.tk
Punny Buddy Icons: assbuddy.tk
And as far as I know, it's an issue with Apache that it won't read spaces in the address bar.
Puns don't kill people. People kill people... usually with guns, knives, or something else physically threatening... puns just don't quite cut it... unlike knives, which cut a lot of things...
Punny Buddy Icons: assbuddy.tk
Punny Buddy Icons: assbuddy.tk
- Plasma2002b
- Extreme Groupie
- Posts: 976
- Joined: Thu Jul 18, 2002 11:36 pm
- Location: Riverside, Ca
- Contact:
No, it won't work unless you do something to do it, which I don't know how to. Does subprofile log SNs with spaces correctly?
Puns don't kill people. People kill people... usually with guns, knives, or something else physically threatening... puns just don't quite cut it... unlike knives, which cut a lot of things...
Punny Buddy Icons: assbuddy.tk
Punny Buddy Icons: assbuddy.tk
- Plasma2002b
- Extreme Groupie
- Posts: 976
- Joined: Thu Jul 18, 2002 11:36 pm
- Location: Riverside, Ca
- Contact:
I guess they either know more than we do or they're running a version of Apache or PHP on IIS ( ).
Puns don't kill people. People kill people... usually with guns, knives, or something else physically threatening... puns just don't quite cut it... unlike knives, which cut a lot of things...
Punny Buddy Icons: assbuddy.tk
Punny Buddy Icons: assbuddy.tk
-
- Addict
- Posts: 121
- Joined: Sun Jun 09, 2002 2:54 pm
- Location: Texas
- Contact:
- Plasma2002b
- Extreme Groupie
- Posts: 976
- Joined: Thu Jul 18, 2002 11:36 pm
- Location: Riverside, Ca
- Contact:
well... i found out wat it is.....
its the php interpereter itself.... the new version just isnt really compatible with it. Ive read the docs....... aparently what subprofile did was just not update. I have the new version, so thats why i cant get it to work. If yall want to make it work, go download an older binary than what is offered.
its the php interpereter itself.... the new version just isnt really compatible with it. Ive read the docs....... aparently what subprofile did was just not update. I have the new version, so thats why i cant get it to work. If yall want to make it work, go download an older binary than what is offered.
Who is online
Users browsing this forum: No registered users and 0 guests