[PHP] Re: Speeding up PHP or MySQL

2002-07-24 Thread Julio Nobrega
fied. Then when 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. -- Ju

[PHP] Re: date

2002-07-24 Thread Julio Nobrega
_field) = DAYOFMONTH(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.inerciasen

[PHP] Logging: Best archive method

2002-07-26 Thread Julio Nobrega
Are there any better alternatives? I must log this data for every requested page since it's for a bank application (ever had the Central Bank of your country asking for log files? ;-) Thanks, Julio Nobrega http://gnet.inerciasensorial.com.br -- PHP General Mailing List (http://w

[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/transfe

[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. Because what might happen is this: http://www.inerciasensorial.com.br "Monty" <[EMAIL PROTECTED]> escreveu na mensagem [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > If someone enters this into a field... > >New York "City"

[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" &l

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

[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

RE: [PHP] JSP vs. PHP?

2002-08-09 Thread Julio Nobrega
ars, 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
and toolbars using the gd module. 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]&q

[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); }

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

[PHP] Re: Random mirrors and download quota

2002-08-11 Thread Julio Nobrega
ng the last one. -- 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 &g

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

[PHP] Shared network server failing to include files

2002-08-14 Thread Julio Nobrega
I have in mind since 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
I have in mind since 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
, now I am 100% it's a php configuration issue because HTML 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 research

[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$c000a8

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

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

2002-09-26 Thread Julio Nobrega
ot work as predicted, having 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 t

[PHP] Multiple Inheritance Emulation

2002-09-27 Thread Julio Nobrega
{ $a = parent::callClass('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.c

[PHP] Re: Multiple Inheritance Emulation

2002-09-27 Thread Julio Nobrega
Julio Nobrega em Friday 27 September 2002 15:40 foi agraciado com uma resposta por: > I don't fully understand OOP, so my snippet might be wrong. But I need to > emulate Multiple Inheritance for a script, so I've made the following, > which I ask for opinions since I am not

[PHP] Re: Storing images in MySql

2002-04-16 Thread Julio Nobrega
abase 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]&quo

[PHP] Re: CMS -- central module handling

2002-04-20 Thread Julio Nobrega
Hi! I have tried to make a complete modular php cms system. The hardest part was not selecting which modules to load, but their presentation. I don't know if what I did was good enough, i.e: the best implementatin, but somewhat was working. What I did was basically query a Mysql table, sel

[PHP] Comments Display, with replies

2002-04-20 Thread Julio Nobrega
ope!) So, any advices about 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

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

[PHP] Re: Redirecting

2002-04-26 Thread Julio Nobrega
Send head()ers before any html output (including spaces or newlines before http://www.inerciasensorial.com.br "Liam Mackenzie" <[EMAIL PROTECTED]> wrote in message 006801c1ed9e$1fddf4a0$0400a8c0@enigma">news:006801c1ed9e$1fddf4a0$0400a8c0@enigma... > Hey all, > > Just curious as to what the best

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

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

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

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

[PHP] Re: Calling a javascript function?

2002-03-21 Thread Julio Nobrega
Like I said: somejavafunc(); -- 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: 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/wis

[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 &q

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

[PHP] Find if a html tag was closed

2002-03-25 Thread Julio Nobrega
Hi all, I am trying to build a regex to check if an array of allowed html tags were closed. For example: Wrong: text Should give me something like: Tag was not closed. Here's what I came up so far: $tags_to_check = Array('a','b','i','p'); foreach ($tags_to_check as $tag_check) { i

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

[PHP] Re: HTML Character Parsing

2002-04-11 Thread Julio Nobrega
= substr_count(strtolower($text), $close_tag); if ($nr_open_tags > $nr_close_tags) { $missing_tag .= 'A tag ' . htmlentities($open_tag) . ' was not closed!'; } } if (!ereg("^[[:blank:]]*$", $missing_tag)) { return '

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

2002-04-12 Thread Julio Nobrega
rds, and INSERT-SELECT from temp to original... -- 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: > > >

[PHP] Re: HTML form element

2002-04-12 Thread Julio Nobrega
Art Biology Business and Economics" etc. etc. Note the [] after majors. Now majors is an array with the selected values. -- Julio Nobrega. Tô chegando: http://www.inerciasensorial.com.br "Brian McLaughlin" <[EMAIL PROTECTED]> wrote in message [EMAIL PR

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

2001-10-18 Thread Julio Nobrega
load' javascript event on the 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]> wrote in

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

[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:009e01

[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$3c

[PHP] Re: PHP-arnings

2001-10-31 Thread Julio Nobrega
Yeah, I got these kind of warning when I set error_reporting(E_ALL); Anyway, this shouls do it: The point is when you get 'non defined var', just define it before, even empty (i.e, $x = '') or check it with isset();.. -- Julio Nobrega. Um dia eu chego lá: ht

[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 001c0

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

Re: [PHP] Only one instance of a script at a time !

2001-12-28 Thread Julio Nobrega Trabalhando
Another idea, run a script that opens a file and flocks it until it's executed. I am sorry if this is dumb as I have little experience on locking files, but, I guess if it's locked it won't get opened again and executed (via include() or eval()); -- Julio Nobrega. Um dia eu

[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&quo

[PHP] Re: PHP dependent on connection speed?

2002-01-03 Thread Julio Nobrega Trabalhando
em), but the overall 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

[PHP] From 4.1 to 4.04pl1

2002-01-04 Thread Julio Nobrega Trabalhando
will not work since 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? -- J

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

2002-01-08 Thread Julio Nobrega Trabalhando
any thanks, -- 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 c

[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

[PHP] Re: PHP vs. ASP

2002-01-09 Thread Julio Nobrega Trabalhando
(spelling 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
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. -- Jul

[PHP] Re: PHP vs. ASP

2002-01-09 Thread Julio Nobrega Trabalhando
t the bug was solved. -- 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 PROTE

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

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

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

2002-01-15 Thread Julio Nobrega Trabalhando
Check out when you can use " and ' Any number of ' inside " gets printed and $vars are parsed (i.e, 'interpreted by php') Any number of " inside of ' gets printed and $vars are NOT parsed. echo "

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

[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

[PHP] Re: Feature Suggestion

2002-01-18 Thread Julio Nobrega Trabalhando
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 PROTECTED]>

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 PROTEC

[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$0

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

2002-02-05 Thread Julio Nobrega Trabalhando
lated 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 app

Re: [PHP] Is this possible?

2002-02-06 Thread Julio Nobrega Trabalhando
IMHO would be better: 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
n both cases (so far 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 PROTEC

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

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

2002-02-07 Thread Julio Nobrega Trabalhando
d with PHP 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? Sal

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

[PHP] Re: block and

2002-02-07 Thread Julio Nobrega Trabalhando
er 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://sourcefor

[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

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

[PHP] Re: good practice

2002-02-14 Thread Julio Nobrega Trabalhando
th some nasty error messages (just in case someone is trying to 'crack' your app). -- 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 "James Tay

[PHP] Re: Undefined class name

2002-02-15 Thread Julio Nobrega Trabalhando
). Anyway, the above method works on my machine. -- 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 "Gary" <[EMAIL PROTECTED]> wrote in message [EMAI

[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/wishlistclien

[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

[PHP] Re: Screen Scraping using PHP

2002-04-17 Thread Julio Nobrega Trabalhando
I read this post a few days ago and didn't know what is "Screen Scrap". I thought someone would know and would reply to you. Well, a long time has passed and none replied. So I make my question, what are you trying to accomplish in simpler terms? :-) -- Julio Nobrega. Um

[PHP] Re: Sessions / Serialized Data

2002-04-17 Thread Julio Nobrega Trabalhando
That would be easier. fopen the session file and store the information on a database. Later you just fwrite the contents to a new 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] Error Handling Class - Any Recommendations?

2002-04-18 Thread Julio Nobrega Trabalhando
27;s choice. If there's a way to keep using PEAR to handle other errors, I would be very glad if someone could point me to any tutorial or documentation about how to do so, Thanks, -- Julio Nobrega. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Error Handling Class - Any Recommendations?

2002-04-18 Thread Julio Nobrega Trabalhando
ot of time, you know :-D If I can't find this class, I will make one and submit it to your website, okay? ;-) -- Julio Nobrega. > Why do you want to use a bloated 800 lines error handling class when PHP > already has built-in functions to do exactly what you want? > > http:/

[PHP] Re: Error Handling Class - Any Recommendations?

2002-04-18 Thread Julio Nobrega Trabalhando
#x27;file'); } } And etc, etc, etc :-D I understand there's a lot of "etc" on my post, that's because I am still thinking about all the features that I think that would be useful on a such class... ;-) -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net

[PHP] Re: function returning true or errors

2002-04-18 Thread Julio Nobrega Trabalhando
tom_function(), if before the return you $_SESSION['error'] = 'Error!';. Then you could check for false or true with your if (custom_function()) and echo/unset the $_SESSION['error'] part. -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toc

[PHP] Re: Error Handling Class - Any Recommendations?

2002-04-18 Thread Julio Nobrega Trabalhando
error_log(), with a few twists. > Why using a bloated error handling class that what you want without > requiring 800 lines of code that PEAR error handler does? I didn't know and I kind knew it, that's why I asked for tips ;-) -- Julio Nobrega. Um dia eu chego lá: http://sou

[PHP] Re: multiple select list

2002-04-18 Thread Julio Nobrega Trabalhando
http://www.zend.com/zend/tut/drop-down.php -- Julio Nobrega. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: equivalent of qw?

2002-04-18 Thread Julio Nobrega Trabalhando
$str = 'a b c foo bar'; $array = explode(' ', $str); -- 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 "Jack Dempsey" <[E

[PHP] Re: official statement about PHP file extensions?

2002-04-19 Thread Julio Nobrega Trabalhando
. As an open source developer, if you are, I would go with the most used, .php. Even if you are not.. :-) A client or "boss" can always change webhosting services and you gotta be prepared ;-) -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca Ajudei? Salvei? Que

[PHP] Re: Backup of MySQL database

2002-04-22 Thread Julio Nobrega Trabalhando
> Can anybody explain me how to do the backup? Mysql's manual? > I want to make a script to do a backup of a MySQL DB and email me it. It is > posible? Then you take the backup (aka Mysql's dump), and attach it to a mail(); -- Julio Nobrega. Um dia eu chego lá: htt

Re: [PHP] Re: Backup of MySQL database

2002-04-22 Thread Julio Nobrega Trabalhando
newsgroups, but I couldn't not let it pass without brief comments of what is usually expected in such enviroments :-) -- 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=66417

[PHP] Re: PHP editor for windows

2002-04-22 Thread Julio Nobrega Trabalhando
www.phpide.de It's called PHP Coder. Don't get the versions by Maguma (last time I used, it was buggy). Instead, go to older downloads and get the PHP Coder file named phpide-r2p3setup -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca Ajudei? Salvei?

[PHP] Re: How do i upgrade from PHP 4.1.2 to 4.2.0?

2002-04-23 Thread Julio Nobrega Trabalhando
Are you using Windows? That's the one I can give you a tip about :-) Stop the server, overwrite all php files with the new ones, pick up the new "php4ts.dll" and copy it to your Windows, Windows\System and Windows\System32. Restart the server :-) -- Julio Nobrega. Um dia eu

[PHP] Re: What's wrong with the PHPSESSID?????

2002-04-23 Thread Julio Nobrega Trabalhando
lways echo the var instead of the short form &type=" // With session_id() instead of $PHPSESSID or $SID ACTION="network_option_transunion.php?PHPSESSID=&type=" // At the last part of the url ACTION="network_option_transunion.php?type=&PHPSESSID=" -- Julio Nobr

[PHP] Re: Display large text fields in html

2002-04-23 Thread Julio Nobrega Trabalhando
these "in between" entries. -- 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 "Jan Peuker" <[EMAIL PROTECTED]> wrote in message 006c01c

[PHP] Destroy a session var passed as an argument

2002-04-24 Thread Julio Nobrega Trabalhando
rror persists. So: How can I destroy the session variable inside showError($_SESSION)? Thanks for any tips, -- Julio Nobrega. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Destroy a session var passed as an argument

2002-04-24 Thread Julio Nobrega Trabalhando
mp;$_SESSION And a mix with & in function definition and call, and didn't work. I am tired :( -- Julio Nobrega. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] GD: º becomes $

2002-04-25 Thread Julio Nobrega Trabalhando
N$: Searched the manual/Google but haven't found any relevant information about characters being replaced in GD... Any help is welcome, thanks -- Julio Nobrega. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

  1   2   3   >