[PHP] getting green screen

2003-01-20 Thread martin
Hi, I'm somtimes getting a green screen after a PHP-app (green background and backslashes in front of "'"-signes. When reloading this outputpage, the normal lay-out without backslashes is visible. Why does this happen? Can I prevent it? Martin -- PHP General Mailing List

[PHP] download script

2003-01-21 Thread Martin
i need a script that make downloads from files but it must support resuming for getright and download acelerator pro. Thanks... I have this classic download script , but does not support resuming error_reporting(0); header("Last-Modified: " . gmdate("D, d M Y H:i:s T", filemtime($file

[PHP] problem with header

2003-01-30 Thread Martin
i have an script, it send a header response: http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Screen Size detect??

2003-02-01 Thread Martin
you can create a form with hidden fields like this document.screendata.height.value=screen.height; document.screendata.width.value=screen.width; screendata.submit(); bye "Nigel Powell" <[EMAIL PROTECTED]> escribió en el mensaje [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... >

[PHP] Problem with big files

2003-05-27 Thread Martin
we would like to upload large files to the server ( 20 MB ). We have changed the configuration of php.ini in order to upload this files via http. We changed the following parameters: post_max_size = 25M file_uploads = On upload_tmp_dir =/tmpupload upload_max_filesize = 25M memory_limit = 25M als

[PHP] UDP socket_read() problem

2002-09-21 Thread Martin
? What is the normal behaviour of socket_read() when the socket is empty? I write to the socket (address/port) like crazy from the other side of the LAN, but nothing seems to be happening. Thanks, Martin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] UDP socket_read() problem

2002-09-21 Thread Martin
to time, however, it > 'should' work over a LAN TCP is > usually eaiser and a nice alternative > if you can't resolve issues. Ok, if I can't get it to work with UDP, I think I'll switch to TCP. Thanks, Martin -- PHP General Mailing List (http://www.

[PHP] problems with imap certificate

2002-07-22 Thread martin
I'm trying to configure a php with imap support on a RedHat 7.3 server. The problem is that it doesn't like the certificate (or something like that) and it doesn't login. I need this to get a webmail on the server working. The error says this: Jul 22 11:19:34 math httpd: PHP Warning: Certi

[PHP] get output in .html file

2003-12-17 Thread martin
Does somebody know how to get the output of an .php file into an .html file (server side). This in order to cache generated pages for futur visitors. thanks Martin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] .ins file

2001-02-21 Thread Martin
Has anyone got any experience with creating windows .ins file from PHP. The following coding appears to be working sort of, but when you first run it wants to save the file as makeins.phtml (the same name as the file). If you cancel, it then will save it as .ins file. It's very annoying and kinda

[PHP] How to strip off all html-comments

2001-12-31 Thread Martin
Hello! How can I easily strip off all html-comments () from a string? Martin -- 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] Flash and php

2002-02-24 Thread Martin
text-scroller done in flash, but generated with php (to show diffenrent text on different user-inputs for example). Has someone done this before? Martin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Flash and php

2002-02-24 Thread Martin
Okay, I found the Ming-Library in the documentation (I just search for flash in the functions list and didn't find anything). I will try this. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Flash and php

2002-02-24 Thread Martin
Hi Mika, thanx for your answer, > http://www.php.net/manual/en/ref.swf.php > http://www.php.net/manual/en/ref.ming.php which one should I prefer (using windows) ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Downloadbox

2002-03-02 Thread Martin
Hello! I have a PDF-File, which the user should be able to download. The problem is that the browser is showing this file when the user clicks the link instead of displaying the box to start the download. Can I force the browser to show the box? Martin -- PHP General Mailing List (http

[PHP] Dynamic update of content

2001-10-31 Thread Martin
that selection is the page populates other option boxes. TIA, Martin S -- 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] Am i crazy?

2001-11-04 Thread Martin
e line shows that the path is interpreted correctly - and the file exists (I checked). And the $name is correct - echo $name gives admin. And neither does the php.net example work ... if ($name='admin') { header("Location: http://www.php.net/";); } doesn't

RE: [PHP] Am i crazy?

2001-11-04 Thread Martin
Jack Dempsey wrote: > you're assigning, not checking for equality...use two ='s Still not redirecting ... Martin S -- 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 a

RE: [PHP] Am i crazy?

2001-11-04 Thread Martin
ment I just get a blank switch.php. I'm simply not redirected anywhere. (Nothing else is supposed to happen). > are you sure $name really equal's admin? Ohh yes. > if you change header to echo $MYPATH does that work? No. Martin S -- PHP General Mailing List (http://www.p

Re: [PHP] Am i crazy?

2001-11-04 Thread Martin
re your header information is before html.. There isn't any html in the page at all. It's intended as a switchboard for people logging in to be redirected according to user name. >let's see.. yeah > that's about all I can think of.. if $name is echoing something then I >

[PHP] Re: how about walking another way?

2001-11-04 Thread Martin
not such file? > ... or somth special?... > > If still not working. (vay;-))) ) than remember than any > mission > can be completed in different ways try somth like this ;-) > > if ($name == "admin") > { > print ''; > } OK, than

Re: [PHP] Re: how about walking another way?

2001-11-04 Thread Martin
t; for ignoring this. header() is the only reliable way to do it! Yes - I read years ago that some browsers have problem honouring META redirects. Didn't know that still is the case ... I've tried this with Mozilla, Navigator 4.77 and Konqueror (in KDE 2.2.1) on Linux, all work. Martin S

Re: [PHP] Am i crazy? - Solved.

2001-11-04 Thread Martin
e there were two trailing spaces after the ?>. Making that page end with ?> fixed the redirect. Thanks to everyone. Martin S -- 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

[PHP] Fulltext-Search

2001-12-24 Thread Martin
Hello! Does anybody know a good script to search the own web-server?! Would be nice if the script could display the whole sentence where the word was found... Martin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

[PHP] Sending PDF-Doc as mail

2001-07-22 Thread Martin
pe and M$-Outlook 2.) Use a multipart-message: Works in: StarOffice Doesn't work in Netscape and M$-Outlook Any idea, how this is done? Martin -- 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] rename problem...

2001-08-09 Thread Martin
Hi! When i'm trying to run this script: I get this error: Warning: Rename failed (Permission denied) in C:\Inetpub\WEBS\mysko\uploads\rename.php on line 4 The directoy has change permissions. What am i donig wrong...? /martin -- PHP General Mailing List (http://www.php.net

[PHP] something like SSI ?

2001-08-14 Thread Martin
Ok, this may seem like a dumb newbie question... Is there an function like ASP's Server Side Include in PHP ? Or what is best to use instead, fread ? /marco -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PRO

[PHP] Cannot get uploaded file by PUT request vith PHP4 and Apache1.3

2001-08-22 Thread Martin
I wanted to make a script to allow publishing from Netscape Composer using PUT request on my Apache server with PHP4. I have tried the example from manual. But i can not get the uploaded file. The $PHP_UPLOADED_FILE_NAME is not set and the $PHP_PUT_FILENAME allso is not set. Vhen I send the HT

[PHP] insert into problems.

2001-09-03 Thread Martin
Can someone tell me whats wrong with this... im getting a " Syntax error in INSERT INTO statement "... but i cant find anything wrong with the sql code., or have i missed something..? /martin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

[PHP] Making session last

2001-09-23 Thread Martin
have no access to the php.ini-file. session_set_cookie_params (int lifetime) didn't work. Any ideas? Martin -- 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

[PHP] Making variable global / accessing variable

2001-09-30 Thread Martin
ok in this function. Any idea how I can make this variable gloabl and whats the easyst way to access this var then? Martin -- 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 administrato

[PHP] Re: fopen

2001-09-30 Thread Martin
Kmarada schrieb: > is it possible to use fopen to open 5000 files differents simultaneous and > edit it simultaneous ? I think, this depends how many files your operating-system can handle. > i have one file. if four user edit it simultaneous what happen? there is > something to lock the file u

[PHP] Re: Recursion

2001-09-30 Thread Martin
etects subfolder, it will call itself, but with the parameters "C:\Subfolder1", "C:\Subfolder2" and so on. You have to watch out then, the the function terminated correctly, if the searched file is found. Martin -- PHP General Mailing List (http://www.php.net/) To un

[PHP] is pecl.php.net down?

2007-03-24 Thread martin
Since about 7 hours now i can't get on the pecl.php.net pages. The site doesn't seem to be available. Does somebody know why? Thanks, Martin J'utilise la version gratuite de SPAMfighter pour util

[PHP] Re: is pecl.php.net down?

2007-03-24 Thread martin
thanks Greg, it's back running Martin "Gregory Beaver" <[EMAIL PROTECTED]> a écrit dans le message de news: [EMAIL PROTECTED] > martin wrote: >> Since about 7 hours now i can't get on the pecl.php.net pages. The site >> doesn't seem to be availabl

[PHP] Reading all headers sent

2005-03-18 Thread martin
o a page ? Best regards, MARTIN -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Reading all headers sent

2005-03-18 Thread martin
RLOPT_HTTPHEADER, $header); $data = curl_exec($ch); Best regards, MARTIN Jesper Goos wrote: The $SERVER variable is an array, so try this: "; print_r($_SERVER); echo ""; ?> regards Jesper martin wrote: Hi, I wanted to know if there is some way to expose the full headers sent to a p

Re: [PHP] Reading all headers sent

2005-03-29 Thread martin
ype:$_SERVER[CONTENT_TYPE]"; // text/xml MARTIN www.movil.be Richard Lynch wrote: Search php.net for "RAW HTTP" Maybe. On Fri, March 18, 2005 3:28 am, martin said: Thanks for the answer, what I'm trying to achieve is a php proxy that receives any GET/POST request with correspoding head

[PHP] Re: patched

2007-06-20 Thread martin
See the file. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] array, classes and values

2006-10-29 Thread martin
hello, New to oop i'm really strugling to find a way to read a specified MYSQL database and tabel in order to determine the number of records, the number of fields in each record and convert the data into their labels and values. Please give me some hints or code... Thanks, Martin --

[PHP] Weird question - environment data from windows

2004-02-18 Thread Martin
When you've stopped laughing - is it at all possible to pass Windows environment data from a Windows workstation to an PHP application running on a Linux server? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] inserting preexisting image inside dynamic image

2002-11-24 Thread Martin Towell
try these: ImageCopy*() -Original Message- From: Eric Pierce [mailto:[EMAIL PROTECTED]] Sent: Monday, November 25, 2002 2:57 PM To: [EMAIL PROTECTED] Subject: [PHP] inserting preexisting image inside dynamic image Hi there... Just wondering... when creating a dynamic image, is there a w

[PHP] Newbie: ereg

2002-11-25 Thread Martin Johansson
I still havent found a site that shows what I need. I dont think php.net explain how ereg works. I only want to publish stuff from the stringvariable $text thats inside tags looking like this This shall be visible or This shall be visible too thanks Martin -- PHP General Mailing List (http

[PHP] Re: Missing images

2002-11-26 Thread Martin Johansson
pictures. Maybe this is the problem you have? /Martin > Hi all > > I have kind of a very strange problem... But I hope someone can help. > Imageing a little web-based application for browsing images. Every page is > exactly the same (from a php point of view). A user can browse through

Re: [PHP] store images in mysql tables

2002-11-26 Thread Martin Johansson
Yes you can store images in a mysql table. But you will have to create a new binary database. You can read here how it works: http://www.phpbuilder.com/columns/florian19991014.php3 It is a easy to understand text. /Martin "Justin French" <[EMAIL PROTECTED]> skrev i meddelandet

AW: [PHP] can't pass complete URL (part of the query string) from one script to another --??

2002-11-26 Thread Martin Lucas
hi nicole, do you have an example what your query contains ? maybe urlencode($pageURL) or quoting will help greetings martin > -Ursprüngliche Nachricht- > Von: Nicole Lallande [mailto:[EMAIL PROTECTED]] > Gesendet: Dienstag, 26. November 2002 15:40 > An: [EMAIL PROTECTE

RE: [PHP] Disable refresh?

2002-12-01 Thread Martin Towell
ting page. HTH Martin -Original Message- From: Larry Brown [mailto:[EMAIL PROTECTED]] Sent: Monday, December 02, 2002 12:33 PM To: PHP List Subject: RE: [PHP] Disable refresh? If not, is there a variable that provides information that a refresh occurred to load the page? Larry S. Brown Dim

[PHP] How to get/wait for user-input?

2002-12-02 Thread Martin Thoma
Hello! I'm using a PHP-script as a small console-app. Is the only way to give parameters to it the $QUERY_STRING, or can I wait for the user to input something (like scanf in C)? I couldn't find anything in the docs, so perhaps this is not possible?! Martin -- PHP General Mailing

[PHP] How to give parameters to a console php-script?

2002-12-02 Thread Martin Thoma
n error or printing "Ok"!) I'm using PHP 4.2.3. on Windows2000). Martin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How to give parameters to a console php-script?

2002-12-02 Thread Martin Thoma
Hi, > What do argv and argc tell you? > Is the php.ini file set up so that these variables are shown/valid? "Undefined variable: argv" - so I guess this is the problem ;-) What do I have to change in the php.ini? Martin -- PHP General Mailing List (http://www.php.net/) To un

Re: [PHP] How to give parameters to a console php-script?

2002-12-02 Thread Martin Thoma
ll I found a register_argc_argv = On in my php.ini, which should work then. But I also found, that I have to use print "Ok: ".$_SERVER["argv"][1]; instead of print "Ok: ".$argv[1]; Martin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How to give parameters to a console php-script?

2002-12-02 Thread Martin Thoma
> Martin, > Ah yes, the famous 'read the upgrade notes - gotcha'! > Well done, you figured it out... > =dn Thanx for your help, it pointed me in the right direction ;-) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] sessions

2002-12-05 Thread Martin Hudec
n_register("valid_user").then it reloads parent window (index.php), which will then again check validity of user...but it does not work. does anyone know why? register globals are on. -- Best regards, Martin mai

[PHP] code for my question about sessions ;) sorry

2002-12-05 Thread Martin Hudec
t;; echo "setTimeout('window.close()',1000)"; echo ""; ?> index.php: forum_fns.php: "; return true; } else { echo "\$valid_user not registered!!"; return false; } } ?> --

RE: [PHP] select * From ????

2002-12-15 Thread Martin Towell
can you post some more of your code? I think, if it's not too big, the entire while loops Martin -Original Message- From: Bruce Levick [mailto:[EMAIL PROTECTED]] Sent: Monday, December 16, 2002 9:45 AM To: [EMAIL PROTECTED] Subject: [PHP] select * From Hi, Am just a newb

RE: [PHP] select * From ????

2002-12-15 Thread Martin Towell
Looks good to me, but as Peter said, see if you really are getting something in ['img'] try print_r($row) or var_dump($row) to make sure -Original Message- From: Bruce Levick [mailto:[EMAIL PROTECTED]] Sent: Monday, December 16, 2002 10:01 AM To: Martin Towell Subject: RE: [P

RE: [PHP] undefined index....property.

2002-12-16 Thread Martin Towell
you didn't send the code snippet for "Undefined index" however, I think the reason you're getting these errors at home is because you have a different error_reporting level. HTH a bit Martin [snip] //filled out info and clicked send. Notice: Undefined index: l

RE: [PHP] Plz help to solve my problem.

2002-12-16 Thread Martin Towell
>From this error Warning: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0 It looks like you'll have to change php.ini to have session.save_path point to a valid path. Maybe \temp\ ? HT

RE: [PHP] php / unix functions

2002-12-17 Thread Martin Towell
the only other way I know is to use: $output = `$cmd`; (ie, backticks) -Original Message- From: Greg [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 18, 2002 1:27 PM To: [EMAIL PROTECTED] Subject: [PHP] php / unix functions Hi- Is there a built in way, besides using exec and system

RE: [PHP] php / unix functions

2002-12-17 Thread Martin Towell
Greg "Andy Turegano" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Well, what do you want them to do? > > > On Wed, 18 Dec 2002, Martin Towell wrote: > > > the only other way I know is to use: $output = `$cmd`; (ie, bac

RE: [PHP] Where am I?

2002-12-17 Thread Martin Towell
try doing a phpinfo() , somewhere in there it'll tell you Martin -Original Message- From: Jeff [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 18, 2002 2:34 PM To: [EMAIL PROTECTED] Subject: [PHP] Where am I? I'm using PHP 4.0.6. I am developing on Win98SE, and depl

RE: [PHP] Where am I?

2002-12-17 Thread Martin Towell
Doing a quick scan through the output of phpinfo() on my machine, I can see any one of the following will give me the path (incl. filename of the current script) $HTTP_SERVER_VARS["DOCUMENT_ROOT"] . $PHP_SELF $HTTP_SERVER_VARS["SCRIPT_FILENAME"] $HTTP_SERVER_VARS["PATH

RE: [PHP] test

2002-12-17 Thread Martin Towell
na! didn't work :) -Original Message- From: Roger Lewis [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 18, 2002 4:59 PM To: Php-General Subject: [PHP] test This is a test. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php --

RE: [PHP] test

2002-12-17 Thread Martin Towell
delivered to: > > php-list,emc (The name was not found at the remote site. Check that the > name has been entered correctly.) > > -Original Message- > From: Martin Towell [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, December 17, 2002 10:02 PM > To: Php-Ge

RE: [PHP] *OK, more eval for today

2002-12-18 Thread Martin Towell
argh! eval() try this instead: $temp = ${"php_q3_$i"}; to get it directly from $HTTP_POST_VARS: $temp = $HTTP_POST_VARS["php_q3_$i"]; simple HTH Martin -Original Message- From: Alexey Lysenkov [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 19, 2002 6:08 AM

[PHP] European "daylight saving" summer-time.

2002-12-29 Thread Martin Thoma
server to this. How can I avoid this without manually correct it every spring/autumn? Martin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] function misfunction

2002-12-30 Thread Martin S
ng "$tracking->" above. Obviously I'm doing something wrong here. What? Cheers, Martin S. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] function misfunction

2002-12-30 Thread Martin S
)"; break; case "printers": $query = "SELECT name FROM printers WHERE (ID = $this->ComputerID)"; break; } (And yes I suppose you could write that as "SELECT name from $lookuptable WHERE "; What am I missing now? /Martin S. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Function misfunction - 2

2002-12-30 Thread Martin S
NOW what am I doing wrong?? function setCurrentDevGroup($devID) { $query = "SELECT dev_group FROM tracking WHERE (computer = $devID)"; $sth = $adb->prepare($query); if($sth) { $res = $sth->execute();

Re: [PHP] Function misfunction - 2

2002-12-31 Thread Martin S
Marek Kilimajer wrote: > You forgot global $adb; at the beginning of your function, or use > > $sth = $GLOBALS['adb']->prepare($query); Nope sorry, I've just edited it from my post here. It is in the function. /Martin S. -- PHP General Mailing List (http://www.php.

Re: [PHP] Function misfunction - 2

2002-12-31 Thread Martin S
Jason Wong wrote: > On Tuesday 31 December 2002 20:02, Martin S wrote: >> Marek Kilimajer wrote: >> > You forgot global $adb; at the beginning of your function, or use >> > >> > $sth = $GLOBALS['adb']->prepare($query); >> >> Nope sorry,

Re: [PHP] Function misfunction - 2

2002-12-31 Thread Martin S
Jason Wong wrote: > On Tuesday 31 December 2002 20:48, Martin S wrote: > >> This is the function which should return e.g. "printers" for >> $lookuptable. But doesn't. >> >> function setCurrentDevGroup($devID) >> { >>

Re: [PHP] Function misfunction - 2

2002-12-31 Thread Martin S
#x27;t work so I abandoned it. Perhaps I did something else stupid. I'll re-read the docs. Thanks for your help, and Happy New Year! Martin S. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re[2]: [PHP] Img src

2003-01-08 Thread Martin Hudec
Hello Sean, or try to use this: print ""; or just print ""; ^ ^^ ^ - use \ before " ^^- no need to use both \ and " remove those two characters or try this your php ?> " width=104 height=137> http://www.corwin.sk PGP key fingerprint

Re[2]: [PHP] Img src CORRECTION

2003-01-08 Thread Martin Hudec
Hello Sean, oh i must correct myself ;)) . or try to use this: print ""; or just print ""; looks like u have error here: print ""; ^ ^^ ^ - use \ before " ^^- no need to use both \ and " remove those two characters or try this y

Re: [PHP] strange problem (user poll)

2003-01-08 Thread Martin Hudec
Hello Paul, well problem is this: you don't have defined variable $actionmaybe you are not posting it correctly from form...what is on first 12 lines? try to add $action="value"; on line 12...just define any suitable value... -- Best regards, Martin

[PHP] output of calling grep lr

2003-01-09 Thread Martin Hudec
-- Best regards, Martin mail [EMAIL PROTECTED] mobile +421.907.303.393 icq34358414 wwwhttp://www.corwin.sk PGP key fingerprint 21365ca05ecfd8aeb1cf19c838fff033 &quo

[PHP] searching for string inside document

2003-01-09 Thread Martin Hudec
Hello, i have document in html and i want to get out string between tags to put it into another variable.. i am wondering if i could use eregi() herebut how? I cant figure out any possible way... same with strchr() and strstr() can anyone help me please? -- Best regards, Martin

[PHP] Which country?

2003-01-20 Thread Martin Thoma
Hello! Is there a way to get to know from which country a user is calling the webside with my php-script? Martin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Getting https-page

2003-01-20 Thread Martin Thoma
Hello! You can easily get an webpage with: $fp = fopen("http://www.mydomain.com/";, "r"); if ($fp) exit; while(!feof($fp)) { $line .= fgets($fp, 4096); } fclose($fp); print $line; But this doesn't work with https (SSL). How can I get an https-page? Martin --

[PHP] Re: simple date question

2003-01-20 Thread Martin Thoma
Hi Adria, why not just using $month=date("m")? Martin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Freshmeat question

2003-01-20 Thread Martin Thoma
); print $line; If you are new in programming, I think PHP is easyier to learn than Perl. Martin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] getting green screen

2003-01-20 Thread Martin Towell
Hi Martin Post some code snippets and the resultant output for us to look at Martin (To confuse things ) > -Original Message- > From: martin [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, January 21, 2003 1:43 PM > To: [EMAIL PROTECTED] > Subject: [PHP] getting green sc

[PHP] Re: Freshmeat question

2003-01-21 Thread Martin Thoma
ar-expressions, but php has this, too. > As for the script below, could I run it inside a (my) browser? This could be in any >browser? Well, it depends ;-) Generally: Yes. But you have to let a web-browser (like apache) process the php-script. Martin -- PHP General Mailing List

Re: [PHP] Disable pic copy/save?

2003-01-23 Thread Martin Hudec
. Martin On Thursday 23 January 2003 10:57 am, Jason Wong wrote: > On Thursday 23 January 2003 17:52, Anthony Rodriguez wrote: > > Hi! > > > > A client wants to test market two versions of an advertising but wants to > > disable the users' ability to copy/save

RE: [PHP] ? in URLS.

2003-01-23 Thread Martin Towell
if it's just the string after the ? then use $QUERY_STRING can't remember which $_* variable it's under... HTH > -Original Message- > From: Simon Angell [mailto:[EMAIL PROTECTED]] > Sent: Friday, January 24, 2003 4:50 PM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] ? in URLS. > > > Ok, i

RE: [PHP] problems with ==?

2003-02-06 Thread Martin Towell
check for leading/trailing spaces if (trim($view) == "vendor") HTH Martin -Original Message- From: Peter Gumbrell [mailto:[EMAIL PROTECTED]] Sent: Friday, February 07, 2003 3:07 PM To: Php-General Subject: [PHP] problems with ==? In the following code $view = $HTTP_GET

[PHP] Beginners question

2003-02-09 Thread Martin Purdy
, but they come out as one line. echo "This spans\nmultiple lines. The newlines will be\noutput as well."; Can someone please tell me what I am doing wrong? Martin Purdy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Beginners question

2003-02-09 Thread Martin Purdy
How do you use the output on a webpage then? Martin "Leif K-Brooks" <[EMAIL PROTECTED]> skrev i en meddelelse [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > My guess is that the new lines are there, but since you're (most likely) > outputting HTML, you don&

Re: [PHP] FTP not enabled in RedHat 7.x distro

2003-02-17 Thread Martin Marques
Quoting [EMAIL PROTECTED]: > Hi, > > Installed RPM's from RedHat (latest patches) and using PHP with Apache > under RH7.1 Linux, lots of scripts, no problems. > > The hitch is that a user just tried ftp_connect(), and got the > "unknown function" error. > > Okay, so I expected this to be a miss

Re: Re[2]: [PHP] FTP not enabled in RedHat 7.x distro

2003-02-17 Thread Martin Marques
Quoting [EMAIL PROTECTED]: > Rick, > > In response to your mail of Monday 17 February 2003 at 17:46:49: > > > Thanks for your swift response! > > > RE> I also use Redhat 7.1 and use FTP successfully. Something in your > RE> setup? > > Well, I don't think so ... it's all fairly standard (only

Re: Re[4]: [PHP] FTP not enabled in RedHat 7.x distro

2003-02-19 Thread Martin Marques
On Mar 18 Feb 2003 16:00, [EMAIL PROTECTED] wrote: > > Very weird - I thought RedHat would have enabled it too. I did When I say RH, I mean RedHat. The diference seems to be that I'm on 7.3, while you're on 7.1. Still, it should be compiled with ftp support. > copy-and-paste the problem command

Re: Re[6]: [PHP] FTP not enabled in RedHat 7.x distro

2003-02-19 Thread Martin Marques
On Mié 19 Feb 2003 08:54, [EMAIL PROTECTED] wrote: > > I was wondering if you were able to check the exact RH release of your > PHP package, to see if it matched mine? ==> rpm -q php php-4.1.2-7.3.6 > MM> When you run phpinfo() the output gives you the configure line > MM> with which php was comp

[PHP] WebTV vs PHP

2003-02-26 Thread Martin Mandl
okies switched off Best regards Martin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] newbie: installing gd in php4

2003-02-26 Thread Martin Mandl
just make sure, the php_gd.dll is in the directory where all your other php-dlls are ... -Original Message- Using MS Win 98 / PHP 4 and Apache. What is the best way to install php_gd.dll so that I can make use of the image library. -- PHP General Mailing List (http://www.php.net/) To un

[PHP] Re: Too many connections - MySQL

2003-02-26 Thread Martin Mandl
don't use persitent connections ... that will solve your problem Stephen Craton wrote: On this site, www.roempire.com, which we host, they are having problems with too many connections. I think that someone messed with the GRANT option. How can we reverse this and allow unlimited connections per

RE: [PHP] Switch Statement || Case with multiple values?

2003-03-02 Thread Martin Towell
I've been using this: if (in_array($value, array("foo", "bar", "blah"))) { // do something } but if you want to use a switch/case, I don't know any easier way. HTH Martin > -Original Message- > From: CF High [mailto:[EMAIL PROTECTE

RE: [PHP] heredoc problem

2003-03-02 Thread Martin Towell
when I copy/pasted directly from your email and tried to execute it, I can an error on line 5 too I noticed that there's a space at the end of line 5, I deleted it and it worked fine. > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Monday, March 03, 2003 9

RE: [PHP] fread problem

2003-03-02 Thread Martin Towell
you'll have to exec() the code $filename = "test.php"; $handle = fopen ($filename, "r"); $contents = fread ($handle, filesize ($filename)); fclose ($handle); exec($contents); see if that works Martin > -Original Message- >

[PHP] functions and

2003-03-03 Thread Martin Johansson
Hi I want to call a function logout() inside an statement: \">logout but this doesnt work.. how shall I do it /M -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

  1   2   3   4   5   6   7   8   9   10   >