[PHP-WIN] error mysql_num_rows()

2003-10-21 Thread sdogos elias
Hi, i made i search script and in localhost it works ok. But when i 'll publish the script in the web i see that error msg Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/expressfilm.gr/www/demo/results.php on line 51 Here is the code of the scripot i

[PHP-WIN] Stupid problem: cannot send variables!

2002-09-07 Thread Elias Lovén Larsson
I am experiencing major problems with sending variables from forms to PHP scripts. Newbie error perhaps, but I have never ever witnessed anything like this before with PHP! I am running Apache 1.3.23 with PHP 4.2.3 (SAPI) on Windows XP. The URL and the code: http://corner.no-ip.com/me/profile

[PHP-WIN] Re: php pages appear only on server machine, not in others computers with IIS

2002-08-27 Thread Elias Santiago
I assume you are using the CGI version of PHP (php.exe). Check that php.exe has permissions to allow the IUSR_SRVR user permission to Read/Execute php.exe. If not you will get the famous CGI error. Also check that in the app mappings you have the proper mapping of .php to php.exe. Also, remember

[PHP-WIN] Re: Strange error with FastTemplate and IIS 5

2002-03-25 Thread Elias Santiago
Hi: I designed a website using FastTemplate 1.1.0. I used Apache for Windows 1.3.14 and PHP version 4.0.6 for development in a test-server. Everything went fine, and I am sure that all template variables were defined. Now, when I uploaded the finished site to the IIS 5.0 server running the S

[PHP-WIN] Strange error with FastTemplate and IIS 5

2002-03-15 Thread Elias Santiago
Hi: I designed a website using FastTemplate 1.1.0. I used Apache for Windows 1.3.14 and PHP version 4.0.6 for development in a test-server. Everything went fine, and I am sure that all template variables were defined. Now, when I uploaded the finished site to the IIS 5.0 server running the S

Re: [PHP-WIN] Re: please send your reply messages to PHP forum

2001-09-24 Thread Elias Santiago
; > Your post to the group will bounce if you have posted with either the 'From' > or 'Reply-To' fields containing a different address to that under which you > subscribed. > > Tony > > -Original Message- > From: Elias Santiago [mailto:[EMAIL PROTECT

[PHP-WIN] Re: please send your reply messages to PHP forum

2001-09-24 Thread Elias Santiago
Many times I have replied both to the news group and to the user who posted the last message, and the news group message sometimes gets bounced back. I read another message about others users also having this problem. "Burak Delice" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EM

[PHP-WIN] Re: Applying the memory-limit patch

2001-09-24 Thread Elias Santiago
php?download_file=php-4.0.6-memlimit.diff.gz&; > source_site=download.php.net > > -- > Gaylen > [EMAIL PROTECTED] > http://www.gaylenandmargie.com > PHP KISGB v1.2 Guestbook http://www.gaylenandmargie.com/publicscripts > > "Elias Santiago" <[EMAIL PROTECTED]> wrote

[PHP-WIN] Re: Applying the memory-limit patch

2001-09-20 Thread Elias Santiago
Sorry, what memory limit? "Gaylen Fraley" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I've looked for instructions on this but have been unable to find them. How > do you apply the memory-limit patch for 4.0.6 on Windows? > > -- > Gaylen > [EMAIL PROTECTED

Re: [PHP-WIN] IIS admin dlls?

2001-09-20 Thread Elias Santiago
Do you still have that PHP3 file? Maybe it could help in what I'm trying to accomplish... "Frank M. Kromann" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, > > I have a documentation item on my todo list. I have no plans to extend the module with functi

Re: [PHP-WIN] Installation problem- Need help!

2001-09-19 Thread Elias Santiago
>From what Sridhar mentions, he already did uncomment the 'extension=php_*.dll' lines... Have you checked that the userid the webserver uses while running has access to the d:\php\extensions dir and files? This has bumped me in the face many times... "Alain Samoun" <[EMAIL PROTECTED]> wrote in

[PHP-WIN] IIS admin dlls?

2001-09-19 Thread Elias Santiago
Has anyone worked with the IIS func module? I'm interested to know if there is any progress with this module, I would like to manage IIS/NT users thru PHP and was hoping that this module could help me in this area. I notice that the php_iisfunc.dll is still included in the extentions directory.

Re: [PHP-WIN] The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:

2001-08-18 Thread Elias Santiago
e path of the php.exe or PHP isapi dll. You should also see that the file exists on the specified URL. If not (or mispelled) IIS will respond with that message. Elias Santiago -- PHP Windows 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-WIN] Re: [PHP] Re: [PHP-WIN] Installation failed ! Please Help!

2001-08-17 Thread Elias Santiago
ction quality) to use it on my sites. "Phil Driscoll" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On Thursday 16 August 2001 7:35 pm, Elias Santiago wrote: > > I believe that IIS passes the script name to php.exe with the first

[PHP-WIN] Re: [PHP] Re: [PHP-WIN] Installation failed ! Please Help!

2001-08-16 Thread Elias Santiago
Found MS explanation! (at least the only place I've found the reason WHY %s %s must be used) http://support.microsoft.com/support/kb/articles/Q276/4/94.ASP I know, this is a KB article for Python, but look closely at the line that says: "(The two "%s" after the executable are required for conso

[PHP-WIN] Re: [PHP] Re: [PHP-WIN] Installation failed ! Please Help!

2001-08-16 Thread Elias Santiago
I've had PHP 3 to 4.01 and now 4.06 running under NT4 SP6a and now with W2K & IIS 5. From my experience, the %s %s is a requirement of IIS (not PHP). This according to Microsoft rules (apparently %s %s is CASE SENSITIVE): http://support.microsoft.com/support/kb/articles/Q245/2/25.ASP The %s %s h

[PHP-WIN] Re: problem with ereg_replace

2001-08-15 Thread Elias Santiago
Sorry, on the previous post $fnd = "a href=\"[^http)(mailto)#]"; should be: $fnd = "a href=\"[^(http)(mailto)#]"; -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators

[PHP-WIN] problem with ereg_replace

2001-08-15 Thread Elias Santiago
I'm trying to replace all relative links in a string like: str$="" to str$="http://myhost.com/jan_may2000/files.html";>" I don't want to change any links that begining with http or mailto links. my code is: $str_old has the complete html body of the page (all content between tags), so none

[PHP-WIN] where can i get Flash support for PHP-Win?

2001-08-10 Thread elias
Hello. Where can i get the PHP/SWF (Shockwave Flash Files) extension? -- PHP Windows 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-WIN] Re: can anyone explain this code segment?

2001-08-07 Thread elias
I agree with you. I think the first statment alone is enough. "Hugh Bothwell" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Apologies for posting to php.windows with a > non-windows-specific question, but I haven't > been receiving php.general for several we

[PHP-WIN] Re: I need some help or a .45 magnum

2001-08-07 Thread elias
Are you sure you didn't forgot the uncomment this line in PHP.INI ? : [mail function] ; For Win32 only. SMTP = mailserver.com ; specify here your SMTP server "Rodney" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello, > > I'm new to php. I'm having trouble

[PHP-WIN] Re: extracting value from array

2001-07-31 Thread elias
nice one! "Hugh Bothwell" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > <[EMAIL PROTECTED]> wrote in message > > 011401c11958$26d38f60$[EMAIL PROTECTED]">news:011401c11958$26d38f60$[EMAIL PROTECTED]... > > > let's say there is an array with 10 elements. > >

[PHP-WIN] Re: DB Date check !!

2001-07-31 Thread elias
SELECT * FROM table1 WHERE YEAR(datefield1) = 1999 check datetime functions @ http://www.mysql.com/documentation "Andrew.Martin" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, > > I want to check the date of numerous records in many DB tables, I have trie

Re: [PHP-WIN] Having PHP inside of ASP using the #include VIRUTAL= directive??

2001-07-30 Thread elias
lated it to: echo the result returned by http://server.com/file.cgi (which is usualy an HTML output) but you can also use the $fp = fopen(http://server.com/file.cgi); $content = fread($fp, 1000); fclose($fp); now you can manipulate $content as you want. //elias "Randy Wilcox" <

[PHP-WIN] Re: Having PHP inside of ASP using the #include VIRUTAL= directive??

2001-07-30 Thread elias
I don't think you can get the file processed twice by the server. It's either PHP or ASP. "Kevin Costain" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello, > > I was wondering if anyone had done this before, i would like to add a > counter to a page that i

[PHP-WIN] Re: timer function ?

2001-07-24 Thread elias
void sleep (int seconds) The sleep function delays program execution for the given number of seconds. //elias "Pim Van Yperen" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > hello all, > > I'm looking for a timer-

[PHP-WIN] Re: PHP and IIS and Win2k and Access Violation problems...

2001-07-19 Thread elias
there specifics rights ot memory setup to adjust ? > > Thanx to help us ! > > Laurent > > > "Elias" <[EMAIL PROTECTED]> a écrit dans le message news: > [EMAIL PROTECTED] > > Hi! > > > > I've recently setup PHP on my Win2000 with IIS

[PHP-WIN] Re: Password Protection

2001-07-19 Thread elias
try like that: wrote in message 002701c10ff5$bb273e80$[EMAIL PROTECTED]">news:002701c10ff5$bb273e80$[EMAIL PROTECTED]... I am trying to get a content management system up and running on my site. I want to have the thing password protected, and this was how I was going about it, passing on name an

[PHP-WIN] Re: Send array from php to dll make in vb 6

2001-07-19 Thread elias
how can you call a dll from PHP/win ? "Luiz Fernando )" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I make a dll in Vb6 and it have a funcition that have a variable of type > VARIANT like parameter. > In the program php I call this dll and your method and se

[PHP-WIN] Re: how to update the cookie?

2001-07-19 Thread elias
I hate cookies, but i guess you have to: 1) Kill it then reload the page 2) Create it and set a value then reload the page "Science" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi all, > Does anybody know how to update the value in the cookie? > Thanks

[PHP-WIN] Re: Lotus notes

2001-07-19 Thread elias
How do you mean PHP scripts under lotus? what's *lotus*? "Slide" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Is anyone tried to make php scripts under lotus ?? > Is anyone know if it's compatible ? > > Thank' in advance > S.L > > -- PHP Windows Mailing L

[PHP-WIN] Re: Access Violation on WinNT4

2001-07-18 Thread elias
Try using PHP as CGI instead of ISAPI...that if you're not already using ISAPI "Jorge B. Ribarr" <[EMAIL PROTECTED]> wrote in message 003101c10f3b$1ecca620$0101a8c0@rose">news:003101c10f3b$1ecca620$0101a8c0@rose... Hi, When a user stop a process, with the stop button or click in another link. Ph

[PHP-WIN] Re: mySQL GUI for windows

2001-07-17 Thread elias
http://www.anse.de/mysqlfront/ one of the best! "George Pitcher" <[EMAIL PROTECTED]> wrote in message 006d01c10eac$dc4b2300$[EMAIL PROTECTED]">news:006d01c10eac$dc4b2300$[EMAIL PROTECTED]... > Hi all, > > My first posting to php-anything. > > I have php, apache and mySQL set up on my NT box. Do

[PHP-WIN] Re: I cant install php on my computer

2001-07-17 Thread elias
hmmm...why didn't you find that .dll ? at least get the installer from www.php.net (it's about 800kb) "Administrador" <[EMAIL PROTECTED]> wrote in message 004901c10dfd$971669c0$[EMAIL PROTECTED]">news:004901c10dfd$971669c0$[EMAIL PROTECTED]... > hi. > I'm trying to run php v.4.0.6 on w2k adv. ser

[PHP-WIN] Re: I have a function wrote by myself, try it.

2001-07-17 Thread elias
doesn't it somehow look like array_splice() / PHP ? "Tttk" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello, > Today I wasted some time just for the same question met in javascript. I > don't think there are an existed function to solve it, so I write one

Re: [PHP-WIN] Make a CD with Apache & PHP

2001-07-13 Thread elias
how you mean make an exec? php to exe? or htm to exe ? "Alain Samoun" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Yes, you can make an exec file, you won't need Apache. If that what you > want? > Alain > > On Fri, Jul 13, 2001 at 08:33:25AM +0200, Rafa Bor

[PHP-WIN] Re: dll separately

2001-07-13 Thread elias
http://www.php4win.de had what you want. but it's down at the moment. "As" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > is there any site from where i can download dll > separately... > which are available from php.net in big zip form > > -- PHP Windows

[PHP-WIN] Re: No extensions work!

2001-07-13 Thread elias
Dunno, Maybe because there are php extensions versions conflict? I mean When I installed 4.0.6 I had to get GD for that specific version... "G Schneider" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, > > could *someone* please try to help me? > > I've be

[PHP-WIN] Re: Uptime script

2001-07-13 Thread elias
why not: PRINT exec("cmd /c uptime"); instead of \\c ? "Dave Milford" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, > > I'm trying to create a little script to show the system uptime (and > hopefully system resource usage) on my Windows 2000 Professional

[PHP-WIN] Re: Using PHP in Web Pages

2001-07-12 Thread elias
you can always use PHP and the include(), like header.htm is: menu1menu2 and footer.htm is another file, in your main.php file you can do like:

[PHP-WIN] Re: Can't run PHP scripts outside DOC_ROOT ?

2001-07-11 Thread elias
Try to add a new virtual directory. Select your C:\Temp and go to File/Properties, go to Web Sharing, and click add, and name a virtual directory let's say: /temp you can now access as: http://localhost/test/yourscript.php Best Wishes, Elias, "Aerial" <[EMAIL PROTECTED]

[PHP-WIN] Re: Access Violation error. PLEASE HELP

2001-07-11 Thread elias
I had this problem...same one exactly! Install PHP as CGI instead of ISAPI. If you don't know how, go to php.net and search for PHP installation on IIS/PWS "Phpfan" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I have the following setup. > > PHP 4.04 running

[PHP-WIN] Re: PHP and IIS and Win2k and Access Violation problems...

2001-07-10 Thread elias
ll me how I can install it as ISAPI. Thanks. "Elias" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi! > > I've recently setup PHP on my Win2000 with IIS5, > > Sometimes PHP works and other time it doesn't...

[PHP-WIN] PHP and IIS and Win2k and Access Violation problems...

2001-07-10 Thread elias
Hi! I've recently setup PHP on my Win2000 with IIS5, Sometimes PHP works and other time it doesn't... When it doesn't it just prints out: PHP has encountered an Access Violation at 00EC24B6 Can't someone shed some lights please? -- PHP Windows Mailing List (http://www.php.net/) To unsubsc

Re: [PHP-WIN] Any good editor for PHP in Windows?

2001-05-19 Thread elias
www.editplus.com www.sapien.com (PrimalScript) -elias ""news.php.net"" <[EMAIL PROTECTED]> wrote in message 9e4jua$526$[EMAIL PROTECTED]">news:9e4jua$526$[EMAIL PROTECTED]... > Hello, > I wondering is they any good editor for PHP in windows, like Visu

[PHP-WIN] PHP for Win

2001-05-18 Thread elias
Any easy way to call Win32 API functions yet? -elias -- PHP Windows 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]