![]() |
script
hi want to use this script to randomize my galleries;
<?php $fileName = "./galleries.txt"; mt_srand( (double) microtime() * 1000000 ); $a = file($fileName); $randNum = mt_rand( 0, sizeof($a)-1 ); header( "Location: ". $a[$randNum] ); ?> can anyone tell me how the gallerie links should look so numbered and all,please an exeample:helpme |
nobody :(
|
|
i did that but that gives an error;
Warning: Cannot modify header information - headers already sent by (output started |
Quote:
|
i found it ,the place were the links should appear was misspelled,2 letters turned.
tnx for the help:thumbsup |
| All times are GMT -7. The time now is 05:48 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123