GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   quick php ? (https://gfy.com/showthread.php?t=538960)

poe 11-10-2005 06:35 PM

quick php ?
 
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 11-10-2005 06:35 PM

hahhaah is = =

Linguist 11-10-2005 06:43 PM

Do an or:
if ((basename = index.php) || (basename = index2.php)) { blabla}

replace = with = =

poe 11-10-2005 06:49 PM

thanks, but that didn't work.

poe 11-10-2005 07:04 PM

anyone have any ideas?

Linguist 11-10-2005 07: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

poe 11-10-2005 07:14 PM

Quote:

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!

Baker Rd 11-10-2005 07:16 PM

if (basename($_SERVER['PHP_SELF']) = 'index.php' || basename($_SERVER['PHP_SELF']) = 'index2.php') { }

ddfGandalf 11-10-2005 07:54 PM

still = =


All times are GMT -7. The time now is 01:07 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123