NEWBIE QUESTION

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
billywjf
Forum Newbie
Posts: 1
Joined: Fri Dec 05, 2008 9:28 am

NEWBIE QUESTION

Post by billywjf »

Hi folks,
I am completely new to php and am a complete ant utter novice, i am trying to figure out a problem and hope someone here can help me.
Here is the scenario
I have a website with vb scripting and an asp page that does the following.
Every time the page loads it
1: retrieves a single filename from a folder, (the file extension is already known and there is always only one file in the folder).
2: changes the filename using a randomly generated name
3: assigns that filename to a variable
4: assigns the variable to part of a href link

I have this working with asp but would not know where to begin in PHP any pointers would be greatly appreciated.

Thanks in Advance

Billy
josh
DevNet Master
Posts: 4872
Joined: Wed Feb 11, 2004 3:23 pm
Location: Palm beach, Florida

Re: NEWBIE QUESTION

Post by josh »

Did you read the key landmarks in the PHP manual @ php.net?
User avatar
JAB Creations
DevNet Resident
Posts: 2341
Joined: Thu Jan 13, 2005 6:44 pm
Location: Sarasota Florida
Contact:

Re: NEWBIE QUESTION

Post by JAB Creations »

Hi Billy,

Some of us here may have varying amounts of ASP experience (Bring out yer dead!) so I would advise revising the thread's title so that it asks what the equivalent PHP code is to what you already have working in ASP. Other wise your vague thread title won't get many views when it grows old and goes archive. Plus...if the thread is appropriately named someone is much more likely to say, 'Oh hey that's super easy!' and answer your thread a whole lot quicker than you may have expected.
Post Reply