Re: [PHP] Caller's __LINE__

2001-02-28 Thread Christian Dechery
will always show the line of the function header... . Christian Dechery (lemming) . http://www.tanamesa.com.br . Gaita-L Owner / Web Developer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional command

[PHP] redefine constants

2001-02-28 Thread Christian Dechery
tant it's only atributing LN the value of __LINE__... and in the manual I saw examples where redefining constants were used... ________ . Christian Dechery (lemming) . http://www.tanamesa.com.br . Gaita-L Owner / Web Developer -- PHP General Mailing List (http://www.php.

[PHP] user_error() default error type

2001-02-28 Thread Christian Dechery
t E_USER_ERROR in every call is making that function call get huge. Isn't there a way I can't default it to that instead of E_USER_NOTICE (which doesn't really help)... . Christian Dechery (lemming) . http://www.tanamesa.com.br . Gaita-L Owner / Web Develop

[PHP] connecting do MS Access...

2001-03-04 Thread Christian Dechery
which is the best way to connect to MS Access and process and request queries? is it with odbc_*() functions? cuz I found that not that good... . Christian Dechery (lemming) . http://www.tanamesa.com.br . Gaita-L Owner / Web Developer -- PHP General Mailing List

[PHP] can't load extension

2001-03-08 Thread Christian Dechery
iles needed to run this application [something like that, doesn't really matter]) in Unknown on line 0" why? why? whyy? . Christian Dechery (lemming) . http://www.tanamesa.com.br . Gaita-L Owner / Web Developer

[PHP] in_array() with multidimensional array

2001-03-09 Thread Christian Dechery
} ?> how can I check for an existing $produtos_sem_tracking['cod'] value for example? . [ Christian Dechery ] . Webdeveloper @ Tá Na Mesa! . Listmaster @ Gaita-L . http://www.tanamesa.com.br -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PR

[PHP] php4ts.dll error

2001-03-09 Thread Christian Dechery
t runs and when it stops it comes up with a GPF window for PHP4TS.DLL telling me that Apache caused, so it restarts apache. What might be causing this? How can I fix it? . [ Christian Dechery ] . Webdeveloper @ Tá Na Mesa! . Listmaster @ Gaita-L . http://www.tanamesa.com.br -- PHP Gener

[PHP] DSO x CGI

2001-03-12 Thread Christian Dechery
thing with CGI. ____ . Christian Dechery (lemming) . http://www.tanamesa.com.br . Gaita-L Owner / Web Developer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the

[PHP] DSO x CGI

2001-03-14 Thread Christian Dechery
thing with CGI. ____ . Christian Dechery (lemming) . http://www.tanamesa.com.br . Gaita-L Owner / Web Developer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the

[PHP] switch with multiple case

2001-03-14 Thread Christian Dechery
case else print error end select %> IN PHP you can't do cases like that, because like in C, u must have a constant, not a list of them. Is there anyway to get pass this? Doing a case for each thing even tough it does the exact same thing as 10 others is going to get a l

[PHP] weird mail() behaviour

2001-04-22 Thread Christian Dechery
message either... ____ . Christian Dechery (lemming) . http://www.tanamesa.com.br . Gaita-L Owner / Web Developer -- 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] strtok not working...

2001-04-22 Thread Christian Dechery
$string); so $newStrArray[0] would have exactly what I want... why doesn't strtok() works here? ____ . Christian Dechery (lemming) . http://www.tanamesa.com.br . Gaita-L Owner / Web Developer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMA

[PHP] CGI x DSO: Output Buffering

2001-04-22 Thread Christian Dechery
As I've seen and tested, Apache running in Win2k won't do output buffering running PHP as CGI. But will perfectly running PHP as DSO. Any explanations? ____ . Christian Dechery (lemming) . http://www.tanamesa.com.br . Gaita-L Owner / Web Developer -- P

RE: [PHP] redirection to another page function

2001-04-22 Thread Christian Dechery
At 11:22 23/4/2001 +1000, Jason Murray wrote: > > Is there any PHP native function to redirect to another page or URL? > >No, because you can only redirect a browser to another page using the >appropriate HTTP command (it is a header) or JavaScript. > > > I would like that once the user clicks on

RE: [PHP] redirection to another page function

2001-04-22 Thread Christian Dechery
gt;[ ] Enable Javascript > ^ > Not ticked > >Oops. I just broke that redirection. :) Yeah... I know that... but, c'mon... a browser that doesn't support Javascript can't surf trough at least 30% of all websites... it's the absolute minority. Netscap

RE: [PHP] redirection to another page function

2001-04-22 Thread Christian Dechery
At 12:22 23/4/2001 +1000, Chris Aitken wrote: >At 11:15 PM 22/04/2001, Christian Dechery wrote: > >>Yeah... I know that... but, c'mon... a browser that doesn't support >>Javascript can't surf trough at least 30% of all websites... it's the >>abso

RE: [PHP] redirection to another page function

2001-04-22 Thread Christian Dechery
ery time we set a cookie. Imagine the >fuss we'd have if we required JavaScript for something. :) ____ . Christian Dechery (lemming) . http://www.tanamesa.com.br . Gaita-L Owner / Web Developer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-ma

RE: [PHP] redirection to another page function

2001-04-22 Thread Christian Dechery
urfing... going from one page to another is almost a primitive... u know where I'm getting at? . Christian Dechery (lemming) . http://www.tanamesa.com.br . Gaita-L Owner / Web Developer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

[PHP] % always return int?

2001-05-03 Thread Christian Dechery
is an integer invovled... is automatically converted to float before dividing, so that's why no remainder? ____ . Christian Dechery (lemming) . http://www.tanamesa.com.br . Gaita-L Owner / Web Developer -- PHP General Mailing List (http://www.php.net/) To unsubscri

[PHP] arrays and strings... a little confusing.

2001-05-07 Thread Christian Dechery
;, so it doesn't work both ways. How does PHP works with this? I come from C where a string and an array of char is exactly the same thing, so this kinda confuses me. . Christian Dechery (lemming) . http://www.tanamesa.com.br . Gaita-L Owner / Web Developer -- PH

[PHP] forcing upload instead of showing doc

2001-05-08 Thread Christian Dechery
How do I force an output to be recognized by the browser by a downloadable text file as soon as I press the submit button? what header(*) stuff should I add before echo-ing stuff? thanks . [ Christian Dechery ] . Webdeveloper @ Tá Na Mesa! . Listmaster @ Gaita-L . http

Re: [PHP] forcing upload instead of showing doc

2001-05-08 Thread Christian Dechery
>Hi, > > >header("Content-Type: application/octet-stream"); >header("Content-Disposition: attachment; filename=name.doc"); >include("file.doc"); >?> > >Wieger > >Christian Dechery wrote: >> >> How do I force an output to

[PHP] forcing download of new file

2001-05-08 Thread Christian Dechery
I think it is... I once saw it... thanks . [ Christian Dechery ] . Webdeveloper @ Tá Na Mesa! . Listmaster @ Gaita-L . http://www.tanamesa.com.br -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [PHP] forcing download instead of showing output

2001-05-08 Thread Christian Dechery
then put the headers? In this case I'd have a file that I don't want... I'd have to delete it later on, isn't there a way I can just redirect all the output generated by php to a download and instruct the browser the filename to be saved? Where can I get some reference t

Re: [PHP] VERY URGENT

2001-05-08 Thread Christian Dechery
email >address or by my >Tel:874-762-727947, >fax:874-762-727949. > >yours truly > >SOLOMON BALOGUN. > > > > > > >________ >Do You Yahoo!? >For regular News updates go to http://in.news.yahoo.com &

[PHP] download successfull... but in binary... why?

2001-05-09 Thread Christian Dechery
tion:".$att." filename=".$filename); but the problem is, the output is comming as binary... so the '\n' is not working, instead it'comming as a one giant line with lots of weird chars instead of '\n'... how do I force it to be in ASCII mode? and where can I find r

RE: [PHP] download successfull... but in binary... why?

2001-05-09 Thread Christian Dechery
At 08:39 9/5/2001 -0500, Boget, Chris wrote: > > header("Content-type: application/download"); > >I think you'd need to change this to: > >header("Content-type: text/plain"); > >but I could be wrong... > > > and where can I find reference on these header stuff? > >Not sure. I find bits and pieces

RE: [PHP] download successfull... but in binary... why?

2001-05-09 Thread Christian Dechery
At 07:45 9/5/2001 -0700, you wrote: >You decided it was using binary because \n was not being converted to \r\n? > >Aren't you just struggling with the difference between unix and windows >files? > >Perhaps if you filtered the files replacing \n to \r\n when destination is >windows platform. than

[PHP] attach file to email

2001-05-09 Thread Christian Dechery
How do I attach a file to an email? I'd have a mailbody also, with some text... ad I wanna attach a text file to it, but I don't want it to be appended in the body... I want it as an attachment. _____ . Christian Dechery - CTO .. WebDeveloper @ Webstyl

Re: [PHP] Working with numbers

2001-05-09 Thread Christian Dechery
At 11:22 9/5/2001 -0700, Gerry wrote: >Could you suggest a function for displaying decimal zeros. > >For example I have this: >$num = "2.00"; >$num2 = "3.00"; >$result = $num + $num2; >echo "$result"; > >I get "5" but not "5.00" try $result = (float)$num + (float)$num2; -- PHP General Mailing

[PHP] sending attachments via mail(), possible?

2001-05-09 Thread Christian Dechery
$mail_body"; mail("[EMAIL PROTECTED]","CDYOU Pedido: ".$num_pedido,$mail_body,$header); } the headers are sent perfectly... and if I echo the $mail_body (I think) it's correct, but when I get the mail it's all screwed up... thanks... ___

Re: [PHP] About MySQl and Transactions

2001-05-09 Thread Christian Dechery
At 20:09 9/5/2001 +0200, Fredrik Rodland wrote: >I don't think MySql does not have support for transactions. Try using >another DB - like postgres. yes it does... download Mysql-Max or install BDB in your mysql dist (if you are under *ux or *ix)... Mysql-Max is the newest Mysql dist including

Re: [PHP] sending attachments via mail(), possible?

2001-05-09 Thread Christian Dechery
At 15:17 9/5/2001 -0400, Tym Rehm wrote: >You have to open the file and encode it. >Check out this: > >/* Define the attachment and encode it base64 */ >$filename="/var/www/sf/Ftp_User_Info.doc"; $fd = fopen($filename, "r"); >$contents = fread($fd, filesize($filename)); >$encoded=chunk_split(ba

[PHP] fopen() and persmissions

2001-05-10 Thread Christian Dechery
but what happens is that, the file isn't mine... it belongs to nobody... so I have no rights to it in FTP or telnet... is there a better solution then either of these two??? . Christian Dechery (lemming) . http://www.tanamesa.com.br . Gaita-L Owner / Web

Re: [PHP] mysql: UPDATE statment

2001-05-11 Thread Christian Dechery
is incorrect... the correct UPDATE syntax is: UPDATE user_polls set field='value', field2='value2', field3=value3 where id=$id; hope it helps... . Christian Dechery (lemming) . http://www.tanamesa.com.br . Gaita-L Owner / Web Developer -- PHP G

[PHP] need some ideas here...

2001-05-14 Thread Christian Dechery
won't go an mail() always returns false... I'm guessing there's no mail sending in this server... so what do I do? is it possible for me to call a script on another host from with a script and return something to it? like ____ . Christian Dechery (lemming) . ht

[PHP] need better solution...

2001-05-14 Thread Christian Dechery
what do I do in this case??? I've tried all kinds of programing techniques... but none of them seems to fit here. ____ . Christian Dechery (lemming) . http://www.tanamesa.com.br . Gaita-L Owner / Web Developer

Re: [PHP] need better solution...

2001-05-14 Thread Christian Dechery
At 10:35 15/5/2001 +0930, David Robley wrote: >On Tue, 15 May 2001 09:40, Christian Dechery wrote: > > In most of my scripts there are always headers and footers to html > > outputs... like logos, images, and on the bottom some links and stuff > > like that... tha

Re: [PHP] need better solution...

2001-05-14 Thread Christian Dechery
>the problem there? the problem is, if I terminate the script on that condition the footer won't be displayed... . Christian Dechery (lemming) . http://www.tanamesa.com.br . Gaita-L Owner / Web Developer -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] need some ideas here...

2001-05-14 Thread Christian Dechery
ut this in an .htaccess file: php_value >sendmail_path '/path/to/sendmail -t' > >Ethan Schroeder > >- Original Message - >From: "Christian Dechery" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Sent: Monday, May 14, 2001 7:04 PM >Subject

Re: [PHP] need some ideas here...

2001-05-15 Thread Christian Dechery
At 20:32 14/5/2001 -0500, Ben Gollmer wrote: >If you have an account on a remote host, you can always do something like >this: > > include("http://www.remotehost.com/~myaccount/mailfunction.inc";); > > mymail($to, $mailbody); >?> > >where mailfunction.inc has the mymail function d

Re: [PHP] need some ideas here...

2001-05-15 Thread Christian Dechery
At 22:40 14/5/2001 -0700, Ethan Schroeder wrote: >I don't know how you can find sendmail on that system if you don't have >telnet access. Try writing a script that does an exec("which sendmail") and >see if it tells you. I doubt it will, though. Otherwise try different >sendmail locations: /usr

[PHP] free php/mysql hosting

2001-05-15 Thread Christian Dechery
Does anyone knows any good free php/mysql hosting other than www.f2s.com?? . Christian Dechery (lemming) . http://www.tanamesa.com.br . Gaita-L Owner / Web Developer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: [PHP] need some ideas here...

2001-05-16 Thread Christian Dechery
At 09:27 16/5/2001 +0100, James Holloway wrote: >Hi Christian, > >I have an account with f2s.com that I use for sampling scripts with - I set >up a mailform yesterday after reading this, using mail() to send the email >to myself. It got here - albeit 6am today (I sent it yesterday >lunchtime)

[PHP] sending mail alternatives...

2001-05-16 Thread Christian Dechery
#x27; 4 - built a function that sends mail with fsockopen (which also works, as tested) and call it with my local smtp server... for whatever smtp I place there it gives me timeout... so I'm guessing there's a firewall there that blocks any access right? why? Sending email is really th

[PHP] sessions / cookies / header("Location...

2001-05-17 Thread Christian Dechery
I have a page that does a login... right after the login is successfull it registers a session var called 'userid'... and does a header("Location: newpage.php") which checks for the existance of this var... if it exists it will show, otherwise it goes back to the login page... the weird thing

Re: [PHP] sessions / cookies / header("Location...

2001-05-17 Thread Christian Dechery
php > >trans-sid >/index.php > >header redirectect require (supposed to require) full urls. in other words >its a good idea to put PHPSESSID=$PHPSESSID on all your full urls anyhow, >just incase for non-cookie browsers. > >-- > > Chris Lee > [EMAIL PROTECTED] > >

Re: [PHP] Getting email out of a database

2001-05-19 Thread Christian Dechery
EMAIL PROTECTED],[EMAIL PROTECTED] > > How would I go about this > > > >Best regards, > Richard >mailto:[EMAIL PROTECTED] > > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAI

[PHP] converting int to char

2001-05-19 Thread Christian Dechery
how do I convert and integer value to its ASCII correspondent? in C I would go something like: int i = 90; char c; c = i + '0'; // now c would be 'Z' in PHP I'm simply clueless since there's no (char) type... ________ . Chri

[PHP] include and include-virtual

2001-05-23 Thread Christian Dechery
What is the main difference between:

Re: [PHP] include and include-virtual

2001-05-23 Thread Christian Dechery
th/to/filename"); no... I want SSI calls cause this is to be changed in a pure html (with html extension) file... ____ . Christian Dechery (lemming) . http://www.tanamesa.com.br . Gaita-L Owner / Web Developer -- PHP General Mailing List (http://www.php.net/)

[PHP] IDE for Linux

2001-10-21 Thread Christian Dechery
Can you guys give me some hints of IDEs for programming PHP in Linux? thanks _ . Christian Dechery . . Gaita-L Owner / Web Developer . . http://www.webstyle.com.br . . http://www.tanamesa.com.br -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e

[PHP] generating charts/graphics

2001-10-21 Thread Christian Dechery
n this? Is this easy to do in PHP? Can I get something already implemented? Some class or something? thanks... _____ . Christian Dechery . . Gaita-L Owner / Web Developer . . http://www.webstyle.com.br . . http://www.tanamesa.com.br -- PHP General Mailing List (http://w

RE: [PHP] IDE for Linux

2001-10-21 Thread Christian Dechery
awesome editor, stuff like function name completion, shows you what >params the function takes, etc.). exactly what I'm looking for... it's not for me really... It's for a friend... I develop in Win32... and use HomeSite... I tried this Komodo... but never saw this SlickEdit... doe

Re: [PHP] In Toronto Next week

2001-10-23 Thread Christian Dechery
ow about Rio, Brazil?? :)) _____ . Christian Dechery . . Gaita-L Owner / Web Developer . . http://www.webstyle.com.br . . http://www.tanamesa.com.br -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

[PHP] GD: need better solution...

2001-10-23 Thread Christian Dechery
rks just fine.. all the graphs show up perfectly... but I was wondering if there is a better way of doing this... I tried with sessions, but I couldn't get the varible to be reseted correctly between two graphs of the same type... and they would repeat... any ideas? ___

[PHP] how many data can a session hold?

2001-10-23 Thread Christian Dechery
I want to know how many data can a session hold? The number of bytes... and if possible the max size of an - let's say - array of ints. I need this to know how many IDs I can hold in the session... _____ . Christian Dechery . . Gaita-L Owner / Web Developer . .

[PHP] how many data can a session hold?

2001-10-25 Thread Christian Dechery
I want to know how many data can a session (treated as cookie) can hold... The number of bytes... and if possible the max size of an - let's say - array of ints. I need this to know how many IDs I can hold in the session... _____ . Christian Dechery . . Gaita-L

[PHP] generating several images in sequence...

2001-10-25 Thread Christian Dechery
rks just fine.. all the graphs show up perfectly... but I was wondering if there is a better way of doing this... I tried with sessions, but I couldn't get the varible to be reseted correctly between two graphs of the same type... and they would repeat... any ideas? ___

[PHP] problems with sessions (not working)

2001-10-27 Thread Christian Dechery
soon as I refresh the page the session is lost... why? _____ . Christian Dechery . . Gaita-L Owner / Web Developer . . http://www.webstyle.com.br . . http://www.tanamesa.com.br -- PHP General Mailing List (http://www.php.net/) To unsubscri

[PHP] help measuring time for img creating...

2001-10-28 Thread Christian Dechery
s are not accounted for in the main script... it always returns something like 1 or 2 seconds when it actually took 30 or 40 seconds to finish... any ideas? _____ . Christian Dechery . . Gaita-L Owner / Web Developer . . http://www.webstyle.com.br . . http://www.tanamesa.c

Re: [PHP] SSI

2001-10-28 Thread Christian Dechery
At 19:04 28/10/01 -0500, Gary wrote: >How do you get a SSI to work on a php page? you don't need SSI if you're running PHP... just use include()... _____ . Christian Dechery . . Gaita-L Owner / Web Developer . . http://www.webstyle.com.br . . http://www.ta

[PHP] Session probs with SSI

2001-11-10 Thread Christian Dechery
27;t even register the session variables... meaning it could as well work the session... And the weirdest thing is that, as I explained in my mails, if the session gets started elsewhere, then it works beatifully even with SSI... that's why I think this is not an expected behaviour...

[PHP] SetCookie return

2001-11-10 Thread Christian Dechery
what does SetCookie() returns??? I did a var_dump() on it and it gave me 'bool(true)' when in fact the cookie was not set... _____ . Christian Dechery . . Gaita-L Owner / Web Developer . . http://www.webstyle.com.br . . http://www.tanamesa.com.br -- P

Re: [PHP] converting string to double

2001-11-10 Thread Christian Dechery
EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] >To contact the list administrators, e-mail: [EMAIL PROTECTED] _ . Christian Dechery . . Gaita-L Owner / Web Developer . . http://www.webstyle.com.br . . http://www.tanamesa.com.br -- PHP Gener

[PHP] sessions and SSI

2001-11-08 Thread Christian Dechery
reate a session, but can use it if it is set by another page? I don't understand... _____ . Christian Dechery . . Gaita-L Owner / Web Developer . . http://www.webstyle.com.br . . http://www.tanamesa.com.br -- PHP General Mailing List (http://www.php.net/) To unsubsc

[PHP] Real problemas with sessions and SSI...

2001-11-09 Thread Christian Dechery
Can someone explain to me why sessions don't work with SSI? Let me explain my case: I have a php script called miec.php, which uses sessions extensively. It's a script to show products from a catalog randomly, and in the session it keeps the products already shown, so it doesn't repeat... it wo

[PHP] Why no one helps?

2001-11-10 Thread Christian Dechery
Why doesn't anyone say something about my messages "probelms with sessions and SSI"? Is it such a lame question??? _____ . Christian Dechery . . Gaita-L Owner / Web Developer . . http://www.webstyle.com.br . . http://www.tanamesa.com.br -- PHP Gener

Re: [PHP] Why no one helps?

2001-11-10 Thread Christian Dechery
At 10:33 10/11/01 -0800, you wrote: >On Saturday 10 November 2001 08:42 am, Christian Dechery wrote: > > Why doesn't anyone say something about my messages "probelms with sessions > > and SSI"? > >This list gets 2000 - 3000 messages per month and you find it s

[PHP] some questions on sessions (long)...

2001-11-12 Thread Christian Dechery
.s: the problem is solved, I force the user to login in case of miec.php is SSI included, which works, since the session is created elsewhere (login.php). _ . Christian Dechery . . Gaita-L Owner / Web Developer . . http://www.webstyle.com.br . . http://www.tanamesa.co

Re: [PHP] some questions on sessions (long)...

2001-11-13 Thread Christian Dechery
\ / September 11, 2001 > X We Are All New Yorkers > / \ rm -rf /bin/laden > >On Mon, 12 Nov 2001, Christian Dechery wrote: > > > I've recently had a problem with sessions,

[PHP] very weird PHP behaviour...

2001-11-14 Thread Christian Dechery
I don't know what it is... but PHP is acting very weird today... or I am becoming crazy... can anyone tell me which one? I have this function: function Upload($source_file,$source_filename,$dest_dir,$allowed_types=array()) { global $upload_errmsg; if( count($allowed_types) ) { $file_ext=Arqu

Re: [PHP] very weird PHP behaviour...

2001-11-14 Thread Christian Dechery
you're hitting this function twice by accident. Are you >sure you're only calling it once? That would explain why you only get one >output with the die(), but two without it. > >-Steve > >On Wednesday, November 14, 2001, at 10:34 AM, Christian Dechery wrote: > >

Re: [PHP] query works in mysql, but not from php

2001-11-19 Thread Christian Dechery
) >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] >To contact the list administrators, e-mail: [EMAIL PROTECTED] _ . Christian Dechery . . Gaita-L Owner / Web Developer . . http://www.webstyle.com.br . . http://www.tanam

Re: [PHP] Re: A tricky one?

2001-11-20 Thread Christian Dechery
d HTML mail, you can set the Content-type header. */ > > > > /* additional headers */ > > $headers = "From: Someone <[EMAIL PROTECTED]>\r\n"; > > > > > > /* and now mail it */ > > mail($to, $subject, $message, $headers); > > > >

Re: [PHP] some questions on sessions (long)...

2001-11-21 Thread Christian Dechery
\ / September 11, 2001 > X We Are All New Yorkers > / \ rm -rf /bin/laden > >On Mon, 12 Nov 2001, Christian Dechery wrote: > > > I've recently had a problem with sessions, and came

RE: [PHP] Redirect upon execution of script...

2001-11-25 Thread Christian Dechery
/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] _ . Christian Dechery . . Gaita-L Owner / Web Developer . . http://www.webstyle.com.br . .

RE: [PHP] Redirect upon execution of script...

2001-11-25 Thread Christian Dechery
top of the page - before all the other code. But since $done >is set far down in the code, after my form and db-statements, the header >will never know when to be sent. > >Is there a way of calling a headerfunction in the top of the page? > >- Daniel > > > -Original Messa

[PHP] detecting objects

2001-11-25 Thread Christian Dechery
I'm trying to build serializeAll() and unserializeAll() type functions... but how can I tell from $HTTP_SESSION_VARS which of those vars are serialized objects so I can unserialize them? _____ . Christian Dechery . . Gaita-L Owner / Web Developer . .

[PHP] automatic serial/unserializing with sessions

2001-11-25 Thread Christian Dechery
this work? _____ . Christian Dechery . . Gaita-L Owner / Web Developer . . http://www.webstyle.com.br . . http://www.tanamesa.com.br -- 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 adminis

[PHP] how to acess php array var in Js?

2001-11-27 Thread Christian Dechery
hat nice codewise... any hints? _________ . Christian Dechery . . Gaita-L Owner / Web Developer . . http://www.webstyle.com.br . . http://www.tanamesa.com.br -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

[PHP] include virtual, file or exec cgi?

2001-03-21 Thread Christian Dechery
Can't I or or ??? I'm trying to, the script works fine if I load it normally, but as an include in a shtml (server parsed) file it always returns "error ocurred bla bla bla". What am I doing wrong? . [ Christian Dechery ] . Webdeveloper @ Tá Na Mesa! . Listmas

RE: [PHP] include virtual, file or exec cgi?

2001-03-21 Thread Christian Dechery
nks to .php in files like this that processess nothing only run a few "includes" (all built in C)... but I'd like to be able now to run PHP made stuff... can't I? . [ Christian Dechery ] . Webdeveloper @ Tá Na Mesa! . Listmaster @ Gaita-L . http://www.tanames

Re: [PHP] include virtual, file or exec cgi?

2001-03-21 Thread Christian Dechery
a DSO module or CGI for me to use SSI?? . [ Christian Dechery ] . Webdeveloper @ Tá Na Mesa! . Listmaster @ Gaita-L . http://www.tanamesa.com.br -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact th

Re: [PHP] include virtual, file or exec cgi?

2001-03-21 Thread Christian Dechery
l files as php files, but that >causes the SSI and/or the PHP parser not to run. so... what you're saying is that I can't have a PHP file <#--include-->'ed in a regular server parsed html file? it doesn't work? I can have included C and Perl stuff but not PHP? W

RE: [PHP] include virtual, file or exec cgi?

2001-03-21 Thread Christian Dechery
ing... I'd rather work something out in Perl or C... ________ . Christian Dechery (lemming) . http://www.tanamesa.com.br . Gaita-L Owner / Web Developer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: [PHP] include virtual, file or exec cgi?

2001-03-21 Thread Christian Dechery
5th... all of them work,why not this one? ____ . Christian Dechery (lemming) . http://www.tanamesa.com.br . Gaita-L Owner / Web Developer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] T

[PHP] executables (.exe)

2001-03-21 Thread Christian Dechery
Correct me if I'm completely out of my mind here (often I am). But I think, I read somewhere that u can compile .php files and make executables of them to run in the command line like programs... is this true? How can I get it to work? WHat do I need? ____ . Chri

RE: [PHP] executables (.exe)

2001-03-22 Thread Christian Dechery
ath\to\php-script.php and it >will run on the command line...or just give the full path to the php.exe >file... > >C:\php\bin\php.exe C:\path\to\php-script.php oh okay... I was thinking more of a standalone file like php-script.exe... but that should work as well... Thanks! _______

[PHP] huge time/memory consuming script

2001-03-25 Thread Christian Dechery
I get a good 'memory cleaning' so I can be sure everything is going to get carried out??... there are steps that I'm worried about taking over 30min to finish, like loading the main table with 140.000 rows... thanks... . Christian Dechery (lemming) . http:

[PHP] getting numeric index of array

2001-03-25 Thread Christian Dechery
"whatever" ); I want to, given the key (or value), it returns me the numeric index for that ocurrence... examples: given "one" -> returns 0 given "whatever" -> returns 2 given "two" -> returns 1 given "four" -> returns NU

[PHP] How to jump 7 rows in array

2001-03-25 Thread Christian Dechery
tion per file, more then 20 overall)... ________ . Christian Dechery (lemming) . http://www.tanamesa.com.br . Gaita-L Owner / Web Developer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [E

[PHP] 'How to jump..' part 2

2001-03-25 Thread Christian Dechery
Regarding my last email (about jumping the first 7 rows of an array)... why does this code doesnt work? for(reset($array),$count=0;$count<6;next($array),$count++); . Christian Dechery (lemming) . http://www.tanamesa.com.br . Gaita-L Owner / Web Developer --

Re: [PHP] 'How to jump..' part 2

2001-03-26 Thread Christian Dechery
ements) it would work fine... I'll try... but thanks anyway... :) . Christian Dechery (lemming) . http://www.tanamesa.com.br . Gaita-L Owner / Web Developer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional co

Re: [PHP] 'How to jump..' part 2

2001-03-26 Thread Christian Dechery
ly worked... thanks for the hint: function array_sshift(&$array,$number_of_elements=1) { for($count=0;$count<$number_of_elements;$count++) { array_shift($array); } } ______

php-general@lists.php.net

2001-03-26 Thread Christian Dechery
By doing this: is PHP using the same amount of memory as this: because it seems to me, that the script gets a little slower when I introduce the function method. . Christian Dechery (lemming) . http://www.tanamesa.com.br . Gaita-L Owner / Web

[PHP] array in sessions

2001-03-27 Thread Christian Dechery
How do I store (and update) an array within a session... Like I'd have cuz I'll have more pages... $time["page20"]="300"; is this going to automatically load into the session vars or I have to do something first? ________ . Chri

[PHP] Sessions: what's wrong sith this code?

2001-03-28 Thread Christian Dechery
times for each step (step_times) and the total running time (already working)... . Christian Dechery (lemming) . http://www.tanamesa.com.br . Gaita-L Owner / Web Developer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For ad

[PHP] arrays in sessions, please!

2001-03-29 Thread Christian Dechery
Why I can get this to work? I don't understand... I made another simple script that the only thing it did was the "build array/serialize it/register the session var/ => next page load unserialize it into array/update array/serialize it again".. and it worked like a charm... I'm doing the exact

[PHP] MS SQL errors...

2001-03-29 Thread Christian Dechery
which is not really an error, and the query is executed... but returns false... I don't consider this to be a bug... but there's certainly something wrong about error handling in mssql_db_functions*()... ____ . Christian Dechery (lemming) . http://www.tanamesa.com

  1   2   >