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

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

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] 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] 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] 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] 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: > >

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

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

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] 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

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

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] 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

[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] 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] 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] 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] 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? ___

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:

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

[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

[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] 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] session var being lost between pages

2001-10-01 Thread Christian Dechery
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 . . http://www.webstyle.com.br . . http://www.tana

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

2001-10-01 Thread Christian Dechery
pt > > > can upload, but not replace a file? Thanks, > > > > > > Joe > > > > > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail:

Re: [PHP] displaying certain columns

2001-09-30 Thread Christian Dechery
subscribe, 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.tanamesa

Re: [PHP] help with some printing stuff

2001-09-25 Thread Christian Dechery
t in PDF, it would be > > closed, fixed and printer independent cuz it would have fixed sizes of > > fields and all... > > > > is it easy... can anyone give me some pointers? > > > > thanks... _ . Christian Dechery . . Gaita-L Ow

Re: [PHP] 2 decimal places

2001-09-25 Thread Christian Dechery
At 22:22 19/09/01 -0400, Kurth Bemis wrote: >i'm looking for a php function to add 2 decimal place sto a number. if >the number already have one decimal place then one more zero should be >added to make it two decimal placesanyone know of a quick way to do this? $number=32.5; echo number_

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

[PHP] help with Mysql Query...

2001-09-24 Thread Christian Dechery
s a temporary table, then drop 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 comm

Re: [PHP] Arrays Data

2001-09-23 Thread Christian Dechery
y-unique.php sorry... :) _____ . 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 adm

Re: [PHP] Arrays Data

2001-09-23 Thread Christian Dechery
alue,$new_aray) ) { $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.co

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

2001-09-21 Thread Christian Dechery
> > > >onclick="set_category()"> > > > I understand Netscape is a real pain in the a**... but that should work... maybe it (Netscape)'s being picky about syntax... trye being perfectionist... like: _________ . Christian Dechery . .

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

2001-09-21 Thread Christian Dechery
> > } > > > > ?> > > > > > > > > > onclick="set_category()"> > > > > > > > > > > > > > > # > > > > Neil > > > > --

[PHP] mysql_pconnect()

2001-09-19 Thread Christian Dechery
what is the real advantage or use of mysql_pconnect() ?? can I do transactions between pages or something? Cuz other than that, I don't see the point of having a persistent connection... performance maybe? _____ . Christian Dechery . . Gaita-L Owner / Web Deve

Re: [PHP] real simple regex

2001-09-18 Thread Christian Dechery
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: > &g

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

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

2001-09-16 Thread Christian Dechery
re system which updates >>every 2 min, So I need to get these values and parse it in MySQL after that >>I neeed to get some element from my database and show in my page.. >> >>I have problems in regex I dont know good coding and need only smmall >>support Please help

Re: [PHP] Parsing html table into MySQL

2001-09-16 Thread Christian Dechery
onal commands, e-mail: [EMAIL PROTECTED] >To contact the list administrators, e-mail: [EMAIL PROTECTED] 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

Re: [PHP] sorting multi-dimensional arrays

2001-09-16 Thread Christian Dechery
n an array of: > >$categories[0]["id"]=2; >$categories[0]["name"]="Lele"; > >Please tell us the actual code you're using, or print_r($arrayname); > >/* Chris Lambert, CTO - [EMAIL PROTECTED] >WhiteCrown Networks - More Than White Hats >W

[PHP] code optimization

2001-09-15 Thread Christian Dechery
de. The problem is in my previous 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] ___

[PHP] sorting multi-dimensional arrays

2001-09-15 Thread Christian Dechery
g it right now is by using an auxiliar array that gets all the names, sorts them, and then build a new array based on that... is a better way? p.s: meu novo email é [EMAIL PROTECTED] . Christian Dechery (lemming) . http://www.tanamesa.com.br . Gaita-L Owner / Web

[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] Re: is PHP crazy, or am I?

2001-09-15 Thread Christian Dechery
Volunteer a little time: http://chatmusic.com/volunteer.htm >- Original Message - >From: Christian Dechery <[EMAIL PROTECTED]> >To: Richard Lynch <[EMAIL PROTECTED]> >Cc: <[EMAIL PROTECTED]> >Sent: Friday, September 14, 2001 9:12 AM >Subject: Re: is P

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

[PHP] is PHP crazy, or am I?

2001-09-13 Thread Christian Dechery
nction... what's 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: [E

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

Re: [PHP] foo? bar? wtf?

2001-08-29 Thread Christian Dechery
they don't mean anything... 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 Devel

Re: [PHP] Certification

2001-08-27 Thread Christian Dechery
ful to many of our students who need the >helping hand and/or something more than a book/magazine. > >We'd love to work with others in the PHP community to help develop >a set of certification standards, though there doesn't seem to be a big >outcry for it right now from th

RE: [PHP] PHP mysql admin?

2001-08-27 Thread Christian Dechery
net/ > > >- Original Message - > > > 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-26 Thread Christian Dechery
e what their recommendations >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 Decher

[PHP] Certification

2001-08-26 Thread Christian Dechery
it's 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 unsubscri

Re: [PHP] AudioGalaxy-like stuff

2001-08-25 Thread Christian Dechery
wers :) > >U click 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 > >where myscript.php will do some GD or something and return a image. > >That make sense? > >Bramp >----- Origin

[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

[PHP] AudioGalaxy-like stuff

2001-08-21 Thread Christian Dechery
o the queue without 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] 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... ____ .

Re: [PHP] Re: session security issue

2001-08-14 Thread Christian Dechery
ase the access 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"

[PHP] session security issue

2001-08-14 Thread Christian Dechery
oblem? ____ . 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

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

2001-07-29 Thread Christian Dechery
other than 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 Owne

[PHP] highlighting keywords problem

2001-07-23 Thread Christian Dechery
different case...", with a lowercased keyword... I want to preserve the case of the found text... any ideas . Christian Dechery (lemming) . http://www.tanamesa.com.br . Gaita-L Owner / Web Developer -- PHP General Mailing List (http://www.php.net/) To unsubsc

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

2001-07-10 Thread Christian Dechery
uly 10, 2001 12:10 PM >To: [EMAIL PROTECTED]; [EMAIL PROTECTED] >Subject: RE: [PHP] weird behaviour with ("Z" <= "Z") > >what??? > >are you sure it does that to you? >You sound so confident that it confuses my knowledge that for loop >should be >counti

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

2001-07-10 Thread Christian Dechery
it does that to you? >You sound so confident 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- >Fro

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

2001-07-10 Thread Christian Dechery
search 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")

2001-07-10 Thread Christian Dechery
"Z" <= "Z" is true right?? then why this weird thing happens when I have this code: for($letter="A"; $letter<="Z" ; $letter+) echo " $letter"; it should output " A B C D E . W X Y Z" right? but it outputs " A B C

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

2001-07-08 Thread Christian Dechery
want the exact value in the field with seconds and all, 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-

[PHP] mssql returnin type date all wrong

2001-07-04 Thread Christian Dechery
onds, where 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 ad

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

Re: [PHP] help in getting results from mysql

2001-07-03 Thread Christian Dechery
de in between the queries... >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 ]

[PHP] help in getting results from mysql

2001-07-02 Thread Christian Dechery
h_row($rs2); it works fine... but I don't think it is good... 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

Re: [PHP] $REMOTE_ADDR error

2001-06-28 Thread Christian Dechery
= @gethostbyaddr($HTTP_SERVER_VARS["HTTP_X_FORWARDED_FOR"]); > } >else > > > $ip = $HTTP_SERVER_VARS["REMOTE_ADDR"]; > $host = @gethostbyaddr($HTTP_SERVER_VARS["REMOTE_ADDR"]); > } > >Brave Cobra > >- Original Message - >From: &quo

Re: [PHP] $REMOTE_ADDR error

2001-06-28 Thread Christian Dechery
yeah... that's a possibility... so there's no way I can see the user'ss IP? At 09:42 27/6/2001 +0100, Colin May wrote: >Almost as if the request was proxied or redirected from the local machine >(127.0.0.1 is the local loop back ip) > >Quoting Christian Dechery (Tue,

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

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

2001-06-22 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]

Re: [PHP] upload on Win9x

2001-06-19 Thread Christian Dechery
yes... it goes like Have you set the content type of the form to be multipart MIME ? That >screws me every time... > >AndrewH > >- Original Message - >From: "Christian Dechery" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Sent: Tuesday, Ju

[PHP] upload on Win9x

2001-06-19 Thread Christian Dechery
t still doesn't work... chdir($upload_tmp_path); if(!copy($file,$newfile)) echo "Error uploading $newfile."; else process_file($newfile); . 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 PROTE

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] include and include-virtual

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

[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

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

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] > >

[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

[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

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] 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-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

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

[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

[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

  1   2   >