Re: [PHP] weird foreach problem when calling date or getdate function,

2002-05-04 Thread Miguel Cruz
On Sun, 5 May 2002, Kyle Gibson wrote: >> Those numbers don't look like timestamps to me (as they can't be larger >> than about 4294967296). What they look like is the result of some imp or >> perhaps even a gremlin breaking into your code and smooshing together >> yearmonthdayhourminutesecond,

Re: [PHP] weird foreach problem when calling date or getdate function,

2002-05-04 Thread Kyle Gibson
> Those numbers don't look like timestamps to me (as they can't be larger > than about 4294967296). What they look like is the result of some imp or > perhaps even a gremlin breaking into your code and smooshing together > yearmonthdayhourminutesecond, then trying to PRETEND it's a timestamp. >

Re: [PHP] Defining PHP varibles from URL

2002-05-04 Thread Miguel Cruz
On Sun, 5 May 2002 [EMAIL PROTECTED] wrote: > I can't seem to define a varible from the url entered into a browser. > > I wish to use the following code or something like it. > > > $file = ""; > //the above is defined from the url > include "$file"; > > > It could be what I was typing in the

[PHP] Defining PHP varibles from URL

2002-05-04 Thread webmaster
I can't seem to define a varible from the url entered into a browser.   I wish to use the following code or something like it. ="php">

$file = "";
//the above is defined from the url

inc


Re: [PHP] Tailing Files

On Sat, 4 May 2002, Liam MacKenzie wrote: > just a simple question, how would I go about displaying the last 100 lines > of a log file? > I know that on the command line it's: > tail -n 100 access_log > > Is there a PHP function to do this? Not that I know of, but the process is pretty simple. S

Re: [PHP] PHP compared to JSP

On Sat, 4 May 2002, Pag wrote: >> Does PHP compile : NO >> Does the user loading same page for 2nd time gets better response : YES >> it can if caching is provided > > On a side not..isnt caching a bit like going against why PHP was built > in the first place? I mean, information may get a bit o

Re: [PHP] weird foreach problem when calling date or getdate function,variable does not change

On Sat, 4 May 2002, Zachary Buckholz wrote: > $time = getdate($array[0]); > print "$time[hours]:$time[minutes]:$time[seconds] = $chk_status = $resp_sec > > 20020504160503 <-- Notice how this date/time value is updated > properly each loop > 20:14:7 = 200 = 2 <-- Not

Re: [PHP] Is --enable-track-vars still needed?

On Sat, 4 May 2002, David Jackson wrote: > Is I still recommended that config be run with the --enable-track-vars flag? > Or has this been deprieciated? Recently? Does the chagnes to global vars > come in to play here? I believe that has had no effect (i.e., they were always enabled) for a whil

Re: [PHP] RE: SSH

On Sun, 5 May 2002, Insomniac Admin wrote: > You could use "popen" to open a ssh process and wait to be asked for the > password etc... Remember to check the RSA key pattern. My experience, at least with recent SSH versions, is that they try very hard to verify stdin is an actual pty before acce

Re: [PHP] Tailing a log file {!?}

Hi You need exec("tail -n 100 access_log",$result); $result will be an array with the output of the command. see http://www.php.net/manual/en/ref.exec.php for more info Tom At 01:51 PM 4/05/2002, Liam MacKenzie wrote: >Hi guys, > >just a simple question, how would I go about displaying the last

Re: [PHP] HTML to mysql - from msql to html

On Sat, 4 May 2002, Mantas Kriauciunas wrote: > I have hare a little problem. Well i have in the page > thingy and there i wrote text like that(between lines): > > -- > foo bar > > more foo bar > -- > > now i do msql_query("UPDATE.");

php-general Digest 5 May 2002 06:16:17 -0000 Issue 1326

php-general Digest 5 May 2002 06:16:17 - Issue 1326 Topics (messages 96072 through 96112): Re: Sessions 96072 by: Alex Francis 96080 by: John Holmes Re: How to save records from MySQL in separate files? 96073 by: John Holmes Re: Javascript function 96074 by

[PHP] Tailing Files

Hi guys, just a simple question, how would I go about displaying the last 100 lines of a log file? I know that on the command line it's: tail -n 100 access_log Is there a PHP function to do this? Cheers, Liam -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://

[PHP] Tailing a log file {!?}

Hi guys, just a simple question, how would I go about displaying the last 100 lines of a log file? I know that on the command line it's: tail -n 100 access_log Is there a PHP function to do this? Cheers, Liam -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://w

[PHP] weird foreach problem when calling date or getdate function, variable does not change

The following block of code loops over an array but when I call the PHP function date or getdate the variable used in this function is always the first one used in the array. What am I doing wrong? The sample output is below. foreach ($results_array as $array) { //$time = date("H:

RE: [PHP] help !!!

Try www.php.net. Oh, no that's for php. I might know if this was a Delphi list. Hrm... Matt Friedman Web Applications Developer -Original Message- From: Yoel Benitez Fonseca [mailto:[EMAIL PROTECTED]] Sent: Saturday May 4, 2002 10:23 PM To: [EMAIL PROTECTED] Subject: [PHP] help !!!

Re: [PHP] Is this valid: IF:.. ELSE: ENDIF:

On Sunday 05 May 2002 04:20, Miguel Cruz wrote: > On Sat, 4 May 2002, David Jackson wrote: > > Greeting --- > > I was handed a broken form that contain: > > > > IF (cond): > > > > . > > > > ELSEIF: > > > > .. > > ENDIF: > > > > > > My Questions are: > > 1. Is this type of "IF:" code bl

RE: [PHP] HTML to mysql - from msql to html

www.php.net/nl2br ---John Holmes... > -Original Message- > From: Mantas Kriauciunas [mailto:[EMAIL PROTECTED]] > Sent: Saturday, May 04, 2002 11:27 PM > To: PHP General List > Subject: [PHP] HTML to mysql - from msql to html > > Hey PHP General List, > > I have hare a little problem.

[PHP] Re: HTML to mysql - from msql to html

You entered data into a text area field that was entered into a mysql row. Then you tried to print it out. Try this: $content = str_replace("\n","",$row["row_name"]); echo $content; -Kyle -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] HTML to mysql - from msql to html

Hey PHP General List, I have hare a little problem. Well i have in the page thingy and there i wrote text like that(between lines): -- foo bar more foo bar -- now i do msql_query("UPDATE."); and it sets into the database with just sp

[PHP] Re: $HTTP_SERVER_VARS

My firewall prevented me from seeing the variable in action. Ignore this. -Kyle -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Is --enable-track-vars still needed?

Is I still recommended that config be run with the --enable-track-vars flag? Or has this been deprieciated? Recently? Does the chagnes to global vars come in to play here? TIA, David Jackson -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: SSH

Thanks, I'll try what you suggested. -Kyle -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] $HTTP_SERVER_VARS

Whoops. It wont show unless you come from somewhere else... Go here and click the link: http://www.plaguenet.com/wreferer.php Thanks, Kyle Gibson -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: » PHP Installation Problems «

Vins -- Let me see if I can return the favor. Here's what the seem to work for me with PHP4.2.0: form.php // Depending on wheather your using POST or GET $var_name1 = $_POST['form_var_name']' // or $var_name2= $_GET['form_var_name']' echo $var_name1; echo $var_name2; Also I be

Re: [PHP] $HTTP_SERVER_VARS

> Have you tried looking at a phpinfo() page and seeing what variables are > available? > > Make a page with just the following line in it and load it up through > your web server. > > Yes. That is how I know of WREFERER. Do you know what it is? If you want, you can look at my phpinfo page h

RE: [PHP] global variables

This is simpler than cookies?? Anyway, that's how you have to do it. Fopen(), fwrite(), fclose()...not any way simpler that I know of. ---John Holmes... > -Original Message- > From: Jule [mailto:[EMAIL PROTECTED]] > Sent: Saturday, May 04, 2002 6:23 PM > To: [EMAIL PROTECTED] > Subject:

RE: [PHP] $HTTP_SERVER_VARS

Have you tried looking at a phpinfo() page and seeing what variables are available? Make a page with just the following line in it and load it up through your web server. ---John Holmes... > -Original Message- > From: Kyle Gibson [mailto:[EMAIL PROTECTED]] > Sent: Saturday, May 04, 20

[PHP] help !!!

H! Excuse me, but I need help. Somebody can give me a link from where I can download the version 1.0 of the Delphi. Thank you in advance. Mark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] global variables

Hey, i'm just wondering if there is another way to write global variables to a global.php, now i just the whole fopen etc script, where i open a file and write the sctring $number_right = [whatever number it is] to the file, but is there a different way to write it to the file with one simple c

[PHP] RE: SSH

Hi, > man ssh Do that, you'll see there is a -c command, and also read up on using RSA key authentication, so that the password doesn't have to be entered for that host. BE WARNED - if you use RSA key auth, then any process under the login account you specify it for (it will probably have to be

[PHP] Re: Javascript function

"Morten Nielsen" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi > Is it possible to call a function in a javascriptpage from a PHP page? > I have a function, which I use when the user press a button. I would like to > call this function just by typing the n

[PHP] SSH

I am curious as to how I would go about executing SSH command line operations through PHP. Say for instance the command "ftpwho", which would return a list of users connected to a FTP server, along with what they are doing, etc. I've tried to open a socket to my SSH server, along with the func

[PHP] $HTTP_SERVER_VARS

Heya folks, I've got a little problem here, maybe you can help me out. $HTTP_SERVER_VARS["HTTP_REFERER"] is supposed to point to the referring webpage, if it exists. As is $_SERVER["HTTP_REFERER"] and $HTTP_REFERER itself. However, it seems that I do not have this variable available on my se

[PHP] Re: php beginner

echo "My Name is " . $_GET['myName'] . "\n"; Specify where myName is from! It's coming from GET method, in other (simplistic) words, from the url. -- Julio Nobrega. Tô chegando: http://www.inerciasensorial.com.br "Paras Mukadam" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EM

[PHP] php beginner

I'm using this simple command in my PHP script : echo "My Name is " . $myName . "\n"; I'm invoking the php page by the command http://localhost/testing/test.php?myName=Paras I'm getting eoor : Notice: Undefined variable: myName in c:\apache\htdocs\testing\test.php on line 12 My Name is Please

Re: [PHP] PHP compared to JSP

Ilia A. wrote: > Caching is not going against PHP as long as whenever the file is changed of > the 1st access it would be cached, rather then caching php scripts based on > some arbitrary timer. > > Ideally the caching script would on the 1st access of the script convert the > script to binary

RE: [PHP] Is this valid: IF:.. ELSE: ENDIF:

Alternative methods are listed here: http://www.php.net/manual/en/control-structures.alternative-syntax.php ---John Holmes... > -Original Message- > From: David Jackson [mailto:[EMAIL PROTECTED]] > Sent: Saturday, May 04, 2002 1:28 PM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL P

Re: [PHP] Message isn't received in form mailer

Jason -- This ain't pretty (and probly not even correct) but it works: David -- Mail Call PHP hello mail $From";print "\n"; echo $Two;print "\n"; echo $Subject;print"\n"; echo $Comments;print "\n"; ?> - Jason Won

Re: [PHP] Is this valid: IF:.. ELSE: ENDIF:

Miguel -- Thanks for you reply, the if (ops) else is the only one could find listed in the docs. and you right that's the why "normal people do it", but this devoloper used to be a COBAL programer which explain it. Thanks again, David > On Sat, 4 May 2002, David Jackson wrote: >> Greeting -

RE: [PHP] PHP 4.2.0 and the GET method URLs

Have you tried using $_GET["name"] to get the value? ---John Holmes... > -Original Message- > From: Dylan Fitzgerald [mailto:[EMAIL PROTECTED]] > Sent: Saturday, May 04, 2002 9:53 AM > To: [EMAIL PROTECTED] > Subject: [PHP] PHP 4.2.0 and the GET method URLs > > > Hello- > >I recen

Re: [PHP] Is this valid: IF:.. ELSE: ENDIF:

On Sat, 4 May 2002, David Jackson wrote: > Greeting --- > I was handed a broken form that contain: > > IF (cond): > > . > > ELSEIF: > > .. > ENDIF: > > > My Questions are: > 1. Is this type of "IF:" code block valid in PHP4.x.x? I think it is, but I've never heard of anyone usin

RE: [PHP] Message isn't received in form mailer

> $Mensagem = $coments; Where is $coments coming from? Why do you assign a variable to a variable, without changing anything? ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Sessions

Yes, modify your php.ini file to tell PHP where to write the session to. It's trying to write it to /tmp, which is either not a valid file, or PHP doesn't have permissions to write a file there. ---John Holmes... > -Original Message- > From: Alex Francis [mailto:[EMAIL PROTECTED]] > Sent

Re: [PHP] php_network_getaddresses

> > $ ping nancies.org > > PING nancies.org (207.8.144.57): 56 data bytes > > 64 bytes from 207.8.144.57: icmp_seq=0 ttl=64 time=0.047 ms > > 64 bytes from 207.8.144.57: icmp_seq=1 ttl=64 time=0.043 ms > > 64 bytes from 207.8.144.57: icmp_seq=2 ttl=64 time=0.036 ms > > 64 bytes from 207.8.144.57:

Re: [PHP] php_network_getaddresses

On Sat, 4 May 2002, Julian wrote: >> Try just pinging www.nancies.org from the command line. > $ ping nancies.org > PING nancies.org (207.8.144.57): 56 data bytes > 64 bytes from 207.8.144.57: icmp_seq=0 ttl=64 time=0.047 ms > 64 bytes from 207.8.144.57: icmp_seq=1 ttl=64 time=0.043 ms > 64 bytes

Re: [PHP] PHP compared to JSP

Caching is not going against PHP as long as whenever the file is changed of the 1st access it would be cached, rather then caching php scripts based on some arbitrary timer. Ideally the caching script would on the 1st access of the script convert the script to binary code which can then be exe

Re: [PHP] getting pages with FILE

On Sat, 4 May 2002 [EMAIL PROTECTED] wrote: >> It identifies itself along these lines: >> >>HTTP-User-Agent: PHP/4.1.2 > > thank you. now is there a way to modify the above identification, > say something like "HTTP-User-Agent: Netscape 4 (Mozilla etc..." I haven't really checked, but I su

Re: [PHP] Variable scope

On Thu, 14 Mar 2002, George Nicolae wrote: >> > > > function a($var_a) >> > { >> > b(); >> > } >> > >> > function b() >> > { >> > global $var_a; >> > echo $var_a; >> > } >> > >> > a("hello word!"); >> > ?> >> > >> > why function b() don't echo anything? >> >> Because $var_a has not, at any point,

RE: [PHP] Javascript function

No. PHP is server side, Javascript is client side and their code does not mix. ---John Holmes... > -Original Message- > From: Morten Nielsen [mailto:[EMAIL PROTECTED]] > Sent: Saturday, May 04, 2002 2:42 AM > To: [EMAIL PROTECTED] > Subject: [PHP] Javascript function > > Hi > Is it pos

RE: [PHP] How to save records from MySQL in separate files?

Get your data, and write it to a file with fopen()/fwrite() ---John Holmes... > -Original Message- > From: Yura [mailto:[EMAIL PROTECTED]] > Sent: Saturday, May 04, 2002 2:40 AM > To: [EMAIL PROTECTED] > Subject: [PHP] How to save records from MySQL in separate files? > > I need all the

Re: [PHP] Sessions

You'r right of course, the directory didn't exist. Working alright now. -- Alex Francis Cameron Design 35, Drumillan Hill Greenock PA16 0XD Tel 01475 798106 [EMAIL PROTECTED] http://www.camerondesign.co.uk This message is sent in confidence for the addressee only. It may contain legally privile

php-general Digest 4 May 2002 17:42:38 -0000 Issue 1325

php-general Digest 4 May 2002 17:42:38 - Issue 1325 Topics (messages 96019 through 96071): Re: Postnuke Anyone ? 96019 by: Ricardo Fitzgerald 96061 by: Kirk Babb Displaying contents of MySQL Table {!?} 96020 by: Liam MacKenzie 96021 by: Jason Wong Re: Secur

Re: [PHP] Sessions

On 4 May 2002 at 18:22, Alex Francis wrote: > Warning: open(/tmp\sess_51d4849918d3ffe4d2cc70013d678f6b, O_RDWR) > failed: No such file or directory (2) Does the directory it's trying to write to exist? Seeing as you've posted this question, I'll assume that you don't understand the error messag

Re: [PHP] questions about a self-made mini chat

Thanks for the reply. Oh, i just tried Opera 5.x and it messed up my whole script... lol, actually, for no reason it added about 10 login entries to the database, some matched the current one, others were from earlier logins with Opera. I think this might be related to the "cache", so i need to

Re: [PHP] Message isn't received in form mailer

On Sunday 05 May 2002 00:39, Rodrigo wrote: > Hi guys, I'm trying to send the contents of a form thru the php script > under this message, but I'm not receiving the message itself, I just > receive the message in blank. Just with the subject and the from. > Does anybody know what the problem is? >

Re: [PHP] Variable scope

On Friday 15 March 2002 00:34, George Nicolae wrote: > "Jason Wong" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED]... > > > On Thursday 14 March 2002 21:53, George Nicolae wrote: > > > I have the following code: > > > > > > > > function a($var_a) > > > { > > > b(); > > > } > > > >

[PHP] Sessions

Newbie question I have installed PHP 4.1.2 on a Windows 2000 for test purposes. I have never used sessions before and am having difficulty with them. I am using session_start(); and get the following error. Warning: open(/tmp\sess_51d4849918d3ffe4d2cc70013d678f6b, O_RDWR) failed: No such file

Re: [PHP] PHP compared to JSP

In PHP programming this can be a complex issue. An excellent example of caching or re-handling data is the Smarty Template Engine, http://www.phpinsider.com/php/code/Smarty/ . It may seem a rather redundant idea to cache and create scripts in PHP which is already part of the HTML documents, b

[PHP] PHP 4.2.0 and the GET method URLs

Hello- I recently installed PHP 4.2.0 and Apache2, and everything finally seems to be working nicely...except for GET method (which I believe it http://sitename/pagename.php?var=value&var=value&var=value; perhaps that's POST, sue me...). The variables simply aren't passed to the PHP script.

[PHP] Re: I-worm/Klez and a GIF query/question

Ok so is there a tutorial on how to write the code to generate the key and the image? Please point me to it. Thanks Jennifer "R" <[EMAIL PROTECTED]> wrote in message 007501c1f304$3c1607a0$0a6da8c0@lgwezec83s94bn">news:007501c1f304$3c1607a0$0a6da8c0@lgwezec83s94bn... > Hey all, > Whah, talk

[PHP] gettext

Hi all. Im trying to get gettext working. It is compiled in php 4.1.2 on a FreeBSD-4.5 p4 box. In the root of the webserver I have - - Directly under the root I have a directory structure as --

[PHP] Message isn't received in form mailer

Hi guys, I'm trying to send the contents of a form thru the php script under this message, but I'm not receiving the message itself, I just receive the message in blank. Just with the subject and the from. Does anybody know what the problem is? Thanks for the help, Rodrigo mailto:[EMAIL PR

[PHP] Re: Postnuke Anyone ?

Ricardo, I have noticed several things from just a quick look at your code: 1. If your not able to post any data/receive any variables from your form when the submit button is clicked, you could have register_globals set to Off. Here is a example form used for that situation: '> Pl

Re: [PHP] Variable scope

"Jason Wong" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]... > On Thursday 14 March 2002 21:53, George Nicolae wrote: > > I have the following code: > > > > > function a($var_a) > > { > > b(); > > } > > > > function b() > > { > > global $var_a; > > echo $var_a; > > } > > > > a("he

Re: [PHP] PHP compared to JSP

> >Does PHP compile : NO >Does the user loading same page for 2nd time gets better response : YES it >can if caching is provided On a side not..isnt caching a bit like going against why PHP was built in the first place? I mean, information may get a bit out of date if we get a page o

Re: [PHP] PHP compared to JSP

>But my question still remains the same ... does PHP alone (without ZEND) >compile code into some .compiled_PHP file so that the user loading same page >for 2nd time gets better response than the 1st time? No, it doesnt. Every time a user accesses a page that has PHP, the page will be

Re: [PHP] PHP compared to JSP

At 11:07 04/05/2002 -0500, Paras Mukadam wrote: >Thanks for that ! >But my question still remains the same ... does PHP alone (without ZEND) >compile code into some .compiled_PHP file so that the user loading same page >for 2nd time gets better response than the 1st time? Hello, Both have nothin

Re: [PHP] php_network_getaddresses

> >nancies is local, so I'm not suprised that the pings came back ok. We did >put up a firewall about a week ago that blocks pings from the outside >though. Since everything is local though, I'm not sure why we would have >this problem. I have this problem too, i mean, the same warnin

Re: [PHP] PHP compared to JSP

Thanks for that ! But my question still remains the same ... does PHP alone (without ZEND) compile code into some .compiled_PHP file so that the user loading same page for 2nd time gets better response than the 1st time? Regards, Paras. "Matt Friedman" <[EMAIL PROTECTED]> wrote in message 001401

Re: [PHP] php_network_getaddresses

> Try just pinging www.nancies.org from the command line. $ ping nancies.org PING nancies.org (207.8.144.57): 56 data bytes 64 bytes from 207.8.144.57: icmp_seq=0 ttl=64 time=0.047 ms 64 bytes from 207.8.144.57: icmp_seq=1 ttl=64 time=0.043 ms 64 bytes from 207.8.144.57: icmp_seq=2 ttl=64 time=0.0

RE: [PHP] Slow in retriveing webpage

Grab the file using a script that is run by Cron, assuming your are on a Linux type system. Grab it every 5 minutes or something. Store/cache it on your web server. Then when you need the file in your other script, grab it from the place where you've cached it. You're script can then get the conte

RE: [PHP] PHP compared to JSP

JSP does not ever run in the browser. JSP is a server side technology designed to compete with ASP. PHP is similar in that it too is a server side language and can be embedded into html pages. Java tends to be considerably slower than PHP but the Java folks have made great strides towards overcomi

[PHP] PHP compared to JSP

Sorry if this is repeated, but I didn't see my query in the news group so reposting it ! --- Dear all, How is PHP similar to / different than JSP ? I mean, in JSP the page is compiled the first time it runs on the web-browser, then the next time it finds the .cl

Re: [PHP] Re: I-worm/Klez and a GIF query/question

On Saturday 04 May 2002 22:18, Hugh Bothwell wrote: > "Jason Wong" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED]... > > > On Saturday 04 May 2002 04:58, Hugh Bothwell wrote: > > > NOTE that for someone sufficiently persistent, they could still > > > pattern-match the generated imag

[PHP] Slow in retriveing webpage

Hi! I want to grab a webpage and I use the file() function to grab it. The URL in the file() function works OK when I typed it in my address bar. The speed is OK. $fcontents = file ("http://www.website.com/cgi-bin/cgifunction/webpage.cgi";); However, when I use the above code and tried to run t

Re: [PHP] Variable scope

On Thursday 14 March 2002 21:53, George Nicolae wrote: > I have the following code: > > function a($var_a) > { > b(); > } > > function b() > { > global $var_a; > echo $var_a; > } > > a("hello word!"); > ?> > > why function b() don't echo anything? Because $var_a has not, at any point, been defi

[PHP] What about XSLT in PHP 4.2?

Some months ago I used Sablotron in PHP 4.0.6. What should I do now with PHP 4.2.0? There is no Sablotron. php_xslt.dll is placed into 'experimental' directory. Manual says: This extension is different than the sablotron extension distributed with versions of PHP prior to PHP 4.1, currently o

Re: [PHP] questions about a self-made mini chat

On Saturday 04 May 2002 21:23, Duncan wrote: > Hi there, > > i have some questions to solve some problems, i recently encountered with > my self made mini chat script. > > Ok, i use the meta-refresh in the main chat-messages frame to update the > frame every few seconds. In windows OS, you always

Re: [PHP] Re: I-worm/Klez and a GIF query/question

"Jason Wong" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]... > On Saturday 04 May 2002 04:58, Hugh Bothwell wrote: > > NOTE that for someone sufficiently persistent, they could still > > pattern-match the generated image to retrieve the number and > > auto-register that way. (I co

[PHP] Is this valid: IF:.. ELSE: ENDIF:

Greeting --- I was handed a broken form that contain: IF (cond): . ELSEIF: .. ENDIF: My Questions are: 1. Is this type of "IF:" code block valid in PHP4.x.x? 2. Shouldn't it be -- IF (cond): ELSE: or maybe IF (cond): ELSEIF (cond): ELSE: -- PHP General Mailing List (http://

[PHP] Variable scope

I have the following code: why function b() don't echo anything? can I resolve this problem without calling b($var_a)? Best regards, George Nicolae IT Manager ___ PaginiWeb.com - Professional Web Design www.PaginiWeb.com -- PHP General Mailing List (http://www.php.net/)

[PHP] Re: Apache-2.0.35 + 4.2.0RC4: not seeing index.php

Vins -- Thanks very much for your reply, I think your really close to the answer. Remember were talking about an ISP/hosting company (I actualy don't work for them) using "virtual hosting". Wouldn't a "DirectiveIndex" in the section of the httpd.conf override the system directive? > > I'm gues

[PHP] questions about a self-made mini chat

Hi there, i have some questions to solve some problems, i recently encountered with my self made mini chat script. Ok, i use the meta-refresh in the main chat-messages frame to update the frame every few seconds. In windows OS, you always get that "click" sounds whenever it refreshes the frame

Re: [PHP] Re: I-worm/Klez and a GIF query/question

"R" <[EMAIL PROTECTED]> wrote in message 001501c1f369$060a52a0$0a6da8c0@lgwezec83s94bn">news:001501c1f369$060a52a0$0a6da8c0@lgwezec83s94bn... > Hey, > Thanks for replying, > Do you by any chance have the code or functions that i can use to do this? > even to output on jpeg should be ok. > Cheers,

Re: [PHP] need help on ereg statement

On Sat, May 04, 2002 at 02:42:34PM +0200, Andy wrote: > if (ereg("^[A-Za-z0-9]",$new_passw)) if (!preg_match("/^[a-zA-Z0-9]*$/", $new_passw)) { echo "invalid"; } preg-power! :) -- Trond Arve Nordheim - "This message is ROT13-encrypted twice for extra security." -- PHP General Mailing Lis

[PHP] need help on ereg statement

Hi there, I am trying to validate a password. Only characters in the alphabet and numbers should be allowed. Somehow my statement does not work at all :-( if (ereg("^[A-Za-z0-9]",$new_passw)) echo 'invalid'; Can anybody help on that? Thanx in advance, Andy -- PHP General Mailing List

Re: [PHP] getting pages with FILE

On Saturday 04 May 2002 20:06, [EMAIL PROTECTED] wrote: > never heard of cURL ? is it a extension for PHP ? google > curl ? -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development

Re: [PHP] getting pages with FILE

On 3 May 02, at 12:16, Miguel Cruz wrote: > On Fri, 3 May 2002 [EMAIL PROTECTED] wrote: > > i'm using FILE to read a page via HTTP and construct an array of > > HTML lines. After that i modify the page and echo it out. > > this all works great. The web server delivers pages depending on > > brow

Re: [PHP] 2 Syntax Questions

On Saturday 04 May 2002 19:37, Miva Guy wrote: > I'm very new to PHP. I've scanned the manual for these two, but I can't > quite find the answers: Wouldn't it have been quicker to just try it for yourself? > 1. Is the following legal? > >Or is it necessary to do this? > VALUE=\"".$us

[PHP] 2 Syntax Questions

I'm very new to PHP. I've scanned the manual for these two, but I can't quite find the answers: 1. Is the following legal? Or is it necessary to do this? "); ?> 2. If I use the syntax to avoid echoing larger blocks of HTML, within those statements, is it legal to use the standard syn

RE: [PHP] Javascript function

> Is it possible to call a function in a javascriptpage from a PHP page? Javascriptpage? Do you mean using JavaScript to call a PHP function? NO, it is not. Because PHP is SERVER-SIDE and JavaScript is CLIENT-SIDE. You can do vice versa though. Sincerely, Maxim Maletsky Founder, Chief Deve

RE: [PHP] Frames

Yes, But this is a JavaScript problem. Please ask elsewhere or look at the Google. Also, take a look here: http://developer.irt.org/script/script.htm Sincerely, Maxim Maletsky Founder, Chief Developer www.PHPBeginner.com // where PHP Begins > -Original Message- > From: Morten Ni

[PHP] Frames

Hi, I got a page with 2 frames. In the first one I have an IMG. Is it possible to get the URL from the second frame? Regards, Morten -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Pear on Windows

In article <000201c1f355$a7baee20$a8f103c4@luke>, [EMAIL PROTECTED] says... > Hi > > Can someone please refer me to some information on how to install Pear on > windows. The manual seems to cover unix only. > > Thanks > Luke > > Strong odds are that you already have it on your system. Look in

[PHP] Pear on Windows

Hi Can someone please refer me to some information on how to install Pear on windows. The manual seems to cover unix only. Thanks Luke -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Apache-2.0.35 + 4.2.0RC4: not seeing index.php

I'm guessing that you've set the default directory index in the conf file for apache2 as follows. Directory Index index.html index.php ??? If I'm right, then change that to Directory Index index.html Directory Index inde.php Every new index add a new directive on a new line. Works for me. Che

[PHP] Php Sessions

Hi I have a problem. I can't send the session_id to the next page. It worked before (when I had an old version of php, now I have 4.2.0). It can send the session_id() if it's a link, but not a header(). If it is a header I have to do this: define('MYSID', session_name().'='.session_id()); header

[PHP] Re: How to save records from MySQL in separate files?

In article <3CD3C8A3.19104.5190C40@localhost>, [EMAIL PROTECTED] says... > I need all the records in my database saved as separate html files on > the disk how can I do this with PHP? > > Youri > > <>< <>< <>< <>< God is our provider ><> ><> ><> ><> > http://www.body-builders.org/ > > Use a

[PHP] ob_start("ob_gzhandler") and require_once

can ob_start("ob_gzhandler") function be nested ? after echo 'test' , does it continue to includes and evaluates c.php? for example: a.php b.php c.php main.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

  1   2   >