Current location: Hot Scripts Forums » Programming Languages » PHP » need help defining...


need help defining...

Reply
  #1 (permalink)  
Old 04-12-04, 12:11 PM
Anitos's Avatar
Anitos Anitos is offline
Newbie Coder
 
Join Date: Jan 2004
Location: in the far north kingdom of Angemar
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
need help defining...

I don't want to explain what for, unless I have to, but I need help on defining something.

I want to make something random. I can do that. But I want to define the things that I make random. I want to randomise other PHP script, not just writing or images. Is this possible? This is the idea I had... It doesn't work though

$style1 = *php code*
$style2 = *php code*

And later on, call those into a randomiser script.

That's basically what I want to do.
__________________
<a href="http://knetworks.co.uk">KX Net:Join the Revulution</a>
<a href="http://chaos-net.org">Chaos-Net :Coming Sone</a>
<a href="http://deviantart.com">DeviantART</a>
<a href="good-tutorials.com">Tutorials form the lot</a>

<iframe src="http://www.knetworks.co.uk/slayersig.php" name="frame1" scrolling="no" frameborder="no" align="center" height = "150px" width = "500px">
</iframe>
Reply With Quote
  #2 (permalink)  
Old 04-12-04, 12:24 PM
Infinite_Hackers's Avatar
Infinite_Hackers Infinite_Hackers is offline
Coding Addict
 
Join Date: Dec 2003
Posts: 307
Thanks: 0
Thanked 0 Times in 0 Posts
How about put the files in 1 dir, name them by number or just read the dir that they are in. And randomely include them?
__________________
New beta project: GFX-PRO.ATH.CX
Description: GFX-PRO a great new project that anyone can and setup in less then a minute. [ More info ]
Website: http://gfx-pro.ath.cx
Status: Online
http://gfx-pro.ath.cx/sig.png
Reply With Quote
  #3 (permalink)  
Old 04-12-04, 12:32 PM
Anitos's Avatar
Anitos Anitos is offline
Newbie Coder
 
Join Date: Jan 2004
Location: in the far north kingdom of Angemar
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
thanks Infinitiv il try...
__________________
<a href="http://knetworks.co.uk">KX Net:Join the Revulution</a>
<a href="http://chaos-net.org">Chaos-Net :Coming Sone</a>
<a href="http://deviantart.com">DeviantART</a>
<a href="good-tutorials.com">Tutorials form the lot</a>

<iframe src="http://www.knetworks.co.uk/slayersig.php" name="frame1" scrolling="no" frameborder="no" align="center" height = "150px" width = "500px">
</iframe>
Reply With Quote
  #4 (permalink)  
Old 04-12-04, 12:46 PM
Nexus Nexus is offline
New Member
 
Join Date: Apr 2004
Location: 9th Gate of Hell
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Would that work? I'm a friend of Anitos and I asked him to post that here. If I write the code I want to appear in a file, call it 1.php and then include that, it'll work? I'll try it! Thanks a lot, but any other idea's as to how to define the styles inside that file would be appreciated!
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
The Art Nexus seeking PHP programmers TheArtNexus Job Offers & Assistance 5 02-26-08 03:08 AM


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