[PHP] Re: Creating a installer...

2002-02-25 Thread Julio Nobrega
www.phpbb.org has one. Basically creates a bunch of database tables and modify a few files. -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca Ajudei? Salvei? Que tal um presentinho? http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884 Sascha Ragtschaa

[PHP] Re: PHP 4.1.2 binary for windows

2002-03-07 Thread Julio Nobrega
If you are looking for the security patch (I believe the only reason 1.2 was released), don't worry, the bug doesn't affect Windows. Unless there are other changes? -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca Ajudei? Salvei? Que tal um presentinho? http

Re: [PHP] php, text file, and mysql

2002-03-07 Thread Julio Nobrega
Hi, just two quick notes: About text and similar fields: http://mysql.com/doc/S/t/String_types.html About not storing images: http://mysql.com/doc/T/i/Tips.html (close to the middle). That's it :-) -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca -- PHP

[PHP] Re: Calling a javascript function?

2002-03-21 Thread Julio Nobrega
Maybe not the way you have imagined, but either you do it outside php (out of ?php ?) or you echo it. -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca Ajudei? Salvei? Que tal um presentinho? http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884 David

[PHP] Re: Calling a javascript function?

2002-03-21 Thread Julio Nobrega
Like I said: ?php if (something true) { echo 'somejavafunc();'; } ? ?php if (something true) { ? somejavafunc(); ?php } ? -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] Re: More fun with sessions

2002-03-21 Thread Julio Nobrega
From all users on your site? I guess only if you open the directory where the session files are stored. And loop through the files, opening each one and interpreting the contents. -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca Ajudei? Salvei? Que tal um

[PHP] Re: [newman] Whats wrong with this MySql Statement?

2002-03-22 Thread Julio Nobrega
mysql_query(UPDATE access SET accessVIEW = accessVIEW+1 WHERE accessIP = '$proxy_ip'); Singles quotes around $proxy_ip? -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca Ajudei? Salvei? Que tal um presentinho? http://www.submarino.com.br/wishlistclient.asp?wlid

[PHP] Re: Tool to remove comments??

2002-03-22 Thread Julio Nobrega
There's an php obfuscator, http://pobs.mywalhalla.net/, and one of the options is to remove comments. -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca Ajudei? Salvei? Que tal um presentinho? http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884 Oliver

[PHP] Re: Include Error on PHP 4.1.2

2002-03-25 Thread Julio Nobrega
ini_set ('include_path', '/new/path'). Change '/new/path' to (usually) your website root. Beleza? ;-) -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca Alberto Wagner [EMAIL PROTECTED] wrote in message LI41WQTNUO1TTQHGHBGEGBBAWVWUB0E.3ca4d9dd@alberto

[PHP] Find if a html tag was closed

2002-03-25 Thread Julio Nobrega
solutions. Any help is appreciated, since I promised to myself to learn regex tonight :-) Thanks, -- Julio Nobrega. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Has anyone looked at phpinfo today?

2002-04-01 Thread Julio Nobrega
Also the last question from this page: http://www.php.net/license/ If what the guy is holding in his mouth is really this... -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca Ajudei? Salvei? Que tal um presentinho? http://www.submarino.com.br/wishlistclient.asp

Re: [PHP] Re: alphabetizing titles when first word begins with 'The','A',etc.

2002-04-12 Thread Julio Nobrega
... -- Julio Nobrega. Tô chegando: http://www.inerciasensorial.com.br Analysis Solutions [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Wed, 12 Apr 2000, Steph wrote: Hi. Im using MySQL and as part of my tables I have titles (of stories). My que

[PHP] Re: HTML select form element

2002-04-12 Thread Julio Nobrega
select name=majors[] multiple size=6 option value=ArtArt/option option value=BiologyBiology/option option value=Business and EconomicsBusiness and Economics/option etc. etc. /select Note the [] after majors. Now majors is an array with the selected values. -- Julio Nobrega. Tô

[PHP] Re: Speeding up PHP or MySQL

2002-07-24 Thread Julio Nobrega
the next query comes, compare if one already exists on the database. If so, only grab the rawdata, ie, the previous results. And read Mysql's manual section about optimization if you haven't done so already, since it has important tips. -- Julio Nobrega Pode acessar: http

[PHP] Re: date

2002-07-24 Thread Julio Nobrega
(CURRENT_DATE), 'Today', IF (date_field = DATE_SUB(date_field, INTERVAL 1 DAYS), 'Yesterday', date_field)) FROM table If the date isn't today or yesterday, you will get the date_field contents. -- Julio Nobrega Pode acessar: http://www.inerciasensorial.com.br Alexander Ross [EMAIL PROTECTED] escreveu

[PHP] Re: Storing images in MySql

2002-04-16 Thread Julio Nobrega
contents. So it it's much easier to get a fast system if you are using files. I guess Mysql developers are a good reference ;-) -- Julio Nobrega. Tô chegando: http://www.inerciasensorial.com.br Mike Fifield [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]..

[PHP] Re: CMS -- central module handling

2002-04-20 Thread Julio Nobrega
'steal' good programming ideas :-D -- Julio Nobrega. Tô chegando: http://www.inerciasensorial.com.br Lauri Vain [EMAIL PROTECTED] wrote in message 000301c1e856$f357e5e0$1431a8c0@tharapita">news:000301c1e856$f357e5e0$1431a8c0@tharapita... Hello there, I'm seriously researching some

[PHP] Comments Display, with replies

2002-04-20 Thread Julio Nobrega
how to display the comments like this: - Comment 1 - Comment 2 - Comment 3 Is greatly appreciated. I am thinking about storing all comments in an array and construct the layout from there. But still, I don't know if it's the best choice in performance terms. Thanks, -- Julio Nobrega. Tô

[PHP] Re: To store or not to store . . .

2002-04-24 Thread Julio Nobrega
Store a link to the file! Mainly because filesystems are designed to store, er.. files ;-) There's a note on Mysql's manual, under Optimizations, that recommends this. -- Julio Nobrega. Tô chegando: http://www.inerciasensorial.com.br Php List [EMAIL PROTECTED] wrote in message

[PHP] Re: Redirecting

2002-04-26 Thread Julio Nobrega
Send head()ers before any html output (including spaces or newlines before ?php) -- Julio Nobrega. Tô chegando: http://www.inerciasensorial.com.br Liam Mackenzie [EMAIL PROTECTED] wrote in message 006801c1ed9e$1fddf4a0$0400a8c0@enigma">news:006801c1ed9e$1fddf4a0$0400a8c0@enigma...

[PHP] Re: php beginner

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

[PHP] Re: mysql question

2002-07-26 Thread Julio Nobrega
Christian Calloway em Friday 26 July 2002 17:30 foi agraciado com uma resposta por: Sorry this may be a little offtopic, but I am currently moving a site I was developing from coldfusion+MSAccess to PHP+MySQL. I remembered reading somewhere that there is a utility that will convert/transfer

[PHP] Re: Quotes getting screwed up in form fields

2002-07-27 Thread Julio Nobrega
I would guess your value doesn't have double quotes around. input type=text value=?php echo $var; ? size=20 / Because what might happen is this: input type=text value=New York \City\ size=20 Also, take a look at stripslashes() to remove the \ before the . -- Julio Nobrega Pode acessar

[PHP] Re: PHP implementation of something like Apache's mod_speling?

2002-07-31 Thread Julio Nobrega
How about a file wilh all the directories and you compare its contents using similar_text() or soundex/metaphone() with the url/directory that failed? Shouldn't be too hard to implement. -- Julio Nobrega Pode acessar: http://www.inerciasensorial.com.br Tim Luoma [EMAIL PROTECTED] escreveu

[PHP] Re: decrypting values in MYSQL

2002-08-01 Thread Julio Nobrega
You can't view it anymore. You can compare a string with PASSWORD('string') to see if they match. -- Julio Nobrega Pode acessar: http://www.inerciasensorial.com.br Michael P. Carel [EMAIL PROTECTED] escreveu na mensagem 001101c239c1$541db6a0$[EMAIL PROTECTED]">news:001101c239c1$

[PHP] Re: PHP4 and MySql - Search Results Question?

2002-08-02 Thread Julio Nobrega
You could select everything, count the results, and just show 15 results. I am not sure that a COUNT() with LIMIT will perform the desired effect. -- Julio Nobrega Pode acessar: http://www.inerciasensorial.com.br Jason Caldwell [EMAIL PROTECTED] escreveu na mensagem [EMAIL PROTECTED

RE: [PHP] JSP vs. PHP?

2002-08-09 Thread Julio Nobrega
, yearly. But s, the people at the Evangelism mailing list are expecting details already ;-) -- Julio Nobrega http://gnet.inerciasensorial.com.br -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Thumb nail of a web page

2002-08-10 Thread Julio Nobrega
. The problem is getting to know if (and how much) you need to scroll down to see the rest of the content... -- Julio Nobrega Pode acessar: http://www.inerciasensorial.com.br Jason Wong [EMAIL PROTECTED] escreveu na mensagem [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Saturday 10 Aug

[PHP] Re: weird urls

2002-08-10 Thread Julio Nobrega
Well, it's a GET parameter, not a server file. Probably the file source.php has a command to include the file /index.php. if (isset($_GET['url'])) { // Security check, prepend filesystem or webserver root and include($url); } -- Julio Nobrega Pode acessar: http

[PHP] Re: is this possible ...

2002-08-10 Thread Julio Nobrega
Yes, it's possible. You concatenate the form variables with the html, transform it to a file and attach to the email. -- Julio Nobrega Pode acessar: http://www.inerciasensorial.com.br M.E. Suliman [EMAIL PROTECTED] escreveu na mensagem 000701c24097$044a1b00$9fb71fc4@b1s0n2">news:0007

[PHP] Re: Random mirrors and download quota

2002-08-11 Thread Julio Nobrega
. -- Julio Nobrega Pode acessar: http://www.inerciasensorial.com.br Andrew Conner [EMAIL PROTECTED] escreveu na mensagem [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hello, I have a script (at bottom) that, upon loading, will randomly select a mirror or primary server (on average, the

Re: [PHP] Hacker?

2002-08-11 Thread Julio Nobrega
What about all the users of his web site that are requesting his php scrpts that are compiling through my server? Contact him and ask to stop. If he doesn't, block. It will be him that will lose customers, not you. -- Julio Nobrega Pode acessar: http://www.inerciasensorial.com.br Rps

[PHP] Shared network server failing to include files

2002-08-14 Thread Julio Nobrega
the beggining: How can I server webpages from a networked Linux through the Windows 2000 that is connected to the Internet? Any help is sincerely appreciated. Thanks, -- Julio Nobrega -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Shared network server failing to include files

2002-08-14 Thread Julio Nobrega
the beggining: How can I server webpages from a networked Linux through the Windows 2000 that is connected to the Internet? Any help is sincerely appreciated. Thanks, -- Julio Nobrega -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Shared network server failing to include files

2002-08-14 Thread Julio Nobrega
pages are served normally. The problem is when I use require() (and similar) functions. It can't find the files. I've edited php.ini and used .htaccess to specify the include_path() but no luck yet... Still researching! -- Julio Nobrega http://gnet.inerciasensorial.com.br -- PHP General

[PHP] Re: Drop down reload

2002-08-16 Thread Julio Nobrega
http://www.zend.com/zend/tut/drop-down.php -- Julio Nobrega Me empurraram pra chegar lá mais rápido! http://www.inerciasensorial.com.br Christian Ista [EMAIL PROTECTED] wrote in message 000201c2451b$94fe4300$c000a8c0@p3portable">news:000201c2451b$94fe4300$c000a8c0@p3portable... Hello,

[PHP] Re: Cleanup script

2002-08-18 Thread Julio Nobrega
I just had a massive open house party... Is it possible to write a PHP script to collect all the bottles and cans, mop the floor, fumigate the carpet and make me lunch? PHP is all. You need. -- Julio Nobrega Pode acessar: http://www.inerciasensorial.com.br Liam Mackenzie [EMAIL

[PHP] ~off: Discovering what values start and finish x% of the records

2002-09-26 Thread Julio Nobrega
erratic values too. So I am open to any suggestions, since I've lost my afternoon on this problem. Any advice is appreciated, and sorry for my english (I am from Brazil). Many thanks, -- Julio Nobrega http://www.inerciasensorial.com.br [1] = Sorry if the intro was too long. [2

[PHP] Multiple Inheritance Emulation

2002-09-27 Thread Julio Nobrega
('A'); $a-insideA(); $b = parent::callClass('B'); $b-insideB(); } } $c = new C(); $c-insideC(); -- And it echo: I'm inside A! I'm inside B! -- Julio Nobrega http://gnet.inerciasensorial.com.br -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

[PHP] Re: remembering variables between pages when using forms ...

2001-10-18 Thread Julio Nobrega
either could put an 'onunload' javascript event on the body tag to submit the form or register it on a session, to later retreive it anywhere you would like (i.e, the third page) -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca Baker Downloads [EMAIL PROTECTED

[PHP] Re: regardnig receiving mails

2001-10-25 Thread Julio Nobrega
http://www.uebimiau.sili.com.br/ It's a script from my friend. Works with files (i.e, no database). You can analise his code, modify, fork, improve (that I know he would like ;-)) at will. -- Julio Nobrega. Um dia eu chego la: http://sourceforge.net/projects/toca Nigam Chheda [EMAIL

[PHP] Does unset() help performance?

2001-10-25 Thread Julio Nobrega
Hi All, If I unset variables/arrays/etc, that I will not use on my script anymore, should I expect a performance increase? -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

[PHP] Re: How to determine a valid Date

2001-10-28 Thread Julio Nobrega
checkdate(); http://www.php.net/manual/en/function.checkdate.php -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca Carlos Fernando Scheidecker Antunes [EMAIL PROTECTED] wrote in message 009e01c16013$d2627ec0$0a505ad1@Nando4">news:009e01c16013$d2627ec0$

[PHP] Re: Zipping a folder on a win2000 server with php4.06

2001-10-30 Thread Julio Nobrega
Well, you could use exec(); or system(); to call a command line zipping application to compress the directory. -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca Stefan Rusterholz [EMAIL PROTECTED] wrote in message 003701c1614b$2ab8cc40$3c01a8c0@quasimodo"

[PHP] Re: odrer by alphabet

2001-12-03 Thread Julio Nobrega
SELECT column FROM table ORDER BY name; -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca Ajudei? Salvei? Que tal um presentinho? http://www.submarino.com.br/wishlistclient.asp?wlid=1767 Rambo Amadeus [EMAIL PROTECTED] wrote in message 001c01c17c69$87eab200

[PHP] Re: Scripts to provide free emails

2001-12-04 Thread Julio Nobrega
You can always see more at www.hotscripts.com/PHP But here's one from a friend, people seem to like it: http://www.uebimiau.sili.com.br -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca Ajudei? Salvei? Que tal um presentinho? http://www.submarino.com.br

[PHP] $PHPSESSID on PHP 4.1.0

2001-12-17 Thread Julio Nobrega Trabalhando
this var now have a new name, some new way to access it? Thanks for any help, -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

[PHP] Re: $PHPSESSID on PHP 4.1.0

2001-12-18 Thread Julio Nobrega Trabalhando
already started (checked with print_r($_SESSION)), Tim for the creative insight ($_SESSION['PHPSESSID']) and Tom, who found the solution. So, that's it. Looks like there's no more $PHPSESSID That makes porting a little bit more annoying :-) -- Julio Nobrega. Um dia eu chego lá: http

Re: Re: [PHP] Passing through Array's to another script

2001-12-18 Thread Julio Nobrega Trabalhando
parameters too. It's not about the form, but the page that is being loaded. Maybe it can receive GET and POST at the same time?... I guess that's the case. -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e

Re: [PHP] Passing through Array's to another script

2001-12-18 Thread Julio Nobrega Trabalhando
available. What should not work is this: aaa.php: form method=post action=bbb.php input name=var input type=submit /form bbb.php: echo $_GET['var']; But for this one I didn't test... -- Julio Nobrega. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

Re: [PHP] Re: $PHPSESSID on PHP 4.1.0

2001-12-18 Thread Julio Nobrega Trabalhando
Yes, I know. But the problem is PHP 4.1.0, or maybe something on the new php.ini that comes with. My scripts were echo'ing $PHPSESSID fine before it. -- Julio Nobrega. Um dia eu chego la: http://sourceforge.net/projects/toca Andrey Hristov [EMAIL PROTECTED] wrote in message 032e01c187db

Re: [PHP] Re: $PHPSESSID on PHP 4.1.0

2001-12-18 Thread Julio Nobrega Trabalhando
Yes! That's it. I was accessing vars using new methods, but I forgot $PHPSESSID was supposed to have globals on. So simple, yet I have flooded the list with messages. Thanks Andrey, I think it's better next time look at all possible options ;-) -- Julio Nobrega. Um dia eu chego la: http

[PHP] One good thing about $_SESSION

2001-12-26 Thread Julio Nobrega Trabalhando
and easier to read. -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca Ajudei? Salvei? Que tal um presentinho? http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

Re: [PHP] One good thing about $_SESSION

2001-12-26 Thread Julio Nobrega Trabalhando
Yes, but I just thought of doing this way when porting :-)) PS: (Not 100% true, there's the question of $_SESSION being global now. Makes life easier too :-)) -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca -- PHP General Mailing List (http://www.php.net

[PHP] Re: How to desactivate some functions ?

2001-12-28 Thread Julio Nobrega Trabalhando
php.ini has a disable_functions setting, maybe acessable by ini_set() too... -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca Ajudei? Salvei? Que tal um presentinho? http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884 Yves Reveillon [EMAIL PROTECTED

[PHP] Re: PHP dependent on connection speed?

2002-01-03 Thread Julio Nobrega Trabalhando
execution time could be affected based on the connection speed. Like, 10 seconds for modem users and 2 or 4 seconds for cable connections. But I have never seen a script that would use this technique... -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca Ajudei? Salvei? Que

[PHP] From 4.1 to 4.04pl1

2002-01-04 Thread Julio Nobrega Trabalhando
it's not a var that existed ($_POST, $_SESSION, etc...) and different scope. I have a main file where maybe I can do $_POST = $HTTP_POST_VARS. But I can't scape from the scope problem. Anyway to make $_POST/$_SESSION/etc global on all functions on all files? -- Julio Nobrega. Um dia eu chego

[PHP] if() Load a different php.ini

2002-01-08 Thread Julio Nobrega Trabalhando
, -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca Ajudei? Salvei? Que tal um presentinho? http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

[PHP] Re: E-Commerce

2002-01-08 Thread Julio Nobrega Trabalhando
I haven't used, but heard good stuff from folks of the local mailing list, from TEP. http://theexchangeproject.org/ -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca Ajudei? Salvei? Que tal um presentinho? http://www.submarino.com.br/wishlistclient.asp?wlid

[PHP] Re: PHP vs. ASP

2002-01-09 Thread Julio Nobrega Trabalhando
on that? :-)). -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca -- 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] Re: Newbie

2002-01-09 Thread Julio Nobrega Trabalhando
to write more code (of if/else { SELECT/INSERT/UPDATE/DELETE), and the performance overhead of so many db queries might not be a good idea. Can't afirm 100% since I don't know your complete enviroment, but from what you told and my personal experience, I would go with sessions. -- Julio Nobrega

[PHP] Re: PHP vs. ASP

2002-01-09 Thread Julio Nobrega Trabalhando
. -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca Ajudei? Salvei? Que tal um presentinho? http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[PHP] Re: Redirection and Passing Data (arrays)

2002-01-15 Thread Julio Nobrega Trabalhando
session_register('array_of_selected_checkboxes'); Just use sessions! ;-) -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca Ajudei? Salvei? Que tal um presentinho? http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884 M. Ali [EMAIL PROTECTED] wrote

[PHP] Re: Sound File Available???

2002-01-15 Thread Julio Nobrega Trabalhando
file_exists(); if (file_exists('1234.rm')) { // show one image } else { // show another image } Just correct the path of file_exists argument to the one you need/use. -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca Ajudei? Salvei? Que tal um presentinho

[PHP] Re: PHP image rollovers question...

2002-01-15 Thread Julio Nobrega Trabalhando
have a 'j', from Javascript. Another two possibilities: 1) You escape the s: echo script style=\javascript\; 2) You put inside ' so it will get printed: echo 'script style=javascript'; Hope it helps, -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca Ajudei

[PHP] Re: HTTP_IL_PAD global variable?

2002-01-16 Thread Julio Nobrega Trabalhando
I don't have it! Could not find using echo $HTTP_IL_PAD neither saw it at phpinfo(). Do you have any non-default module installed? -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca Bill [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL P

[PHP] Re: Scripts keep refreshing

2002-01-18 Thread Julio Nobrega Trabalhando
Maybe you were doing something like this: if (function() == true) { header(Location: this_page.php); } And your function() is now broken because you upgraded to php4? It's probaly something like this, some function that worked on php3 and now it's not. -- Julio Nobrega. Um dia eu

[PHP] Re: Feature Suggestion

2002-01-18 Thread Julio Nobrega Trabalhando
?php $array = range('a','z'); ? As usual your mileage may vary but it worked here :-) -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca Ajudei? Salvei? Que tal um presentinho? http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884 Mike Eheler [EMAIL

Re: [PHP] Content Management

2002-01-31 Thread Julio Nobrega Trabalhando
. -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca Ajudei? Salvei? Que tal um presentinho? http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884 Erik Price [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Wednesday, Ja

[PHP] Re: add on's to php

2002-01-31 Thread Julio Nobrega Trabalhando
www.php.net/dl :-) -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca Ajudei? Salvei? Que tal um presentinho? http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884 Kunal Jhunjhunwala [EMAIL PROTECTED] wrote in message 008001c1aa6b$089d8c90$0301a8c0

[PHP] Re: HowTo Send HTTP POST from Within Scrip

2002-02-05 Thread Julio Nobrega Trabalhando
functions and curl module ones). -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca Gabriel Richards [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi eveyone. I'm trying to build an application to interface with UPS Online Tools

Re: [PHP] Is this possible?

2002-02-06 Thread Julio Nobrega Trabalhando
} ? Seems to be easier to type, prettier and faster Just a tought;-) -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: !isset ??

2002-02-06 Thread Julio Nobrega Trabalhando
where I tested); -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca Ajudei? Salvei? Que tal um presentinho? http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884 Erik Price [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...

[PHP] Re: Link Inquiry

2002-02-07 Thread Julio Nobrega Trabalhando
There's a class named Snoopy on Sourceforge that can do this for you. At least it's a place where you can look at the sources and see how it's done. -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca Ajudei? Salvei? Que tal um presentinho? http://www.submarino.com.br

[PHP] Re: Using functions before they're defined

2002-02-07 Thread Julio Nobrega Trabalhando
development, sources, module development, etc... I mean, if you want to know how it's done internally to change or take advantage of those resources, I guess php.dev mailing list is a better place. -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca Ajudei? Salvei? Que tal um

[PHP] Re: Simple for you, not for me

2002-02-07 Thread Julio Nobrega Trabalhando
Maybe a nl2br() will solve? It converts new lines from .txt documents for example to br, for html documents. -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca Ajudei? Salvei? Que tal um presentinho? http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884

[PHP] Re: help with PHP global array

2002-02-07 Thread Julio Nobrega Trabalhando
$array = Array('a'=1); function scope_test() { global $array; echo $array['a']; } Works for me, PHP 4.1.1 with the new .ini file. -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca Ajudei? Salvei? Que tal um presentinho? http://www.submarino.com.br

[PHP] Re: block ctrlaltdel and alttab

2002-02-07 Thread Julio Nobrega Trabalhando
the exact code but a google search will do fine. PS: I don't know if you know this, but it's impossible to prevent keystrokes with PHP (since it's server side), unless you go really crazy and exec(); a program to do so. -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca

[PHP] error_reporting(E_ALL) and undefined vars

2002-02-07 Thread Julio Nobrega Trabalhando
Hi All, I develop with error_reporting(E_ALL). It's a major pain to type everytime if(isset($some_var)) To avoid undefined variable errors. Any tips? If you turn E_ALL on error_reporting, what do you do? -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca

Re: [PHP] error_reporting(E_ALL) and undefined vars

2002-02-07 Thread Julio Nobrega Trabalhando
Thanks Jon. But, that's for security, right? Maybe even other reasons. I know close to zero of programming theory, so, why is it bad to have undefined vars on the code? -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca -- PHP General Mailing List (http

[PHP] Re: good practice

2002-02-14 Thread Julio Nobrega Trabalhando
'])) { dosomething; } } I also don't like to exit(); programs, but I don't know your whole situation, so your mileage may vary And sometimes use a } else { on expected values with some nasty error messages (just in case someone is trying to 'crack' your app). -- Julio Nobrega. Um dia

[PHP] Re: scheduled tasks

2002-02-15 Thread Julio Nobrega Trabalhando
If someone or something loads your page on this particular day, you can have a: if (date(...) == 'day') { mail(); } -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca Ajudei? Salvei? Que tal um presentinho? http://www.submarino.com.br/wishlistclient.asp?wlid

[PHP] Re: date problem

2002-02-18 Thread Julio Nobrega Trabalhando
Mysql? INSERT INTO table VALUES (NOW()); -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca Ajudei? Salvei? Que tal um presentinho? http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884 Eoghan [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]"

[PHP] Re: intranet security

2002-02-27 Thread Julio Nobrega Trabalhando
because of the many SQL queries, the while loop calling two functions for every group the user is attached, and because it's plain a 'not-elegant' solution. Feel free to steal any ideas :-D -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca -- PHP General Mailing List

Re: [PHP] apostrphe's entered into MySQL database

2002-02-27 Thread Julio Nobrega Trabalhando
Why isn't addslashes() working? You addslashes then you stripslashes() :-) Anyway, how about mysql_escape_string()? -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca Ajudei? Salvei? Que tal um presentinho? http://www.submarino.com.br/wishlistclient.asp?wlid

[PHP] Re: Did everybody see the security warning at php.net?

2002-02-27 Thread Julio Nobrega Trabalhando
? -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca Ajudei? Salvei? Que tal um presentinho? http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884 Robert V. Zwink [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... http://www

[PHP] Re: how to: variable = php parsed file include

2002-02-28 Thread Julio Nobrega Trabalhando
Find on phorm.php where you want to put your nav bar, and use: include('file_name.php'); -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca Ajudei? Salvei? Que tal um presentinho? http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884 Brian Petro [EMAIL

[PHP] Re: problems with replacing line breaks

2002-03-01 Thread Julio Nobrega Trabalhando
Have you tried nl2br()? -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca Ajudei? Salvei? Que tal um presentinho? http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884 Tom Kincaid [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]; I'm trying

[PHP] Re: posting data with curl

2002-03-01 Thread Julio Nobrega Trabalhando
Submit the data to the action= url of the form, not to the form's page. -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca Ajudei? Salvei? Que tal um presentinho? http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884 Wm [EMAIL PROTECTED] wrote in message

[PHP] Re: Deleting a Record

2002-03-06 Thread Julio Nobrega Trabalhando
to put a LIMIT 1 at the end. Hope it helps! -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca Ajudei? Salvei? Que tal um presentinho? http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884 Chuck Pup Payne [EMAIL PROTECTED] wrote in message news:[EMAIL

[PHP] Re: Reading A file

2002-03-06 Thread Julio Nobrega Trabalhando
page for fopen(); ? From here, you might go with readfile(); or file(), that will display the pointer's content (on this case, $fd). It might be necessary to change newlines for br, though. (nl2br(); or similar) -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca

[PHP] Re: php, text file, and mysql

2002-03-07 Thread Julio Nobrega Trabalhando
If you are not going to save, I wouldn't call it a file :-) Just store the contents in a string and insert in a TEXT (etc) field. -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca Ajudei? Salvei? Que tal um presentinho? http://www.submarino.com.br

[PHP] Re: registering $_REQUEST variables as session variables.

2002-03-11 Thread Julio Nobrega Trabalhando
$_SESSION['from_form'] = $_REQUEST; -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca Ajudei? Salvei? Que tal um presentinho? http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884 Zara E Gonzalez [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]"

Re: [PHP] Re: registering $_REQUEST variables as session variables.

2002-03-11 Thread Julio Nobrega Trabalhando
It would register a session variable name 'from_form' equal to $_REQUEST; The name 'from_form' was just an example, you need to change it according to your needs, if you wish. -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca Zara E Gonzalez [EMAIL PROTECTED

[PHP] Re: download 32000 images another server server

2002-03-13 Thread Julio Nobrega Trabalhando
You could try to compress the images using php or telnet, or do it in batchs from 5000 files. -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Random Selecting from mySQL

2002-03-13 Thread Julio Nobrega Trabalhando
BY rand() The first '' is for the autoincrement that will be used as your search id. -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca Ajudei? Salvei? Que tal um presentinho? http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884 Georgie Casey [EMAIL

[PHP] Re: Can Event Handlers Trigger PHP Code?

2002-03-14 Thread Julio Nobrega Trabalhando
No, because 'activation' of php is done by the server. PHP is a server side language. -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca Ajudei? Salvei? Que tal um presentinho? http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884 Dr. Shim [EMAIL

[PHP] Re: Online Feedback and Application

2002-03-14 Thread Julio Nobrega Trabalhando
Whetever you prefer. You may mail the form to you, or store in a database/file for retrival. Me? I would store on a database and make a page where I can see the feedbacks. I got so many emails daily that more would not be welcome. -- Julio Nobrega. Um dia eu chego lá: http

[PHP] Re: Populating Dropdown with MYSQL data

2002-03-15 Thread Julio Nobrega Trabalhando
select name=somename ?php $sql = SELECT id, name FROM table; $res = mysql_query($sql); while (list($id, $name) = mysql_fetch_array($res)) { echo option value=\$id\$name/option; } ? /select -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca Ajudei? Salvei? Que tal

[PHP] Re: Help - Variables

2002-03-15 Thread Julio Nobrega Trabalhando
if (isset($var_name)) { echo 'Isset!'; } ? -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca Ajudei? Salvei? Que tal um presentinho? http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884 Budinschi Cosmin [EMAIL PROTECTED] wrote in message [EMAIL

  1   2   3   >