[PHP] % operator

2001-02-03 Thread Dhaval Desai
Hi! what is the use of % Is it called modulo..what is it's use in PHP.? Thanx! Dhaval Desai __ Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/ -- PHP General Mailing List (http://www.php.ne

Re: [PHP] Replacing A Word in HTML page

2001-02-03 Thread Steve Werby
"phpLover" <[EMAIL PROTECTED]> wrote: > I want to read an HTML page from another site and replace certain characters > with capital letters and show them in another dynamically generated web page > on my site. I know this is possible in Perl, but can this be done in PHP? If > yes, then how? It's

[PHP] Sydney Australia PHP meet talk brag See phpsydney.com for details

2001-02-03 Thread PHP Sydney
What more could you want. Sydney's glorious weather. PHP's magnificent scripting language. The keenest PHP users. All at one meeting. February 20. Willoughby. Talk about your experience. Feb 20 will feature PHP3 to PHP4 and e-commerce. Brag about your successes. Brag about your failures, Brag ab

[PHP] Is this a missing feature?

2001-02-03 Thread John Luxford
Here's what I'm trying to do: I'd like to pass a hash to a function as a reference, but I don't want to predeclare that hash (I'd like to specify it in the function call). Here's a code example: \n"; } } // works this way $bar = array ( "one" => "value", "two" =

Re: [PHP] Bah, XML

2001-02-03 Thread Andrew Golovin
Hello, szii! Sunday, February 04, 2001, 04:48:52, you wrote: ssc> Why is this failing? ssc> If I comment out the xml_set_element_handler() call, it's okay... ssc> If I comment out the xml_parse() call, it's okay... ssc> If I leave both of them in...it core dumps. i meet same problem with f

Re: [PHP] my bugaboo.

2001-02-03 Thread Richard Lynch
> I have a routine where we input text to fields. When there is an apostrophe it > handles it correctly. When the form is brought back for editing, the field > values show up in the input fields, with all apostrophes intact, just as it > should be. > > When I upload this script to my isp, it does

Re: [PHP] Oracle sessions

2001-02-03 Thread Richard Lynch
>Hi, > >My oracle sessions are getting full all the time... > >I use a OCILogoff at the end of my script... > >What could be the problem. I don¹t use a persistent logon. Wild Guess: You have transactions that are not getting committed nor rolled back? -- Visit the Zend Store at http://www.zend.

Re: [PHP] php-nuke?

2001-02-03 Thread Richard Lynch
> What is php-nuke? It's a "Template" system written in PHP where you kinda click-and-drag to build a PHP page. > How could I make a php-page execute something (itself?) without entering the > site... it starts evry hour?! The most resource-friendly way is to compile PHP as a CGI, and then use

Re: [PHP] sessions without cookies

2001-02-03 Thread Richard Lynch
> How can you get something like: > > header ("Location: $PHP_SELF?"); > > to redirect with the sessid in the url? In my tests, it redirects, but > does not append the sessid. > > I have compiled with --enable-trans-sid. Transparent sid is working, I > can use it on links like: > > "> > > and it w

Re: [PHP] Select list with PHP

2001-02-03 Thread Richard Lynch
> while ($row = mysql_fetch_array($sql_result)) { > echo""; > echo $row["paint"]; > echo""; > echo $row["bucket"]; > echo""; > echo"http://www.\" method=\"POST\">"; > $Color = $row["Color"]; > if ($Color == $Color) { Here is one problem: You can't use $Color for the current color you are printi

Re: [PHP] apache/SUexec/PHP

2001-02-03 Thread Richard Lynch
> I noticed today that PHP apps run as the WWW user, not the User/Group > specified in httpd.conf for virtualhosts. > > (Module version of PHP running in Apache 1.3.17). > > Is there any way to get the PHP module to assume the identity > similar to the SUexec module will do for CGI? Not in Apache

Re: [PHP] Immediately write me!! Row size in mysql

2001-02-03 Thread Richard Lynch
> Write me immediately how I find a row size in mysql table if i create a > table in this manner > create table size(f1 int,f2 date ,f3 varchar(25),f4 varchar(100), f5 text , > f6 int, f7 tinyint(1), f8 tinyint(1) ,f9 tinyint(3), f10 varchar(25)) You read the MySQL manual and add up the numbers?.

Re: [PHP] i want permanently connect in imap_open()

2001-02-03 Thread Richard Lynch
> i open mailbox with imap_open > when i move next page, mailbox close. > and i must open mailbox again. > i want connection contiue, even if i move next page Don't think you can. HTTP is inherently stateless... Even if you could, when would the mailbox close? You can't rely on your web-surfer

Re: [PHP] exec() won't start SAS job

2001-02-03 Thread Richard Lynch
>I'm unable to get exec() to start a small SAS job on my RH 6.2 box. >(I've got file permissions set correctly) The code: File permissions of what for whom? > $command="sas -noterminal -log $SASProgDir$JobName.log ". >" -print $SASProgDir$JobName.lst $SASProgDir$JobName.sas"; >

Re: [PHP] fucntion if not working bug error

2001-02-03 Thread Richard Lynch
> I think I found a bug with the pdf_open_image_file() function. I am running > php4.0.4 pl1 with pdflib 3.03. > I cannot open any .gif or .tif files. Tell more about the potential bug and your setup and/or search in http://bugs.php.net for similar bugs. As it is, nobody can help you too much...

Re: [PHP] Data Entry From Listbox

2001-02-03 Thread Richard Lynch
> I have a little problem. I have a listbox (multiline combo box) on my web > page. When I sellect multiple items from the list box and submit the form to > enter the values of the listbox items in the database, then only last > selected item of the listbox is entered in the MySQL database. > > Do

Re: [PHP] Probem with headers. HELP ME!!!

2001-02-03 Thread Richard Lynch
> I want to make a php script that outputs a file in a secure dir (outside of > web root), this scripts checks the permisions of the user to download the > file, i use phplib, and my probmem is when i call it from a browser the > filename to save is set always to test.php, can i send a header to s

Re: [PHP] duplicate entries in mysql column

2001-02-03 Thread Richard Lynch
> My problem is that I need to find a way to check all the candidate_name > before printing them on the screen and add a flag to the ones which > occure more than once. If you can live with listing the names in alphabetical order, you can do something like this: $query = "select name, id from ca

Re: [PHP] pg_Exec: Warning: 1 is not a valid PostgreSQL link resource.

2001-02-03 Thread Richard Lynch
> We have a host (host A) with PostgreSQL 7.0.3. and PHP 4.0.4 under Red Hat > > We have another host (host B) with PHP 4.0.3pl1 under Debian > > We are having an incomprehensible error with this code when the content of $sql is > > and "update" > > ... > > $resultado=pg_Exec($conexion,$sql); > >

Re: [PHP] Zend Debug Server

2001-02-03 Thread Richard Lynch
>Does anybody know how should I recognise if Zend Debug Server is running ??? Either says something like "...with Zend DebugServer..." or it doesn't. It's in the Zend engine section next to the Zend logo. If it's not running, check your httpd logs to see why. -- Visit the Zend Store at http

Re: [PHP] Mysql Question

2001-02-03 Thread Richard Lynch
>Can i know the date of the last table update in a Mysql database? You can add a field named 'modified' that is of type 'timestamp' and use: select max(modified) from blah; I don't know of any documented way to check the last modified time for a whole table. -- Visit the Zend Store at http://w

Re: [PHP] Php Database

2001-02-03 Thread Richard Lynch
> Hi everyone! > To use de DBA database format, first i had to configurate php with > --with-db2 option. All works (configure, make and make install). But the > php script still not works. The line of the script that has a problem > is: > > $id = dba_open ("/home/httpd/html/testes/test.db", "n", "

Re: [PHP] PHP a lightweight language?

2001-02-03 Thread Richard Lynch
> I'm interested in the proposition made recently on this list that PHP is > somehow a 'lightweight' language that some people don't take seriously. I 'lightweight' is good :-) PHP has less "clutter" than, say, Perl, where there are so many functions and overloaded symbols that no two Perl hacke

Re: [PHP] Dnloading FDF docs / acrobat integration

2001-02-03 Thread Richard Lynch
> The problem is: When a user clicks on the link, the fdf document either 1) > is displayed in plain text (despite the proper header being sent) or 2) > acrobat reader opens but displays an error saying the file can not be found. > > I can right click on the link, and choose to save to disk. Onc

Re: [PHP] rephrasing: start session in frame-index, continue in pages

2001-02-03 Thread Richard Lynch
> index.php: > session_start > read in $array from csv file > ?> > > menu > content > > > and now: how can i continue the session in the content pages? In each content page, add: You may wish to session_register('array'); in your index.php page if you're trying to do what I think you're tryin

Re: [PHP] errors when included functions call functions

2001-02-03 Thread Richard Lynch
> Can someone explain to me why this does not work... > > All pages on my site header and footer files... > the header file calls an to config.inc and functions.inc > > I have a function to connect to the db in functions.inc, that many other > functions and includes use. > > All works fine >

Re: [PHP] Transitioning from php3 to php4

2001-02-03 Thread Richard Lynch
> I have several sites that need to be upgraded from php3 to php4. In order > to test compliance of the php3 code on php4, I need to know exactly which > functions have different usage / results on php4. > > I know that include() and rand() work differently, any others? > > Does anyone know of an

Re: [PHP] Email Attachment

2001-02-03 Thread Richard Lynch
> I know how to send a standard email, but I`m having a bit of trouble adding > an attachment, can anyone put me right? > > this is my code which works fine... > > $subject="Hi"; > $email="[EMAIL PROTECTED]"; > $from="[EMAIL PROTECTED]"; > $message="Hi this is me testing my PHP mail script"; > > m

Re: [PHP] Java variables - PHP varialbles

2001-02-03 Thread Richard Lynch
> Can someone tell me how we can assign the content of a PHP > variable to a Java variables in a script (and vice versa). PHP -> JavaScript is easy: \n"; echo "document.foo = $foo;\n"; echo "\n\n"; ?> The other way around is a bit tougher... You see, PHP runs on the server and spit

Re: [PHP] Performance hit with certain apache configs?

2001-02-03 Thread Richard Lynch
> I'm wondering if anyone has any info regarding any performance hits > taken as a result of changing the default type to application/x-httpd-php > in Apache's httpd.conf, or if there are any _other_ implications of doing > this. > > Any info would be appreciated, as would a cc: cuz I'm not subbed

Re: [PHP] Odd problem

2001-02-03 Thread Richard Lynch
> Apache on Solaris 2.6, suEXEC, PHP 3.0.15 as a CGI (not mod_php). > I'm seeing this sort of thing in my Apache error logs. > > failed to open log file > fopen: Permission denied > [Thu Feb 1 04:28:33 2001] [error] [client 192.168.1.15] Premature end of script headers: /usr/local/mailman/cgi-bin

Re: [PHP] How does memory limit work?

2001-02-03 Thread Richard Lynch
> I am trying to prevent my Linux machine from crashing by the use of > memory_limit, but is does not seem to work as I expect it to: When a > php-script includes itself recursively by accident it grabbes all memory > available in a matter of seconds, although I set max_execution_time=30 > and mem

Re: [PHP] Image

2001-02-03 Thread Richard Lynch
> I wonder if anyone can tell me how I can use an another image as an > background in a new image? You'll need the GD library (http://boutell.com) and use --with-gd when compiling. Once you've installed those, it's a matter of reading the functions at http://php.net/ in the GD section. -- Visit

Re: [PHP] Inappropriate ioctl for device

2001-02-03 Thread Richard Lynch
> $filename="http://195.92.38.87/cgi-win/homeview.dll?details1?src=1050&Proper > tyCode=1050003/SAPHI/14665/3"; Shouldn't that second ? be a & instead?... > $file=fopen($filename,"r") or die("cant open $filename"); > while(!feof($file)){ > $line=fgets($file,4096); > echo $line; > } > > but when

Re: [PHP] Win2K/PHP4.0.4pl1 - include_path mess (won't include from the current directory)

2001-02-03 Thread Richard Lynch
> in my PHP.ini (which stays under c:\WINNT) I have > > include_path = "P:\includes; " ; UNIX: "/path1:/path2" > Windows: "\path1;\path2" > doc_root = ; the root of the php pages, used only if nonempty > > under "P:\includes" are PHPLIB and some few scripts that I need to > auto_p

Re: [PHP] new mail() function

2001-02-03 Thread Richard Lynch
> I recently downloaded the ArGoSoft mail server that > someone on this list once suggested when trying to use > the mail command on a window's system running php. Another option for a low-traffic mail system might be to download the Pegasus email client, and use its command-line interface for ma

Re: [PHP] Loading Files & Writing...

2001-02-03 Thread Richard Lynch
> I have a javascript to edit an html page thatI have written and have > been searching for a way to load a file into a text box and write the > contents to a file on the server when done in PHP. Is this possible? Any > direction is appreciated. Thanks in advance. The tricky part is

Re: [PHP] Pricing for PHP programming???

2001-02-03 Thread Richard Lynch
> So how do you know what to charge when youre independent and just starting? Dart board :-) -- Visit the Zend Store at http://www.zend.com/store/ Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm -- PHP Genera

Re: [PHP] Program execution

2001-02-03 Thread Richard Lynch
>This happens only when I use php as a module: >When I'd like to run a command with exec or system function I got always this message >and the program never executes: >Warning: Unable to fork [the command's name what I'd like to run] in filename on line XY Your OS may have placed an upper bound o

Re: [PHP] imap (nntp) message tracking

2001-02-03 Thread Richard Lynch
I think each message has a unique ID generated by the machine that posted it... -- Visit the Zend Store at http://www.zend.com/store/ Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm - Original Message - Fr

Re: [PHP] Pricing for PHP programming???

2001-02-03 Thread Richard Lynch
> Isn't it illegal in the US to discuss > rates in this manner? > > It's always been my understanding that > The U.S. law specifically makes discussion > of pricing between competitors (all or some) > a federal offense. > > Am I taking this too literally? I think so. First of all, this isn't a U

Re: [PHP] Oracle8 OciLogon !

2001-02-03 Thread Richard Lynch
> i use oracle and i always get this error: > call to undefined function ocilogon()! That usually means you didn't compile in Oracle support with PHP. -- Visit the Zend Store at http://www.zend.com/store/ Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little

Re: [PHP] php changing passwd from unixusers?

2001-02-03 Thread Richard Lynch
> Is it possible using a php -based website to change passwords from > unixusers? > Php runs at my system under user: www how can I let it execute: passwd > and change a password? I think the passwd shell command requires a real TTY rather than just ol' PHP. You could *maybe* do it by having PHP

Re: [PHP] REGULAR EXPRESSION

2001-02-03 Thread Richard Lynch
> I 'd like to have an input that contains only a to Z and space and > ëàéêêàäïüöûâç- nothing else like numbers or whatever and also does not start > with space ! > till now with ur help i get the following : > > (!ereg("[a-zA-Z[:space:]ëàéêêàäïüöûâç-]", $name)) All those weird characters you typ

Re: [PHP] Bcc email does not work

2001-02-03 Thread Richard Lynch
> Have u ever tried to send many emails using Bcc? > It does not work for me ! Yeah, somewhere around 50 addresses you are choking sendmail. You'll need something designed for a little more heavy-duty work than the mail() function. See Manuel Lemos' mail class, or consider integration with a ma

Re: [PHP] check email exists under Windows NT!

2001-02-03 Thread Richard Lynch
> Is it posiible to check that an email exists before confirming a form > under windows NT ? > Thanks There are several email verification scripts floating around in PHP archives. Most just make sure the email "looks" good for the usual formats. None, I think, impelement the full 3-page Regular E

Re: [PHP] About function Include

2001-02-03 Thread Richard Lynch
> I've been using the funcion INCLUDE like this: > because file header.htm has to be included > in a lot of files. I want to use "/" because file header.htm is in main > directory (like E:) and there are files in very directories above E:. > But when I have a file in a directory above, like E:fol

Re: [PHP] disabling page caching, yes or no

2001-02-03 Thread Richard Lynch
> I'm trying to build the first page to a database driven website. The first > thing I'm trying to do is detect if cookies are enabled on the users > browser, and then, via a header(location: mysite.php), redirect the user to > either a cookie supported page, or cookie unsupported page. I will u

Re: [PHP] trouble with reading session variables: BUG?

2001-02-03 Thread Richard Lynch
> When using Cookies for session management everything works fine (the > authentication part). But not passing the values of the session variables. > In the example below the existence of '$ident' is verified. But no chance to > get its value: no 'echo' prints out anything! Even isset() denies the

Re: [PHP] Oracle Function list

2001-02-03 Thread Richard Lynch
> I found a list of some of the Oracle Functions at the main PHP site. Is > this all there is? Probably. Anything in particular you felt was missing?... -- Visit the Zend Store at http://www.zend.com/store/ Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a li

RE: [PHP] Stringing sql queries?

2001-02-03 Thread Randy Johnson
What about an insert or an update instead of a select? thanks randy -Original Message- From: Thomas Weber [mailto:[EMAIL PROTECTED]] Sent: Saturday, February 03, 2001 8:37 PM To: Sandeep Hundal Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Stringing sql queries? Yep, try this: SELECT a.co

[PHP] Multi-Dimensional Array Problems

2001-02-03 Thread Toby Miller
Hey all, I've got this user authentication class that grabs a users profile from the database. Anyhow, I need to also insert the groups that this user belongs to along with permission settings. I'm having trouble figuring out how to store and read back the data. I'm using PHP4. Here's the code

Re: [PHP] Session With Cookies

2001-02-03 Thread Shane McBride
Try this: // Set Cookie if not already set if (!isset($user_id)) { $token = md5(uniqid(rand())); setcookie("user_id", $token, time()+3600,"/",".yourdomain.com"); } look at the setcookie function on php.net to figure out all the parameters: http://www.php.net/manual/en/function.setcookie.ph

[PHP] HTTP Authentication w/IIS

2001-02-03 Thread Shane McBride
OK, I loaded PHP with the ISAPI filter, but still no luck with authentication.. Here's the basic script that works on Apache/Linux:

Re: [PHP] IIS & ISAPI

2001-02-03 Thread Shane McBride
Yea I had to move the php4ts.dll dile to the winnt directory. Thanks. Have you every tried to get authentication to work using PHP as isapi? - Original Message - From: "Chris Fry" <[EMAIL PROTECTED]> To: "Shane McBride" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Saturday, February

[PHP] Replacing A Word in HTML page

2001-02-03 Thread phpLover
I want to read an HTML page from another site and replace certain characters with capital letters and show them in another dynamically generated web page on my site. I know this is possible in Perl, but can this be done in PHP? If yes, then how? Thanks -- PHP General Mailing List (http://www.

[PHP] Session With Cookies

2001-02-03 Thread phpLover
How can I maintain a user session using cookies? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] IIS & ISAPI

2001-02-03 Thread Chris Fry
Shane, Had the same problem - move the dll into the php directory - doesn't seem to work in the sapi dir. Also you need to set the root dir in php.ini Chris Shane McBride wrote: > I have loaded PHP according to the install file but I can not see any .php file in a >browser. > > When I look

[PHP] php_imap4r2.dll not loaded ?!?! (win2k)

2001-02-03 Thread Eelco de Vries
Hello, I'm trying to use some POP3 functions and the manual states I would need to use the IMAP functions. So I uncommented the ";extension=php_imap4r2.dll" line in my "c:\winnt\php.ini" file. But it gave me the following error: "Unable to load dynamic library './php_imap4r2.dll' - The specified

[PHP] Compile error w/ libextra.a (ranlib)

2001-02-03 Thread Doug Taylor
Hello, I am attempting to take over development and maintenance of a very neglected website (and with your donation of only 50¢ per day...). The site contained code which was originally thought to be some proprietary, modified version of PHP (which really pissed me off!)... but eventually it was

Re: [PHP] Re:What version of Linux?

2001-02-03 Thread John Hinsley
Christian Reiniger <[EMAIL PROTECTED]> wrote: > Well, my home server is a wimpy P90 with 48MB RAM. It serves as web > server (all my technical docs, php website testing, more), web cache > (WWWoffle), web filter (junkbuster), file server (nfs and samba), > masquerading internet gatewa

[PHP] IIS & ISAPI

2001-02-03 Thread Shane McBride
I have loaded PHP according to the install file but I can not see any .php file in a browser. When I look under the ISAPI properties in IIS is appears that the dll is not loading. It has a red arrow pointing down. Any ideas? shane

php-general Digest 4 Feb 2001 03:09:01 -0000 Issue 491

2001-02-03 Thread php-general-digest-help
php-general Digest 4 Feb 2001 03:09:01 - Issue 491 Topics (messages 37956 through 38020): PHP hosting - the final frontier. 37956 by: Chris Mason 37981 by: Ben Peter 37984 by: Chris Mason 37985 by: Robert Covell 37989 by: Boaz Yahav 37996 by:

Re: [PHP] Syncronizing of mysql-db

2001-02-03 Thread Michael Dearman
Maybe mysqldump? Something like: mysqldump my_db | mysql -h the.other.org my_db Of course you got to stick a username passwd in there somewhere. In the open? Someone else will have to help if that's a concern, which it should be, I guess. And you might find some of the various options useful

Re: [PHP] upgrade installation

2001-02-03 Thread Michael Hall
Sorry for the redundant suggestion, I see you've already tried it. Dealing with as much mail as there is on this list, you can see that I often cut corners. If --with-db2 is not working, perhaps it is because you need to install the Berkeley database first. You might have gdbm (Gnome dbm) alrea

Re: [PHP] Stringing sql queries?

2001-02-03 Thread Thomas Weber
Yep, try this: SELECT a.col1, a.col2, b.col3, c.col4 FROM table1 a, table2 b, table3 c This should give you an array [col1,col2,col3,col4] Thomas Weber --- EMail: [EMAIL PROTECTED] Homepage: http://www.youngarts.org / http://www.visions-of-future.de - Original Message - From: "Sandee

Re: [PHP] Select list with PHP

2001-02-03 Thread Steve Edberg
At 3:24 PM -0700 2/3/01, Gerry wrote: >Hello: > >I'm trying to create dinamic color SELECT lists with php. I have my >database set up as follows: > >Paint = good >bucket = good >weight = 100kg >Colors = green, blue, red > >and here is my php: > >while ($row = mysql_fetch_array($sql_result)) { >ech

[PHP] need curl tutorial

2001-02-03 Thread webbie
Hi. Can somebody point me in the direction of where I can see some good examples and tutorials (manuals) for using PHP curl functions? The PHP-manual for curl functions is a bit inadequate for my experience level. I am new to curl but have it compiled and functioning into PHP. I would like

[PHP] my bugaboo.

2001-02-03 Thread Floyd Baker
Hi.. I have a routine where we input text to fields. When there is an apostrophe it handles it correctly. When the form is brought back for editing, the field values show up in the input fields, with all apostrophes intact, just as it should be. When I upload this script to my isp, it doesn

[PHP] Stringing sql queries?

2001-02-03 Thread Sandeep Hundal
All, can I string 2 sql queries one after the other? like "select * from $table; select * from $table2;" ??? If I can, does that mean if I use mysql_fetch_array then it'll convert results from both queries into variables? TIA __ Get personalized

[PHP] Oracle sessions

2001-02-03 Thread Christoph Kempen
Hi, My oracle sessions are getting full all the time... I use a OCILogoff at the end of my script... What could be the problem. I don¹t use a persistent logon. Thanx, Christoph BTW Is there a fast way to release the not-used-sessions in oracle. I try to kill them in svrmgrl, but they only ge

[PHP] php-nuke?

2001-02-03 Thread FredrikAT
What is php-nuke? How could I make a php-page execute something (itself?) without entering the site... it starts evry hour?! - Fredrik A. Takle [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For ad

[PHP] Bah, XML

2001-02-03 Thread [EMAIL PROTECTED]
Why is this failing? If I comment out the xml_set_element_handler() call, it's okay... If I comment out the xml_parse() call, it's okay... If I leave both of them in...it core dumps. Ideas? -Szii "; $xmlp = xml_parser_create(); xml_set_element_handler($xmlp, "startElement", "endElemen

Re: [PHP] upgrade installation

2001-02-03 Thread Michael Hall
Bom Dia Vinicius: Try this: before you reinstall PHP, make sure you delete the old config.cache file ... it is in the same directory where you do config/make/install. Don't worry, deleting this file is OK. Michael On Sat, 3 Feb 2001, Vinicius Garcia wrote: > Hi everyone.. > > When i install

Re: [PHP] PHP news groups

2001-02-03 Thread CC Zona
In article <95i2ch$1u8$[EMAIL PROTECTED]>, [EMAIL PROTECTED] ("McShen") wrote: > I am just wondering if there are any PHP newsgroups like this one. There are several newsgroups on PHP, but the only one I'd recommend is the most active of them, . The others tend to have much less

Re: [PHP] PHP news groups

2001-02-03 Thread Philip Olson
This mailing list is also : news.php.net Also, this newsgroup exists (seperate from list) alt.php Philip On Sat, 3 Feb 2001, McShen wrote: > hi > > I am just wondering if there are any PHP newsgroups like this one. I am > looking for PHP newgroups so that i can ask people questions

[PHP] PHP news groups

2001-02-03 Thread McShen
hi I am just wondering if there are any PHP newsgroups like this one. I am looking for PHP newgroups so that i can ask people questions. mick http://www.celebritieszones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

[PHP-I18N] Invitation to a new Web site on politics and culture

2001-02-03 Thread editor
This is an invitation to you to visit a new Web site, THE SCHENK REPORT (http://www.SchenkReport.com), where the subjects are politics and culture from a generally liberal point of view. THE SCHENK REPORT features: **Insightful commentary, generally from the left but sometimes veering off in ot

[PHP] Invitation to a new Web site on politics and culture

2001-02-03 Thread editor
This is an invitation to you to visit a new Web site, THE SCHENK REPORT (http://www.SchenkReport.com), where the subjects are politics and culture from a generally liberal point of view. THE SCHENK REPORT features: **Insightful commentary, generally from the left but sometimes veering off in ot

Re: [PHP] getimagesize question

2001-02-03 Thread Website4S
Tom, Thanks for that, worked a treat. Ade -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] CGI vs PHP

2001-02-03 Thread Steve Werby
"phpLover" <[EMAIL PROTECTED]> wrote: > I am sorry if my question is confusing. What I mean is that CGI is excellent > in handling flat file data base, reading and writing files line by line, > word by wor. So is PHP equally strong? I assume you mean Perl CGI - there are many programming language

RE: [PHP] PHP hosting - the final frontier.

2001-02-03 Thread Navid Yar
Actually, there is nothing wrong with a one-manned hosting service. I agree with Robert in this, there are a lot of big hosting companies that don't really have a personal hold of their business to really care about their clients. To them everything is automated and all they do is hire customer se

Re: [PHP] getimagesize question

2001-02-03 Thread Tom Meininger
Hi Ade, To combine strings, you simply use a period. For example: $image = $frame . "top.gif"; If $frame is "hello", then $image will come out as "hellotop.gif". Hope that helped... Regards, Tom _ Tomeeboy.com - Your place for the best stu

Re: [PHP] Form's and oracle

2001-02-03 Thread Iván Sánchez Ortega \"MR\"
"Christoph Kempen" ... > For example: > I¹ts a test php:I\¹ts a test > But oracle wants: I¹¹ts a test I think that a predefined replace function, with ' and " should do the trick... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EM

Re: [PHP] CGI vs PHP

2001-02-03 Thread phpLover
I am sorry if my question is confusing. What I mean is that CGI is excellent in handling flat file data base, reading and writing files line by line, word by wor. So is PHP equally strong? - Original Message - From: "Alain Fontaine" <[EMAIL PROTECTED]> Newsgroups: php.general Sent: Sunday

Fw: [PHP] Problem compiling PHP4 Nr. 2

2001-02-03 Thread Thomas Weber
I have solved the problem. But now i have another problem: Look at this screenshot: http://electic.hn.org/tunix.gif Thanks, --- Thomas Weber --- EMail: [EMAIL PROTECTED] Homepage: http://www.youngarts.org / http://www.visions-of-future.de - Original Message - From: "Thomas Weber" <[EMAIL

Re: [PHP] Undefined variable

2001-02-03 Thread Steve Werby
"Dundee (Roland)" <[EMAIL PROTECTED]> wrote: > When creating a page(php) on Win2000 I get alot of 'Undefined variable' > error messages, but there are no errors at all running the same page on a > apache server. Is the variable a user defined variable? If so, my guess is the error reporting leve

RE: [PHP] getimagesize question

2001-02-03 Thread Dundee \(Roland\)
To get the imagesize $PictSize = GetImageSize ($file_image_path . $PictName); $pictW = $PictSize[0]; $pictH = $PictSize[1]; -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Saturday, 3 February 2001 9:28 PM To: [EMAIL PROTECTED] Subject: [PHP] getimagesize qu

RE: [PHP] PHP hosting - the final frontier.

2001-02-03 Thread Robert Covell
I shouldn't even reply to this... Yes I would host with me. Have you ever heard of a backup plan. People that would step in if something happens to me? People that I trust to keep the company going if it fails. With all due respect, how do people host with a company that doesn't give a rats a

[PHP] Undefined variable

2001-02-03 Thread Dundee \(Roland\)
Hello When creating a page(php) on Win2000 I get alot of 'Undefined variable' error messages, but there are no errors at all running the same page on a apache server. How come? Thanks for some hints. Roland -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PR

[PHP] getimagesize question

2001-02-03 Thread Website4S
Hi, I`m using the following to get the image size... $size = getimagesize("$Frame"); My problem is $Frame can`t contain the full name of the image for various reasons, so what I need to do is somehow add the rest, something along the lines of this... $size = getimagesize("$Frame'top.gif'");

[PHP] sessions without cookies

2001-02-03 Thread Doug Kite
How can you get something like: header ("Location: $PHP_SELF?"); to redirect with the sessid in the url? In my tests, it redirects, but does not append the sessid. I have compiled with --enable-trans-sid. Transparent sid is working, I can use it on links like: "> and it works. I have put this

[PHP] test - please disregard

2001-02-03 Thread Matthew Clark
-- Matthew Clark -- 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] Question about flock() on Linux. Part 2

2001-02-03 Thread Andrew Sitnikov
Hello php-general, This also does not work: flock.php Best regards, Andrew Sitnikov e-mail : [EMAIL PROTECTED] GSM: (+372) 56491109 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: [PHP] try - catch ?

2001-02-03 Thread Teodor Cimpoesu
Alain Fontaine wrote: > > Hi, > > Are there any plans on implementing something like Exception handling into > future versions of PHP? That would be great. > I do remember Zeev saying it is considered for future implementation. I don't remember if it was on this list or php-dev one, though.

RE: [PHP] PHP hosting - the final frontier.

2001-02-03 Thread Boaz Yahav
And if, God forbid, something was to happen to you... 120 People / Companies would be left with a server that no one knows the root password too? With all due respect, how can someone in his right mind host with a one man gang company? For all I know you can be a hosting genius and give the best

[PHP] Question about flock() on Linux

2001-02-03 Thread Andrew Sitnikov
Hello php-general, Script flock.php: Run it: ab -n 10 -c 10 http://host/flock.php Why file have similar lines ? 432 : 431 : 431 432 433 : 433 ... 84841 : 841 2 : 842 May be flock not working or I do not understand, how it should work ? How correctly to write in a file from different threads?

Re: [PHP] CGI vs PHP

2001-02-03 Thread Alain Fontaine
Do you know what PHP is? Your question sounds like "How does MS SQL Server compare to a relational database". Anyway, you can do almost everything with PHP, and that includes handling flat files. No problem. ""phpLover"" <[EMAIL PROTECTED]> a écrit dans le message news: 95hl5r$1su$[EMAIL PROTECT

[PHP] try - catch ?

2001-02-03 Thread Alain Fontaine
Hi, Are there any plans on implementing something like Exception handling into future versions of PHP? That would be great. -- 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 admini

RE: [PHP] PHP hosting - the final frontier.

2001-02-03 Thread Robert Covell
I am going to have to disagree on this one. I run a successful (and profitable) hosting company(http://www.rolet.com). My employees total 1 (me, myself and I). The number of clients hosted is roughly 120. I provide a wide variety of services on Linux, FreeBSD, NT, and W2K. Yes it is hard to be

  1   2   >