Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Forums
Blogs
Articles
Groups
Galleries
Member List
Calendar
Home
Forum
Simply Business
Fucking Around & Business Discussion
quick php ?
quick php ?
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
poe
Confirmed User
Join Date:
Mar 2004
Posts:
455
Share
Post
#1
quick php ?
11-10-2005, 04:35 PM
Code:
<? if( basename( $_SERVER['PHP_SELF'] ) hahahaha 'index.php' ) { ?>
How do I set this line to work both index.php and index2.php?
'index.php, index2.php' didn't work
’
poe
Confirmed User
Join Date:
Mar 2004
Posts:
455
Share
Post
#2
11-10-2005, 04:35 PM
hahhaah is = =
’
Comment
Post
Cancel
Linguist
Confirmed User
Join Date:
Apr 2004
Posts:
1706
Share
Post
#3
11-10-2005, 04:43 PM
Do an or:
if ((basename = index.php) || (basename = index2.php)) { blabla}
replace = with = =
315-310
Comment
Post
Cancel
poe
Confirmed User
Join Date:
Mar 2004
Posts:
455
Share
Post
#4
11-10-2005, 04:49 PM
thanks, but that didn't work.
’
Comment
Post
Cancel
poe
Confirmed User
Join Date:
Mar 2004
Posts:
455
Share
Post
#5
11-10-2005, 05:04 PM
anyone have any ideas?
’
Comment
Post
Cancel
Linguist
Confirmed User
Join Date:
Apr 2004
Posts:
1706
Share
Post
#6
11-10-2005, 05:08 PM
Shoot me the relevant code to jeka at jeka.org, i'll fix it up for ya... or you can hit me up on ICQ
315-310
Comment
Post
Cancel
poe
Confirmed User
Join Date:
Mar 2004
Posts:
455
Share
Post
#7
11-10-2005, 05:14 PM
Originally posted by
Sjelefall
Shoot me the relevant code to jeka at jeka.org, i'll fix it up for ya... or you can hit me up on ICQ
thanks! emailing you now!
’
Comment
Post
Cancel
Baker Rd
Confirmed User
Join Date:
Nov 2005
Posts:
647
Share
Post
#8
11-10-2005, 05:16 PM
if (basename($_SERVER['PHP_SELF']) = 'index.php' || basename($_SERVER['PHP_SELF']) = 'index2.php') { }
money talks and bullshit walks.
Comment
Post
Cancel
ddfGandalf
Confirmed User
Join Date:
Feb 2005
Posts:
534
Share
Post
#9
11-10-2005, 05:54 PM
still = =
Comment
Post
Cancel
Previous
template
Next
Working...
OK
OK
Cancel
😀
😂
🥰
😘
🤢
😎
😞
😡
👍
👎
☕
Comment