[PHP] String validation
How can I check a string variable is based on alphabetical and numerical characters? For ex, I want to make a whois script for domainnames. You may only use alphabetical, numerical characters and dashes ("-") Thanks Emek -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Re: session
I had the same problem... You can transfer it by the URL and again register the session variables there... Or you can use CURL functions for this... Please check the manual... Emek TUZUN "Jordan" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > is there anyway to drag session variables to another server or are they > server specific? If you can't drag a session can you do an include for a > page on a different server giving it's URL? Just curious. > > -Jordan > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] : IIS server doesn't recognize PHP pages
So, the problem is config problem... Maybe you can try to change extension from .php to .php3 or .php4 etc. Then please inform us again... Emek "Mweb" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]... > On Tuesday 04 December 2001 12:04, Emek TUZUN wrote: > > Hello, > > > > Unfortunately, your ISP doesn't support PHP. They should install PHP Win32 > > but I think they don't want to install PHP for only your customer's > > site > > Emek, > > I have a message in my mailbox from the sysadmin (CC'd to the customer) > saying that they *DO* support PHP (otherwise I would not have accepted the > job..) > > I am almost sure that the problem is simply that the guy is very expert with > NT/IIS/ASP/VBScript, and at a basic level on other topics, included this one. > So, it must be a config issue, but which one? What should I tell him? > > Unless, of course, there is something really screwed in my code, (but for > Heaven's sake, I just put a phpinfo() statement, in there) or in the way I > uploaded it, its permissions, whatever. > > Any suggestion is HIGLY appreciated!! > > mweb -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Re: URGENT: IIS server doesn't recognize PHP pages
Hello, Unfortunately, your ISP doesn't support PHP. They should install PHP Win32 but I think they don't want to install PHP for only your customer's site You should change your ISP to another ISP whic supports PHP Or, the other way is changing your codes from PHP to ASP... But the first way is more easy... Good Luck Emek mikropro.net (coming soon hosting provider with PHP, MySQL support) "Mweb" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]... > Hello, > > I am working for a customer whose ISP uses WinNT/IIS. To test the server > environment available I have just uploaded the classic test php page with > only phpinfo() inside. > > When I point to that URL (http://mycustomerdomain.com/test.php), netscape > just opens the "Save as (type application/octet stream)" window. > > This means that the *server* is not set up to fire up the PHP interpreter on > files ending with .php, right? > What could the reason be? Is it possible that the fault is in the file, for > example the CR/LF mess when moving files from Linux to Win**. > If it *is* a server problem, what should I suggest to the ISP sysadmin > (which is responsive, but knows almost exclusively IIS/ASP/VBScript)? > > Please help: the customer is starting to scream, and it is really embarassing > to be stuck like this when I have a bunch of pages perfectly workiing under > Linux just waiting inside my PC. > > > TIA, > mweb -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]