FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » scandir problem
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
scandir problem [message #185702] Sat, 03 May 2014 15:43 Go to previous message
Mr Oldies is currently offline  Mr Oldies
Messages: 241
Registered: October 2013
Karma:
Senior Member
http://www.php.net/manual/en/function.scandir.php

Using their method, what is the proper way to insert a variable within the
url?

e.g.
http://www.something.com/dir/$variable

Is the ending / needed?
this does not work.
$dir="http://www.something.com/dir/$variable"
$dir="http://www.something.com/dir/".$variable
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Storing strings and numbers properly in CSV files
Next Topic: count() problem
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Nov 22 11:07:25 GMT 2024

Total time taken to generate the page: 0.05173 seconds