Re: [PHP] how to check http:// or https:// ?

2005-08-05 Thread Matt Blasinski
wrote: Hi, I need to check does URL use http or https? Right now I use this code: if(preg_match('/https:/', $_SERVER['SCRIPT_URI']) == false) { header('location: [URL]https://www.test.com/test.php[/URL]'); exit; } but I am sure there is much better solution. :)

Re: [PHP] Find largest integer filename

2005-07-06 Thread Matt Blasinski
uot;. Then just check incrementally from there. Whether or not that's going to be faster than just looping through them all I don't know... good luck! -philip -- Matt Blasinski (mbv) Information Systems Technology Services Professional Internet Infrastructure Applications Technolo

[PHP] Apache won't start after upgrading to 4.3.10

2005-01-05 Thread Matt Blasinski
nfiguration File (php.ini) Path => /usr/local/lib/php.ini PHP API => 20020918 PHP Extension => 20020429 Zend Extension => 20021010 Debug Build => no Thread Safety => disabled Registered PHP Streams => php, http, ftp, https, ftps If anyone has had a similar problem or has