| | |
create a php link by creating by making directory in unix
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
•
•
I want to know the solution for creating a link in php page by making a directory in unix.?if somebody knows the answer kindly reply.
Thank you
Please advise and you'll get an answer.
•
•
Join Date: Feb 2007
Posts: 4
Reputation:
Solved Threads: 0
•
•
•
•
I want to know the solution for creating a link in php page by making a directory in unix.?if somebody knows the answer kindly reply.
Thank you
exec which can execute OS command line from within PHP. In either case, look at PHP's website for more info. PHP Syntax (Toggle Plain Text)
$temp_path = "some_path/".$name_of_directory."/"; if(!file_exists($temp_path)) { mkdir($temp_path, 0777); echo "<a href=\"".$temp_path."\" target=\"_self\">Link Text</a>"; }
Last edited by hradek; Feb 13th, 2007 at 8:32 pm. Reason: Typo
![]() |
Similar Threads
- Link Exchange with Online Directory (Relevant Link Exchanges)
- How To Create A Free Web Host (PHP)
- Disabling PHP Safe Mode for a specific directory (PHP)
- PHP Link Exchange (Existing Scripts)
- Open In New Window Php (PHP)
Other Threads in the PHP Forum
- Previous Thread: Hi! Some noob silly questions
- Next Thread: Redirection
| Thread Tools | Search this Thread |
apache api array basic beginner binary broken cache cakephp checkbox class cms code computing confirm cron curl customizableitems database date delete display dynamic echo email error external file files filter folder form forms forum function functions gc_maxlifetime google headmethod host howtowriteathesis href htaccess html iframe image include insert ip javascript joomla limit link login mail malfunction memmory memory menu mlm multiple mysql navigation oop parsing paypal pdf php phpmysql problem query question radio random recursion remote script search select server sessions sms snippet source space sql syntax system table thesishelp trouble tutorial update upload url validator variable video web youtube





