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

2001-11-27 Thread Christian Dechery
the elements array?? I can't do cb[][0].checked for example... it gives me parse error... using the elements array is not that nice codewise... any hints? _ . Christian Dechery . . Gaita-L Owner / Web Developer . . http://www.webstyle.com.br . . http://www.tanamesa.com.br

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

2001-11-25 Thread Christian Dechery
] _ . Christian Dechery . . Gaita-L Owner / Web Developer . . http://www.webstyle.com.br . . http://www.tanamesa.com.br _ . Christian Dechery . . Gaita-L Owner / Web Developer . . http://www.webstyle.com.br . . http://www.tanamesa.com.br

[PHP] automatic serial/unserializing with sessions

2001-11-25 Thread Christian Dechery
? _ . 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 administrators, e

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

2001-11-21 Thread Christian Dechery
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 up with a problem that apparently has no solution... I want to understand why EXACTLY

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

2001-11-19 Thread Christian Dechery
] _ . 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 administrators, e

[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) ) {

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

2001-11-14 Thread Christian Dechery
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: I don't know what it is... but PHP is acting very weird today... or I am

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

2001-11-13 Thread Christian Dechery
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 up with a problem that apparently has no solution... I want to understand why EXACTLY it does't

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

2001-11-12 Thread Christian Dechery
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.com.br -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail

[PHP] Session probs with SSI

2001-11-10 Thread Christian Dechery
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... _ . Christian Dechery . . Gaita-L Owner

[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 -- PHP General

Re: [PHP] converting string to double

2001-11-10 Thread Christian Dechery
] 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 General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

[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 General Mailing List

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 surprising that not all messages get a response

[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

[PHP] sessions and SSI

2001-11-08 Thread Christian Dechery
file can't create 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

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

2001-10-28 Thread Christian Dechery
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.com.br

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.tanamesa.com.br

[PHP] problems with sessions (not working)

2001-10-27 Thread Christian Dechery
array } } ? the problem is why does it NEVER go into the 'else'... it seems that the session is registered... but as soon as I refresh the page the session is lost... why? _ . Christian Dechery . . Gaita

[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 Owner

[PHP] generating several images in sequence...

2001-10-25 Thread Christian Dechery
of the same type... and they would repeat... any ideas? _ . 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

Re: [PHP] In Toronto Next week

2001-10-23 Thread Christian Dechery
?? :)) _ . 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

[PHP] GD: need better solution...

2001-10-23 Thread Christian Dechery
of the same type... and they would repeat... any ideas? _ . 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

[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 . . http

[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
on 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://www.php.net

RE: [PHP] IDE for Linux

2001-10-21 Thread Christian Dechery
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... does it have a win32 version??? _ . Christian Dechery . . Gaita-L

[PHP] help with exec()...

2001-10-05 Thread Christian Dechery
I'm running with some trouble with exec(), system() and it's friends... I have a MySQL backup script that somewhere have something like $cmd=mysqldump .. somefile.sql; if( !fopen(somefile.sql,r) ) { print error message }; $cmd is correct... I've copy-pasted it tons of times in the

Re: [PHP] PHP 4.0.6 on NT (IIS 4.0) Can't replace uploaded file

2001-10-01 Thread Christian Dechery
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 General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

Re: [PHP] session var being lost between pages

2001-10-01 Thread Christian Dechery
/intl.asp -- 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] _ . Christian Dechery . . Gaita-L Owner / Web Developer

Re: [PHP] displaying certain columns

2001-09-30 Thread Christian Dechery
-mail: [EMAIL PROTECTED] _ . 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] help with some printing stuff

2001-09-25 Thread Christian Dechery
I'm having some trouble putting on a formatting to printer script. I've done it in ASP to print CDs tracklists... 4 per page. Since I know nothing about Word macros, I've done it in HTML and it's working fine... it's customizable and all.. but the problem I have is printers... since it's in

Re: [PHP] help with some printing stuff

2001-09-25 Thread Christian Dechery
pointers? 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-mail: [EMAIL PROTECTED] For additional commands, e-mail

[PHP] help with Mysql Query...

2001-09-24 Thread Christian Dechery
it... _ . 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

Re: [PHP] Arrays Data

2001-09-23 Thread Christian Dechery
) ) { $new_array[]=$value; } } at the end of this loop $new_array contains all data from $your_array with no duplicates... _ . Christian Dechery . . Gaita-L Owner / Web Developer . . http://www.webstyle.com.br . . http://www.tanamesa.com.br -- PHP General

Re: [PHP] Arrays Data

2001-09-23 Thread Christian Dechery
... :) _ . 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 administrators, e-mail

Re: [PHP] Re: calling javascript function from a form image

2001-09-21 Thread Christian Dechery
ditional 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 General Mailing List (http://www

Re: [PHP] calling javascript function from a form image

2001-09-21 Thread Christian Dechery
picky about syntax... trye being perfectionist... like: input type=image name=sub value= src=genre.png onClick=set_category(); _ . Christian Dechery . . Gaita-L Owner / Web Developer . . http://www.webstyle.com.br . . http://www.tanamesa.com.br -- PHP General Mailing

Re: [PHP] real simple regex

2001-09-18 Thread Christian Dechery
and I need to get the email address from the field from that can be something like: $from = Christian Dechery [EMAIL PROTECTED]; so what I want is: the string between '' and '' or the last 'word' of the 'sentence' (for something like \Christian Dechery\ [EMAIL PROTECTED]). thanks

[PHP] real simple regex

2001-09-17 Thread Christian Dechery
I had to write my own mail() function cuz PHP's does not work in Windows very well.. But I suck at regex and I need to get the email address from the field from that can be something like: $from = Christian Dechery [EMAIL PROTECTED]; so what I want is: the string between '' and '' or the last

Re: [PHP] sorting multi-dimensional arrays

2001-09-16 Thread Christian Dechery
us the actual code you're using, or print_r($arrayname); /* Chris Lambert, CTO - [EMAIL PROTECTED] WhiteCrown Networks - More Than White Hats Web Application Security - www.whitecrown.net */ - Original Message - From: Christian Dechery [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday

Re: [PHP] Parsing html table into MySQL

2001-09-16 Thread Christian Dechery
] . 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]

Re: Fwd: Re: [PHP] Parsing html table into MySQL

2001-09-16 Thread Christian Dechery
.. I have problems in regex I dont know good coding and need only smmall support Please help me :) - Original Message - From: Christian Dechery [EMAIL PROTECTED] To: i_union [EMAIL PROTECTED]; Chris Lambert [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, September 10, 2001 7:57 PM

[PHP] Re: is PHP crazy, or am I?

2001-09-15 Thread Christian Dechery
: Christian Dechery [EMAIL PROTECTED] To: Richard Lynch [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Friday, September 14, 2001 9:12 AM Subject: Re: is PHP crazy, or am I? I must have deleted the line by accident... $trocou=true; is right below $vetor[$j+1]=$aux; would that make sense

[PHP] help with some nasty recursive algorithm

2001-09-15 Thread Christian Dechery
I need some help with an algorithm that I'm writing to build a categories array, based on the mysql table. the table goes by: id_category, name_category, parent_category and with a simple query, with a group by and after doing a little for(;;) processing, I get the following array.. categ

[PHP] sorting multi-dimensional arrays

2001-09-15 Thread Christian Dechery
way? p.s: meu novo email é [EMAIL PROTECTED] . 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

[PHP] code optimization

2001-09-15 Thread Christian Dechery
mail help with nasty recursive algorithm... I'm using 5 for(;;) loops, and it took 68 lines of code (including 3 small functions) to achieve it... it's kinda of too much, don't you think??? p.s: meu novo email é [EMAIL PROTECTED] . Christian Dechery (lemming) . http

[PHP] Re: is PHP crazy, or am I?

2001-09-14 Thread Christian Dechery
I must have deleted the line by accident... $trocou=true; is right below $vetor[$j+1]=$aux; would that make sense? I'm not worried about the optimization here... I want to get time results for bubblesort... and then I'm going to heap, quick, and others... It's some college homework for my

[PHP] PHP core error in mail()

2001-09-13 Thread Christian Dechery
I wrote a PHP script to send a lot of emails, some of them with lots of bytes that comes from a URL-fopen()'ed ASP page... the script works fine... but when a large (I don't mean huge... just some 50k worth of HTML data) email is going to be sent, PHP crashes with an error like this error in

[PHP] is PHP crazy, or am I?

2001-09-13 Thread Christian Dechery
the thing here? I'm I nuts? p.s: meu novo email é [EMAIL PROTECTED] . 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

Re: [PHP] foo? bar? wtf?

2001-08-29 Thread Christian Dechery
... but I think they refer to FUBAR. Do you know what FUBAR is right? F*CKED UP BEYOND ALL RECOGNITION. heheh :) p.s: meu novo email é [EMAIL PROTECTED] . Christian Dechery (lemming) . http://www.tanamesa.com.br . Gaita-L Owner / Web Developer -- PHP General Mailing List

RE: [PHP] PHP mysql admin?

2001-08-27 Thread Christian Dechery
- Are there any free PHP mysql database admin programs out there? p.s: meu novo email é [EMAIL PROTECTED] . Christian Dechery (lemming) . http://www.tanamesa.com.br . Gaita-L Owner / Web Developer

Re: [PHP] Certification

2001-08-27 Thread Christian Dechery
to help develop a set of certification standards, though there doesn't seem to be a big outcry for it right now from the community. Christian Dechery wrote: I know this is a recurrent question around here... but it's always nice to ask: Is there (or is it in process of...) any kind of certification

[PHP] Certification

2001-08-26 Thread Christian Dechery
because there is no certification, or proof of any kind from a respected or well-known organization. . 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

Re: [PHP] Certification

2001-08-26 Thread Christian Dechery
are in terms of degrees or certifications. /* Chris Lambert, CTO - [EMAIL PROTECTED] WhiteCrown Networks - More Than White Hats Web Application Security - www.whitecrown.net */ - Original Message - From: Christian Dechery [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, August 26, 2001 4:53 PM

Re: [PHP] AudioGalaxy-like stuff

2001-08-25 Thread Christian Dechery
the image, and JScript loads a new image named (image.php) this is infact a php script which returns a image... So it like doing img src=myscript.php where myscript.php will do some GD or something and return a image. That make sense? Bramp - Original Message - From: Christian Dechery [EMAIL

[PHP] AudioGalaxy-like stuff

2001-08-21 Thread Christian Dechery
leaving your current page... and the icon changes color (this is easy with Js, but that's not the point).. Does anyone know how they did that? . Christian Dechery (lemming) . http://www.tanamesa.com.br . Gaita-L Owner / Web Developer -- PHP General Mailing List

[PHP] md5(), uniqid(), rand(), password()

2001-08-21 Thread Christian Dechery
Is mysql's PASSWORD() function secure for storing passwords? Or should I use one of PHP's md5() or uniqid(), or even md5(uniqid()) ??? . Christian Dechery (lemming) . http://www.tanamesa.com.br . Gaita-L Owner / Web Developer -- PHP General Mailing List (http

[PHP] session security issue

2001-08-14 Thread Christian Dechery
on or not... but what if somebody calls the script directly from the address bar like this: http://server/script.php?uid=10 wouldn't this be a security problem? . Christian Dechery (lemming) . http://www.tanamesa.com.br . Gaita-L Owner / Web Developer -- PHP General

Re: [PHP] Re: session security issue

2001-08-14 Thread Christian Dechery
on that ? that's what i use and then register uid with the session as well so you can use it througout your site ... ok you've got me worried now, are there any problems with security doing it that way Steve Christian Dechery [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL P

[PHP] javascript reference (slightly ot)

2001-08-14 Thread Christian Dechery
Sorry for the OT but, but I'm struggling to get my forms to have a good validation in JavaScript. Does anyone know a complete reference to JavaScript, like, with all objects, it's functions, parameters and etc... that would help a lot.. Thanks... . Christian

[PHP] NuSphere.. what is it???

2001-07-29 Thread Christian Dechery
that... I can't see why it's so expensive... it's all opensource... it's all free... they have phpMyAdmin as the MySQL client... what are we paying for here? . Christian Dechery (lemming) . http://www.tanamesa.com.br . Gaita-L Owner / Web Developer -- PHP General

[PHP] highlighting keywords problem

2001-07-23 Thread Christian Dechery
. 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]

RE: [PHP] weird behaviour with (Z = Z)

2001-07-10 Thread Christian Dechery
the archives...i think someone had a simple workaround using chr() to get what you want... jack -Original Message- From: Christian Dechery [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 10, 2001 11:45 AM To: [EMAIL PROTECTED] Subject: [PHP] weird behaviour with (Z = Z) Z = Z is true right

RE: [PHP] weird behaviour with (Z = Z)

2001-07-10 Thread Christian Dechery
that it confuses my knowledge that for loop should be counting integers, not strings (Z is a string and there's nothing bigger or lower it) -maxim maletsky -Original Message- From: Christian Dechery [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 11, 2001 12:45 AM To: [EMAIL PROTECTED] Subject

RE: [PHP] weird behaviour with (Z = Z)

2001-07-10 Thread Christian Dechery
is a string and there's nothing bigger or lower it) -maxim maletsky -Original Message- From: Christian Dechery [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 11, 2001 12:45 AM To: [EMAIL PROTECTED] Subject: [PHP] weird behaviour with (Z = Z) Z = Z is true right?? then why this weird thing

[PHP] datetime on MSSQL doesn't work with PHP

2001-07-08 Thread Christian Dechery
, not a converted value. How can I prevent this? . 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

[PHP] mssql returnin type date all wrong

2001-07-04 Thread Christian Dechery
are they??? . [ 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 the list administrators, e-mail

Re: [PHP] help in getting results from mysql

2001-07-03 Thread Christian Dechery
... Try $rs1=mysql_query(select max(date) AS latest, * from tablename where item_id=34 and item_type_id=3); but consider that you may possibly have multiple entries for the latest date? . [ Christian Dechery ] . Webdeveloper @ Tá Na Mesa! . Listmaster @ Gaita-L . http

Re: [PHP] help in getting results from mysql

2001-07-03 Thread Christian Dechery
At 12:07 4/7/2001 +0930, David Robley wrote: On Wed, 4 Jul 2001 00:00, Christian Dechery wrote: well... I tought of that. It doesn't work for many reasons: 1 - '*' always has to be the first on the select list 2 - you can't have expressions (max, min, avg) without a group by clause

[PHP] help in getting results from mysql

2001-07-02 Thread Christian Dechery
... whenever there is 'code' between queries to get results I think something could be optimized. Any ideas? . 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] $REMOTE_ADDR error

2001-06-27 Thread Christian Dechery
why do $REMOTE_ADDR always returns 127.0.0.1 no matter the user's IP who is seeing the page? this doesn't look 'remote' to me... . Christian Dechery (lemming) . http://www.tanamesa.com.br . Gaita-L Owner / Web Developer -- PHP General Mailing List (http

[PHP] file uploads in Win9x, anyone? please?

2001-06-23 Thread Christian Dechery
this... . 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] upload on Win9x

2001-06-19 Thread Christian Dechery
,$newfile)) echo pfont face=tahoma size=2bError uploading $newfile./b/font/p; else process_file($newfile); /pre . Christian Dechery (lemming) . http://www.tanamesa.com.br . Gaita-L Owner / Web Developer

Re: [PHP] upload on Win9x

2001-06-19 Thread Christian Dechery
. Christian Dechery (lemming) . http://www.tanamesa.com.br . Gaita-L Owner / Web Developer . Christian Dechery (lemming) . http://www.tanamesa.com.br . Gaita-L Owner / Web Developer

[PHP] a little ot, mysql binary fields

2001-05-24 Thread Christian Dechery
How do I backup a blob field in mysql? Every time I dump it (to a text file via phpMyAdmin)... it creates insert lines but the binary data is all screwed up and when I load it it gives me error messages... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

[PHP] include and include-virtual

2001-05-23 Thread Christian Dechery
What is the main difference between: !--#include ... !--#include virtual ... !--#exec cgi... the only one that seems to work for PHP files is 'include virtual'. 'exec cgi' as well as 'include' gives me that message 'an error ocurred while processing this directive'... -- PHP General Mailing

Re: [PHP] include and include-virtual

2001-05-23 Thread Christian Dechery
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/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [PHP] Getting email out of a database

2001-05-19 Thread Christian Dechery
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] . Christian Dechery (lemming) . http://www.tanamesa.com.br . Gaita-L Owner

[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... . Christian Dechery (lemming) . http

[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
(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] Christian Dechery [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL P

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
) 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 that hazardous? _ . Christian Dechery - CTO .. WebDeveloper @ Webstyle

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: ?php include(http://www.remotehost.com/~myaccount/mailfunction.inc;); mymail($to, $mailbody); ? where mailfunction.inc has the mymail function defined

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:

[PHP] need some ideas here...

2001-05-14 Thread Christian Dechery
in another host that can send mails, of course with the necessary parms...; code code code; code code code; ? . Christian Dechery (lemming) . http://www.tanamesa.com.br . Gaita-L Owner / Web Developer -- PHP General Mailing List (http://www.php.net

[PHP] need better solution...

2001-05-14 Thread Christian Dechery
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... that should always apear... the most

Re: [PHP] need better solution...

2001-05-14 Thread Christian Dechery
... . 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

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

2001-05-14 Thread Christian Dechery
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: [PHP] need some ideas here... My free-web-hosting (www.f2s.com) does not allow PHP

Re: [PHP] mysql: UPDATE statment

2001-05-11 Thread Christian Dechery
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 General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

[PHP] fopen() and persmissions

2001-05-10 Thread Christian Dechery
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 Developer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

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

2001-05-09 Thread Christian Dechery
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 reference on these header stuff? . [ Christian Dechery ] . Webdeveloper @ Tá Na Mesa

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 in this list...

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. thanks

[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 @ Webstyle! .. http

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 List

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

2001-05-09 Thread Christian Dechery
echo the $mail_body (I think) it's correct, but when I get the mail it's all screwed up... thanks... _ . Christian Dechery - CTO .. WebDeveloper @ Webstyle! .. http://www.webstyle.com.br .. http://www.tanamesa.com.br -- PHP General Mailing List (http

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

  1   2   >