[PHP] Variables problem

2002-12-09 Thread Marco
ndex: totalqty in processorder.php on line 29 Items ordered: That's in this rule: echo "Items ordered: ".$_POST["totalqty"]."\n"; and.. Notice: Undefined index: totalamount in processorder.php on line 30 Subtotal: $ Total including tax: $3.30 That's in this rule: echo "Subtotal: $".$_POST["totalamount"]."\n"; * What went wrong, can someone help me with this..?? Tanks for reading Kind regards Marco -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] create_function() and anonymous methods

2004-01-15 Thread Marco
namically overload the methods of several already defined functions. Is there some way to do it? Thanks in advance for an answer. Marco. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: PHP Collaboration

2004-01-16 Thread Marco
Cesar Aracena wrote: Does anyone knows of any nice PHP/MySQL program (free of course) that could help me do a more efficient collaboration between me and my programming partners? I've tried like 8 of them but the nice ones are pricely. I need to We use http://www.phprojekt.com/ Then also I've been

[PHP] create_function() and anonymous methods

2004-01-26 Thread Marco
Hi again... I'm still curious about the question below, already posted several days ago... Marco Hi all, Is it possible to use create_function() to define anonymous methods (like in Java) ? I mean something like: class Listener { function listen () { return 'I am an abstr

[PHP] html_entity_decode () for …, ’, etc.

2005-08-10 Thread Marco
I tried using html_entity_decode () but why won't these characters decode: ’ – … “ ” -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[Fwd: Re: [PHP] Some error in file upload.]

2002-11-23 Thread Marco Tabini
-Forwarded Message- > From: Marco Tabini <[EMAIL PROTECTED]> > To: Naif Al-Otaibi <[EMAIL PROTECTED]> > Subject: Re: [PHP] Some error in file upload. > Date: 23 Nov 2002 07:56:06 -0500 > > I think this needs changing: > > error-> if(isset(!$WI

Re: [Fwd: Re: [PHP] Some error in file upload.]

2002-11-23 Thread Marco Tabini
rrays (like $_POST) to access your HTML form variables or turn register_globals on in your php.ini file. Cheers, Marco Marco -- php|architect - The magazine for PHP Professionals The monthly worldwide magazine dedicated to PHP programmers Check us out on the web at http://www.phparch.co

RE: [PHP] Using Ping (was: using cookies)

2002-11-23 Thread Marco Tabini
uot;; else echo "failure"; ?> This will work only under Unix, but you can very easily adapt it to whatever os you need, as long as it supports pinging from the command line. Marco php|architect - The magazine for PHP Professionals The monthly worldwide magazine d

Re: [PHP] Passing Variables

2002-11-23 Thread Marco Tabini
Try looking into the manual for register_globals Marco php|architect - The magazine for PHP Professionals The monthly worldwide magazine dedicated to PHP programmers Check us out on the web at http://www.phparch.com On Sat, 2002-11-23 at 14:42, Craig Edgmon wrote: > I am sure t

Re: [PHP] PHP Syntax - mail statement

2002-11-23 Thread Marco Tabini
Probably just a problem with register_globals Try: $contents = "{$_REQUEST['firstname']}, {$_REQUEST['lastname']}, {$_REQUEST['email']}"; Marco php|architect - The magazine for PHP Professionals The monthly worldwide magazine dedicated to PH

Re: [PHP] php and caching

2002-11-24 Thread Marco Tabini
Caching is usually managed through a set of headers--for example: You can use these in the pages that are dynamic and omit them in those pages where you want to keep the information. Cheers, Marco php|architect - The magazine for PHP Professionals The monthly worldwide magazine

Re: [PHP] Php Search Engine

2002-11-25 Thread Marco Tabini
Can you be a bit more specific as to what you need to search on? Is it a database, a set of web documents or do you want to create a search engine like Google, which crawls websites as needed? Let us know! Marco -- php|architect - The magazine for PHP Professionals The first

Re: [PHP] spawing new PHP process

2002-11-26 Thread Marco Tabini
it in the background because PHP does not close stdout and stderr--but this might have changed and/or I may be mistaken (nothing new there). Marco -- php|architect - The magazine for PHP Professionals The first monthly worldwide magazine dedicated to PHP programmers Come visit

Re: [PHP] FTP and security

2002-11-26 Thread Marco Tabini
stantiated directly from PHP, and you would therefore have to run it from a shell, which would give the same problems you have with ssh now. Marco -- php|architect - The magazine for PHP Professionals The first monthly worldwide magazine dedicated to PHP programmers Come visit

Re: [PHP] FTP and security

2002-11-26 Thread Marco Tabini
but if you look around on the Net you should find plenty of resources. Cheers, Marco -- php|architect - The magazine for PHP Professionals The first monthly worldwide magazine dedicated to PHP programmers Come visit us at http://www.phparch.com! --- Begin Message --- Marco, Woul

Re: [PHP] URL hiding

2002-11-26 Thread Marco Tabini
method of your HTML form. Hope this helps, Marco -- php|architect - The magazine for PHP Professionals The first monthly worldwide magazine dedicated to PHP programmers Come visit us at http://www.phparch.com! --- Begin Message --- Hi When I pass variables to a new page in the

Re: [PHP] URL hiding

2002-11-26 Thread Marco Tabini
Then the only solution I can think of is to make them part of the POST variables somehow--ie. through a hidden field, which you can even fill dynamically with Javascript. AFAIK that's the only way. Cheers, Marco -- php|architect - The magazine for PHP Professionals The

Re: [PHP] How to create zip files in PHP ?

2002-11-27 Thread Marco Tabini
You will have to invoke an external utility, like PKZIP on Windows or zip on Linux to create the archives you need. Marco -- php|architect - The magazine for PHP Professionals The monthly worldwide magazine dedicated to PHP programmers Come visit us at http://www.phparch.com

Re: [PHP] String function

2002-11-28 Thread Marco Tabini
You can use strstr: if (strstr ($str, '.')) echo 'Full stop'; else echo 'No full stop'; Marco -- php|architect - The magazine for PHP Professionals The first monthly worldwide magazine dedicated to PHP programmers On Thu, 2002-11-

Re: [PHP] php and https

2002-11-29 Thread Marco Tabini
Is this related to PHP? Or are you getting the error from your browser? In that case, are you using IE? If so, it might be a bug with IE--I've seen it discussed in a few mailing lists. Otherwise, it might indicate that the web server you're connecting to is not configured properl

Re: [PHP] Weblogs

2002-12-01 Thread Marco Tabini
b2, which you can find here: http://cafelog.com/ Cheers, Marco -- php|architect - The magazine for PHP Professionals The monthly worldwide magazine dedicated to PHP programmers Come visit us at http://www.phparch.com! On Sun, 2002-12-01 at 09:35, Randum Ian wrote: > Can anyb

Re: [PHP] PHP Trouble-Ticket-Systems?

2002-12-01 Thread Marco Tabini
http://www.inicrm.com Offered as an ASP (my company produces it, so... shameless plug) Marco On Sun, 2002-12-01 at 10:59, Thomas Seifert wrote: > Hi folks, > > I already searched through the web but couldn't find any which provide the features >I want. > > What I woul

Re: [PHP] Call to undefined function: mysql_foo()...

2002-12-01 Thread Marco Tabini
Is it possible that phpBB is using a different copy of PHP? On Sun, 2002-12-01 at 14:21, Adam Atlas wrote: > I'm having a strange problem. If I run any MySQL function, I get the > error message "Call to undefined function: mysql_foo()". Why would I be > getting this? I've checked php.ini to see

Re: [PHP] PHP and the PDFlib

2002-12-02 Thread Marco Tabini
Take a look at the iText library--it's a Java library, but you can build your Java classes and then instantiate them through PHP by executing them as external apps. That's what we use to personalize copies of our magazine. Marco -- php|architect - The magazi

Re: [PHP] PHP Sessions

2002-12-04 Thread Marco Tabini
Are you sure? I thought $_SESSION was a superglobal. Marco On Wed, 2002-12-04 at 09:15, Justin French wrote: > Good point -- are the included files functions, or other stuff?? > > function myfunc() > { > return $_SESSION['something']; > } > > wi

Re: [PHP] Max File Size

2002-12-04 Thread Marco Tabini
Are you sure you're looking at the right php.ini? Try calling phpinfo() and check where PHP is looking for the ini file. Marco -- php|architect - The magazine for PHP Professionals The monthly worldwide magazine dedicated to PHP programmers Come visit us at http://www.phparc

Re: [PHP] force download with header()

2002-12-08 Thread Marco Tabini
ll follow your suggestion of downloading the file instead of displaying it inline. Hope this helps! Cheers, Marco -- php|architect - The Magazine for PHP Professionals The monthly magazine dedicated to the world of PHP programming Check us out on the web at http://www.phparch.com! ---

Re: [PHP] Question about "if" statement evaluating (0=="string")as TRUE

2002-12-13 Thread Marco Tabini
arison operator (===) instead, or--better yet--the strcmp() function when comparing two strings. Cheers, Marco -- php|architect - The magazine for PHP Professionals The monthly worldwide magazine dedicated to PHP programmers Come visit us at http://www.phparch.com! --- Begin Message 

Re: [PHP] Fw: Formatting dates (from MySQL)

2002-12-14 Thread Marco Tabini
commands depend on which DBMS you actually use. Marco -- php|architect - The Magazine for PHP Professionals The monthly magazine dedicated to the world of PHP programming Check us out on the web at http://www.phparch.com! --- Begin Message --- Hey there, I was just looking at the

Re: [PHP] Undefined Variable

2002-12-14 Thread Marco Tabini
Best guess, your local server has register_globals on and your ISP doesn't. However, without seeing your code it's going to be difficult to tell for sure! :-) Marco -- php|architect - The Magazine for PHP Professionals The monthly magazine dedicated to the world of PHP p

Re: [PHP] Undefined Variable

2002-12-14 Thread Marco Tabini
ED]"; $subject = "Narrowsburg Chamber of Commerce"; $mailheaders = "From: $thename\n"; $mailheaders .= "Reply to:$email\n\n"; mail($to, $subject, $msg, $mailheaders); ?> -- php|architect - The Magazine for PHP Professionals The monthly magazine dedica

Re: [PHP] Session: I RTFM

2002-12-14 Thread Marco Tabini
SSION[$varname])) return $_SESSION[$varname]; } session_start(); // You don't need session_register anymore $familyname = getvar('familyname'); and so on--just one line per variable. Hope this helps. Cheers, Marco -- php|architect - The Magazine for P

Re: [PHP] Session: I RTFM

2002-12-15 Thread Marco Tabini
Single quotes are normal strings. Double quotes are strings in which substitutions can take place. For example: Double quotes also expand escape strings (e.g."\n") whereas single quotes don't. Cheers, Marco -- php|architect - The Magazine for PHP Profession

Re: [PHP] mail()

2002-12-16 Thread Marco Tabini
You need to use HTML mail. There's an example on how to this in the manual. Marco -- php|architect - The Magazine for PHP Professionals The monthly magazine dedicated to the world of PHP programming Check us out on the web at http://www.phparch.com! --- Begin Message --- Is

Re: [PHP] PHP shell scripting not working right?

2002-12-16 Thread Marco Tabini
#x27;s really a valid command. Try man test for more info. Cheers, Marco -- php|architect - The Magazine for PHP Professionals The monthly magazine dedicated to the world of PHP programming Check us out on the web at http://www.phparch.com! --- Begin Message --- I'm trying to d

Re: [PHP] Divide into words

2002-12-16 Thread Marco Tabini
You could use strpos--there are easier ways if you don't need the offsets. Example: This is from memory, but it looks like it should work even for weird strings like the one above. Cheers, Marco -- php|architect - The magazine for PHP Professionals The monthly worl

RE: [PHP] Divide into words

2002-12-16 Thread Marco Tabini
than spaces, in which case regex are probably our best bet. Cheers, Marco -- php|architect - The magazine for PHP Professionals The monthly worldwide magazine dedicated to PHP programmers Come visit us at http://www.phparch.com! --- Begin Message --- > For example i have some wo

Re: Re[2]: [PHP] Divide into words

2002-12-16 Thread Marco Tabini
Yes, but my example was geared towards trying to work through a more generic scenario. I'll bet if you try using perl regex with callback it'll be even faster. Marco -- php|architect - The magazine for PHP Professionals The monthly worldwide magazine dedicated to PHP p

Re: [PHP] key pairs

2002-12-17 Thread Marco Tabini
can manipulate each value directly in the function, which is something that I always find very practical, so you can add whatever additional checks need to be performed. Hope this helps! Cheers, Marco -- php|architect - The magazine for PHP Professionals The monthly worldwide

Re: [PHP] Resource limit/performance questions

2002-12-20 Thread Marco Tabini
on a Pentium II 350 MHz and that takes at most half a second (although I'm doing really simple statistical stuff). Cheers, Marco -- php|architect - The Magazine for PHP Professionals The monthly magazine dedicated to the world of PHP programming Check us out on the w

Re: [PHP] Resource limit/performance questions

2002-12-20 Thread Marco Tabini
Well, then, assuming your complexity grows linearly, I guess you'll have to wait a few minutes with 160,000 rows on which you can expect to perform 16,000 queries... You mention that you perform the queries on objects--can you elaborate on this point? Marco -- php|architect

Re: [PHP] Resource limit/performance questions

2002-12-20 Thread Marco Tabini
robably be geometric, since the SQL engine will have to spend more time sorting through the records for each query. I usually say queries... it's worked so far :-) Marco -- php|architect - The Magazine for PHP Professionals The monthly magazine dedicated to the world of PHP pro

Re: [PHP] Date Subtraction

2002-12-23 Thread Marco Tabini
I don't think you can use strtotime in that case. However, assuming that your data is properly formatted every time, you can use a simple function like this (I'm doing it from memory, so it might not actually work): Hope this helps. Cheers, Marco -- php|architect - Th

Re: [PHP] Does PHP recognize multiple selections in a form?

2002-12-27 Thread Marco Tabini
Hello Micah-- Yes, PHP supports multiple selections, but you need to change the name of the control from submitID to submitID[], so that it will become an array once inside your script. Hope this helps! Marco -- php|architect - The Magazine for PHP Professionals The monthly

Re: [PHP] Load Data Infile

2002-12-29 Thread Marco Tabini
I'm not sure how MySQL works under Windows, but you should either use double backslashes (\\) instead of single backslashes or use forward slashes (/) instead. MySQL is trying to escape your string. Cheers, Marco -- php|architect - The Magazine for PHP Professionals The mo

Re: [PHP] creating a .doc file in php

2002-12-30 Thread Marco Tabini
My guess is that your best bet is creating either an HTML or RTF documents, both of which are readable by MS Word. RTF is well documented and it should be fairly easy to work with--you can save a template with placeholders and simply replace them, since it's entirely text-based. Cheers,

RE: [PHP] creating a .doc file in php

2002-12-30 Thread Marco Tabini
Yep. There should be a few SMTP/Email composing classes that can help you with the attachment part. Just remember to delete your temp file once you're done and you should be fine. Cheers, Marco -- php|architect - The Monthly Magazine for PHP Professionals Come check us o

Re: [PHP] Multiple forms

2002-12-30 Thread Marco Tabini
You should be able to insert a hidden field in your form and that check against that in your PHP script to determine which (if any) of your form was submitted: in your script: --- Begin Message --- Hi all, I have an update page that has a form in it. However, I want to add another fo

Re: [PHP] call_user_method_array

2003-01-01 Thread Marco Tabini
ser_func_array instead (the manual page for call_user_method_array explains how to do this with a class method). Cheers, Marco -- php|architect - The Monthly Magazine for PHP Professionals Come check us out on the web at http://www.phparch.com! --- Begin Message --- How does this funct

Re: [PHP] mail attachments

2003-01-02 Thread Marco Tabini
Nope--it's a bit more complicated than that. However, there are a number of classes out there that can help you out with that. Cheers, Marco -- php|architect - The Monthly Magazine for PHP Professionals Come check us out on the web at http://www.phparch.com! --- Begin Me

Re: [PHP] loading a different web page ...

2003-01-06 Thread Marco Tabini
Check the header() function--you want header ("Location: http://www.xyz.com";). It has to be outputted before any other output. Cheers, Marco -- php|architect - The Monthly Magazine for PHP Professionals Come check us out on the web at http://www.phparch.com!

Re: [PHP] No Idea - Comparing Lines

2003-01-06 Thread Marco Tabini
#x27; -- ' . number_format ($kbitsout, 2) . " kbits/s\n"; } $olddata = $data; $i++; } ?> I suggest you add some code to check for divisions by zero, depending on whether your data requires it! Cheers, Marco -- php|architect - The Mo

Re: [PHP] restrictions

2003-01-07 Thread Marco Tabini
Hello Bruce-- That depends on what restrictions are imposed on your box, of course. Does your company use an SMTP-compatible mail server for your internal mail? If so, you could use the server your mail client points to to perform your tests. Cheers, Marco -- php|architect

RE: [PHP] restrictions

2003-01-07 Thread Marco Tabini
Couple of suggestions: 1) Try connection to the SMTP server manually with Telnet, and see if you discover more that way 2) Simply use the same SMTP server that is configured in your mail client at work Cheers, Marco -- php|architect - The Monthly Magazine for PHP

RE: [PHP] restrictions

2003-01-07 Thread Marco Tabini
It should say "port 25". If it's just a typo in your message, then it could either be the restrictions or a general network problem--I know this sounds stupid, but can you connect *at all* to anything else--ie. a website? Cheers, Marco -- php|architect - The M

Re: [PHP] Re: difference between shared and /usr/bin/mysql

2003-01-15 Thread Marco Tabini
er | | modules that also use MySQL (e.g, mod_auth_mysql, PHP 3.0, | | mod_perl) you must NOT rely on PHP's built-in MySQL support, and | | instead build it with your local MySQL support files, by adding| | --with-mysql=/path/to/mysql to your configure line.

[PHP] GD version 1.6.2 and resizing images...

2003-01-16 Thread Marco Alting
My provider has GD version 1.6.2 running, and I'm trying to dynamically resize uploaded JPEG images. But ofcourse that doesn't work with that version. Does anyone have another solution to automatically resize JPEG images upon upload? -- PHP General Mailing List (http://www.php.net/) To unsubscr

Re: [PHP] x12 837

2003-01-16 Thread Marco Tabini
On Thu, 2003-01-16 at 16:10, Rodney Green wrote: > Just curious. What is an 837? I'm curious, too... what is it? Not a good start, if you were hoping to get an answer eh? :-))) Marco -- php|architect - The Monthly Magazine for PHP Professionals Come check us out on th

Re: [PHP] GD version 1.6.2 and resizing images...

2003-01-17 Thread Marco Alting
te in message news:<[EMAIL PROTECTED]>... > On Thursday 16 January 2003 17:43, Marco Alting wrote: > > My provider has GD version 1.6.2 running, and I'm trying to > > dynamically resize uploaded JPEG images. But ofcourse that doesn't > > work with that version. Does a

Re: [PHP] Re: Job Opportunity

2003-01-20 Thread Marco Tabini
Don't apologize... pass the job offers around instead ;-) My Evolution has decided that I don't have a Calendar anymore. No matter how hard I try. *sigh* Cheers, Marco On Mon, 2003-01-20 at 13:53, Ray Hunter wrote: > I apologize everyone...evolution is going crazy... > > R

[PHP] File upload security

2003-01-23 Thread Marco Alting
Hi, I have a php script which uploads file to a webserver. The idea is that anyone can upload files, but only another php script can read the files. At this moment I think someone is deleting file from my upload folder. What CHMOD settings do I need to secure this? -- PHP General Mailing List (

[PHP] human language detection

2003-01-26 Thread Marco Bleeker
IP address to something readable? It's a remote server on which I can't control the settings. Why is this so difficult? It should be a basic feature of any international software... or am I missing something? Thanks, Marco -- Marco Bleeker, Amsterdam, NL. Please do not distribute m

[PHP] human language detection

2003-01-26 Thread Marco Bleeker
IP address to something readable? It's a remote server on which I can't control the settings. Why is this so difficult? It should be a basic feature of any international software... or am I missing something? Thanks, Marco -- Marco Bleeker, Amsterdam, NL. Please do not distribute m

[PHP] human language detection?

2003-01-26 Thread Marco Bleeker
IP address to something readable? It's a remote server on which I can't control the settings. Why is this so difficult? It should be a basic feature of any international software... or am I missing something? Thanks, Marco -- Marco Bleeker, Amsterdam, NL. Please do not distribute m

[PHP] using NETpbm in PHP script.

2003-01-29 Thread Marco Alting
Does anyone have experience in how to use NETpbm functions in a PHP script on a server that is in Safe Mode? I want to resize images as they are uploaded. I'm almost there, but I get a safe mode restriction error, which tells me about a security conflict between the script-user-ID and then image-us

[PHP] PHP mail function From header not working

2003-02-13 Thread Marco Alting
When I try to use a php script, to send an email, the From header is replaced by a senders email address of my provider. Is there any way to make it so my email address shows up in the From header? In the script I used fake addresses, because of client privacy reasons... -- PHP General Maili

Re: [PHP] Headers bust ?

2003-02-15 Thread Marco Tabini
o that the decision on the redirect is made before outputting anything. Try adding this at the beginning, before the echo: if ($dog == 'mal') header ('Location: ../aamaillist/ml_menu.php'); Hope this helps! Marco -- php|architect - The Monthly Maga

Re: [PHP] Block direct image loads but allow them in PHP

2003-02-15 Thread Marco Tabini
e to your users at all--unless you wanted them to be. Cheers, Marco -- php|architect - The Monthly Magazine for PHP Professionals Come check us out on the web at http://www.phparch.com! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Block direct image loads but allow them in PHP

2003-02-15 Thread Marco Tabini
ion that contains the right data), you would be able to block him from reading the image. Cheers, Marco -- php|architect - The Monthly Magazine for PHP Professionals Come check us out on the web at http://www.phparch.com! -- PHP General Mailing List (http://www.php.net/) To u

Re: [PHP] Block direct image loads but allow them in PHP

2003-02-15 Thread Marco Tabini
t that first checks the permissions and then, if the user is authorized, outputs the file to the browser. This way, if the user is not authorized to download a file, it will be blocked. Obviously, the files themselves should be inaccessible to the web *except* through your scripts. Hope it's a

Re: [PHP] IRR Function in PHP

2003-02-17 Thread Marco Tabini
le hours searching for > a pre-built function to handle this but have come up blank. > > Has anyone heard of something written in PHP that can handle this type > of calculation?? Never heard of it being done in PHP... what is your scenario? Cheers, Marco -- php|ar

Re: [PHP] IRR Function in PHP

2003-02-17 Thread Marco Tabini
taxes, and so forth) and partial periods. In some cases, the problem can only be solved by interpolation and the calculation can become quite complex. Cheers, Marco On Mon, 2003-02-17 at 16:52, Greg Donald wrote: > On Mon, 17 Feb 2003, Jonathan Pitcher wrote: > > >This process invol

Re: [PHP] IRR Function in PHP -- MORE Info

2003-02-17 Thread Marco Tabini
27;d be able to give you meaningful help! Cheers, Marco On Mon, 2003-02-17 at 17:08, Jonathan Pitcher wrote: > I received an Excel Spread sheet with built in calculations for > creating our rate sheets that we pass out to our branches and so on. > > In this rate sheet to calculat

Re: [PHP] file-upload.errors

2003-02-17 Thread Marco Tabini
hat contains completely arbitrary data ignoring completely all the controls that are built into your HTML file. Cheers, Marco -- php|architect - The Monthly Magazine for PHP Professionals Come check us out on the web at http://www.phparch.com! -- PHP General Mailing List (h

Re: [PHP] Version 5?

2003-03-06 Thread Marco Tabini
leaks memory, for testing and learning how the new stuff works it should be fine, IMO. Out of curiosity, which feature were you interested in? Cheers, Marco -- php|architect - The Monthly Magazine for PHP Professionals Come check us out on the web at http://www.phparch.com!

Re: [PHP] quick question

2003-03-10 Thread Marco Tabini
at purchases without actually having to store CC numbers on your site. Cheers, Marco -- php|architect - The Magazine for PHP Professionals Get your free copy today at http://www.phparch.com On Mon, 2003-03-10 at 11:46, Doug Parker wrote: > I'm sending credit card info to a 3rd party

Re: [PHP] Problems compiling PHP 5.0.0b1

2003-07-01 Thread Marco Tabini
ix=/usr or reconfigure PHP --with-libxml-dir= and your actual libxml2 installation path. Cheers, Marco On Tue, 2003-07-01 at 13:11, Mauricio Cuenca wrote: > Hello, > > I've tried several times compiling PHP 5.0.0b1 on a Linux RedHat 8.0 using > this configure command: > ./conf

Re: [PHP] PHP5 - Bugs

2003-07-01 Thread Marco Tabini
Which platform are you running on? Marco On Tue, 2003-07-01 at 13:39, Michael A Smith wrote: > Hey, > > Can't figure this out... whenever I try to use any mysql functions or > anything, I get problems. PHP throws a DNS error... what's up with that? > > -Michael

Re: [PHP] mysql detect

2003-07-02 Thread Marco Tabini
locate mysql.lib? Can you be a bit more specific? Marco On Wed, 2003-07-02 at 03:05, [EMAIL PROTECTED] wrote: > helo all , > > what command in linux , to see default direcktory instalation mysql > database dan mysql library > > > #

Re: [PHP] Eval var from query

2003-07-14 Thread Marco Tabini
On Mon, 2003-07-14 at 15:03, Shawn McKenzie wrote: > How can I evaluate a var that is from a text field of a database? Example: > Hi Shawn-- Have you looked at eval? http://www.php.net/eval. Cheers, Marco -- php|architect -- The Magazine for PHP Professionals NOW AVAILABLE IN PRIN

[PHP] php-qt ?

2003-07-17 Thread Marco Weber
hi @all, i know php-gtk and i like it... however, i prefer qt... ;) is there a possibility to use qt for guis? thanks in advance for any reply Marco Weber -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] drawing problem

2003-08-14 Thread Marco Moonen
I'm able to draw simple figures like squares and circles using ImageCreate(), gd_lib is installed properly as far as I know. But sometimes the result is a little square with a red cross instead of a generated jpg or png. No error messages are shown. Can anyone help me out? Regards,

Re: [PHP] What does -> mean?

2003-08-14 Thread Marco Schuler
/en/language.oop.php -- Cheers! Marco -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] undefined function imagecreate()

2003-08-14 Thread Marco Moonen
Just new at PHP and learning. Trying to execute simple script to draw a line: Browser returns: Fatal error: Call to undefined function: imagecreate() in c:\inetpub\wwwroot\draw4.php on line 4 Why is imagcreate() not understoodMarco -- PHP General Mailing List (http://www.php.net/) To unsub

Re: [PHP] Recommended package for online editing of HTML files

2003-03-18 Thread Marco Tabini
php?s=htmlarea). I use it in quite a few applications and it's both very useful and quite stable. Cheers, Marco -- php|architect -- The Magazine for PHP Professionals Get your free copy today at http://www.phparch.com On Tue, 2003-03-18 at 17:50, Brad Hubbard wrote: > Can anyone recomm

[PHP] Multiple odbc queries

2003-04-03 Thread Marco Laponder
regards, Marco Laponder [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] how to read the stuff that got piped ("|") to the script?

2003-05-27 Thread Marco Weber
hi, i've a simple question: how can i read the stuff that got piped ("|") to the php-script? i.e. "ls -l | /home/myuser/phpscript.php" thanks in advance for any help Marco Weber -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] but if i do so, my script won't stop reading... :(

2003-05-27 Thread Marco Weber
://stdin', 'r'); while(!feof($input)) $message.=fgets($input, 4096); fclose($input); ...but the condition in the while loop never gets true... :( so what can i do? Thanks in advance Marco Weber -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: secure code

2003-05-27 Thread Marco Weber
facts about file uploads... but for now, it's quite late (3:15 in the morning...) and i'm quite tired... there are even some more problems, especially by using the session mechanisms i hope, this helps to fix the main security holes... C ya and goood night to all of you... =0)

Re: [PHP] Refreshing

2003-06-30 Thread Marco Tabini
ed on whether the data is available or not. Cheers, Marco -- php|architect -- The Magazine for PHP Professionals Get your free copy today at http://www.phparch.com! On Mon, 2003-06-30 at 13:50, Stephen wrote: > 1. This way would probably end up sending out 500 little clicks every >

Re: [PHP] Refreshing

2003-06-30 Thread Marco Tabini
ns and act accordingly. Once you've done that, you reset your timer, and the cycle starts over. Cheers, Marco -- php|architect -- The Magazine for PHP Professionals Get your free copy today at http://www.phparch.com! > > With bubblegum in my shoe, > Stephen Craton > Sen

Re: [PHP] Refreshing

2003-06-30 Thread Marco Tabini
The image should take care of the click, and also reduce the amount of information transmitted somewhat (although not necessarily, depending on what you send to your iframe). Cheers, Marco On Mon, 2003-06-30 at 14:09, Jeremy Thibeaux wrote: > > [snip] > > I have a chat script.

[PHP] gettext

2002-08-28 Thread Marco Muratori
est message" msgstr "" "Questo e un messaggio di prova" msgfmt - -o test.mo test.po mkdir -p it/LC_MESSAGES mv test.mo it/LC_MESSAGES The OS is FreeBSD 4.6 with apache 1.3.26 and php 4.2.1 Does anybody had the same problem? Thanks, Marco -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] error: loading extensions / php_xslt.dll on win32

2002-09-12 Thread Marco Siegl
hi there @php.net, please, can you help me enabling the extensions in php? i tried for hours to accomplish the right settings, but it seems, the solution is out of reach. you'll find a mini screenshot of my error message so you'll see exactly what i mean. machine details: php v4.2.3, apache v2.0

[PHP] Re: error: loading extensions / php_xslt.dll on win32

2002-09-17 Thread Marco Siegl
php.net core team supports php on linux with more power, than php on win32 systems. due to this, the documentation process for php on linux is always two steps ahead. greetzalot, - marco [EMAIL PROTECTED] http://www.remslakecity.de - Original Message - From: "HL" <[EMA

[PHP] debug function - string to variable conversion?

2002-09-21 Thread Marco Siegl
hi there, i was thinking of a 2 ways to write a new debug function, ... 1. debug all variables in php script, e.g. "function debug( all )" which should parse the whole source code of a particular php-script for all occuring variables and treat them corresponding to their variable type, e.g. - s

[PHP] Re: php_xslt.dll

2002-09-21 Thread Marco Siegl
x27;s james clarks expat page on sourceforge, and there you can get the new libexpat.dll in the latest expat archive. you can also view php source code of my running xslt processing script, if you go to http://www.remslakecity.de/source.php?url=/xslt/xp.php i wish you all the best, - marco [

Re: [PHP] eregi_replace help

2002-10-07 Thread Marco Tabini
of it, but you're not saving the file at the end :-) Hope this helps. Cheers, Marco On Mon, 2002-10-07 at 20:01, Jennifer Swofford wrote: > Hello all, > > I am trying to use php to read through an html file and replace all image > paths, like such: > > Change &

Re: [PHP] MAIL taking 60 seconds to send... (too long)

2002-10-07 Thread Marco Tabini
nfigure it properly it should do just fine to use localhost as your mail host. Hope this helps. Marco On Mon, 2002-10-07 at 12:25, Negretti, John (CCI-San Diego) wrote: > Hello All, > > I have a script which is using mail() to send an e-mail message. It seems to >be working, ye

Re: [PHP] parsing variables through webpages

2002-10-07 Thread Marco Tabini
You can use $_POST in a similar fashion to retrieve values from form that have been posted with the POST method. Also, you can use $_REQUEST to catch both at the same time. In this case, you may have a problem if the same variable is passed through both GET and POST, in that one will override th

  1   2   3   4   5   >