Re: [PHP] Client Side PHP

2003-02-06 Thread Justin French
on 07/02/03 2:41 AM, Pete ([EMAIL PROTECTED]) wrote: > Think thje user base will be quite big if we got it together. > How many oho programmers are there who struggle with Javascript - me > included ;-) > Anyway the opensourcness of php would make the plugins more efficient > for each browser. I

RE: [PHP] WYSIWYG Content Management system?

2003-02-06 Thread Luke Woollard
www.webeditpro.com has a nice 'static' page editor with one of the most advanced WYSIWYG interfaces I've seen. The company I work for uses a similar one I wrote named SITEWAVE however they wont let me release it under GPL. Heres a great article on building one which I used as the basis for SITEWA

RE: [PHP] WYSIWYG Content Management system?

2003-02-06 Thread @ Nilaab
Why don't you two gather up a few more developers, decide on what is needed and what the goals are, then assign parts to build for the new CMS. Once finished, you can maybe present it to PHP.net and see if they will allow it to be developed and documented in the future by other developers. A CMS is

RE: [PHP] problems with ==?

2003-02-06 Thread Martin Towell
check for leading/trailing spaces if (trim($view) == "vendor") HTH Martin -Original Message- From: Peter Gumbrell [mailto:[EMAIL PROTECTED]] Sent: Friday, February 07, 2003 3:07 PM To: Php-General Subject: [PHP] problems with ==? In the following code $view = $HTTP_GET_VARS[view]; pri

[PHP] problems with ==?

2003-02-06 Thread Peter Gumbrell
In the following code $view = $HTTP_GET_VARS[view]; print $view; if ($view == "vendor") { code here } print $view produces 'vendor' but the if statement in the next section isn't being triggered. Can anyone see what is wrong here? I have tried double quotes, single quotes and no quotes around 'v

[PHP] Different dates with lmost same script

2003-02-06 Thread Miguel Brás
Hi, I have 2 pages that shows a table contents On one, it shows the title and date with the following script ** 0) { // iterate através do conj resultados // print titulo dos artigos while($row = mysql_fetch_object($result)) { ?> http://www.ivao-pt.org

RE: [PHP] jumping between php and html or using echo for printing html-tags.

2003-02-06 Thread Chris Shiflett
--- Daevid Vincent <[EMAIL PROTECTED]> wrote: > Fatal error: Call to undefined function: floatval() > in /home/dae51d/public_html/examples/echotest.php on > line 14 Please try to make an effort and do a little research of your own before asking the list: http://www.php.net/manual/en/function.floa

Re[2]: [PHP] empty and isset

2003-02-06 Thread Tom Rogers
Hi, Friday, February 7, 2003, 4:39:42 AM, you wrote: JW> On Friday 07 February 2003 01:35, [EMAIL PROTECTED] wrote: >> Thanks for clearing that up. JW> Hmm, it seems like you still haven't grasped it yet :) >> So input of type text does a set, which makes >> isset() true, JW> Correct. >> but

RE: [PHP] jumping between php and html or using echo for printing html-tags.

2003-02-06 Thread Daevid Vincent
Fatal error: Call to undefined function: floatval() in /home/dae51d/public_html/examples/echotest.php on line 14 > -Original Message- > From: Chris Shiflett [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 06, 2003 2:40 PM > To: anders thoresson; [EMAIL PROTECTED] > Subject: Re: [PH

RE: [PHP] Webyog Releases SQLyog 3.02

2003-02-06 Thread Daevid Vincent
Dude. That freakin' form that asks for my email/name EVERY time has to go. Make that shit voluntary. It's annoying as hell, and is just forcing me (and others) to enter bunk info everytime we want an update to this product. > -Original Message- > From: Insanely Great [mailto:[EMAIL PROTECT

Re: [PHP] Stupid question, sorry...

2003-02-06 Thread Jason Sheets
Because PHP performs evaluation on the contents of double quotes and does not evaluate the contents of single quotes. This is covered in the PHP manual in the Variables section at http://www.php.net/manual/en/language.variables.php. Jason On Thu, 2003-02-06 at 08:27, Chris Boget wrote: > Why is

Re: [PHP] upgrade issues

2003-02-06 Thread Jason Sheets
It looks like your code is using register globals which are turned off by default in PHP 4.2 and greater. You can either modify your code to use the PHP super globals or turn register globals back on (you can do this in php.ini or via an httpd.conf/.htaccess). Jason On Thu, 2003-02-06 at 08:12, B

Re: [PHP] if(!empty()) statement

2003-02-06 Thread Kevin Stone
Before I say a word I'd just like to inform you that these are the types of questions better left to books and tutorials rather than live help. That being said, ELSE does not need to follow IF. Code the condition you want to capture and perform your error message on that. // Enter if member not

[PHP] Stream does not support seeking

2003-02-06 Thread Pierre-Luc Soucy
Hi, We have recently upgraded to PHP 4.30 and since then, some people on our server started getting the following error message on their sites: Warning: main() [function.main]: stream does not support seeking in http://www.domain.com/path/to/file.inc on line 0 We have found that it happens when

[PHP] if(!empty()) statement

2003-02-06 Thread Sunfire
hi.. i have a combobox that has members from a mysql database loaded into it.. one of the choices is "select a member to edit" and has a value of "". now if a person selects "select a member to edit", then an error message shows up saying they need to select a member to edit and puts them back to t

[PHP] Re: php headers already sent error.

2003-02-06 Thread Justin Garrett
http://www.php.net/manual/en/faq.using.php#faq.using.headers-sent Justin Garrett "Chris Winters" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Im SO CLOSE! > > Welll to start I had everything running FINE (MySQL, Apache, and PHP) until > I installed STUPID Ze

[PHP] Re: Include directoive on PHP.

2003-02-06 Thread Justin Garrett
Edit php.ini and add the pear directory to your include_path or use ini_set to set your include_path in your script: http://www.php.net/manual/en/function.ini-set.php Justin Garrett "Harring Figueiredo" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > I woul

[PHP] Re: passing variables and functions between a base class and subclass

2003-02-06 Thread Justin Garrett
a = "hi"; $this->hello(); } } $foo = new sub; $foo->hi(); echo $foo->a; ?> Justin Garrett "Electroteque" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > hi there sorry about the long subject , but i have not mastered yet how to > pass funtcions and

Re: [PHP] Reading input stream of incoming request

2003-02-06 Thread Reuben D. Budiardja
On Thursday 06 February 2003 05:22 pm, Chris Shiflett wrote: > --- "Reuben D. Budiardja" <[EMAIL PROTECTED]> > > wrote: > > I browse the archive and found the following code to > > simulate a POST request using socket connection. This > > will send a request to my own server (localhost). And > > th

[PHP] Include directoive on PHP.

2003-02-06 Thread Harring Figueiredo
I would like to include some of the files ( tabel.php, etc ) from PEAR on my scripts - Do I have to hardcode the installation path ? or is there a directive that tells the preprocessor to look on the right place (Like in c)? Thanks in advance. HArring ___

[PHP] php headers already sent error.

2003-02-06 Thread Chris Winters
Im SO CLOSE! Welll to start I had everything running FINE (MySQL, Apache, and PHP) until I installed STUPID Zend Studio for PHP. After their 30 day trial expired, I uninstalled it and everything just went downhill. After re installing everything, I have these errors left over. Now the code is alr

Re: [PHP] jumping between php and html or using echo for printing html-tags.

2003-02-06 Thread Chris Shiflett
--- Chris Shiflett <[EMAIL PROTECTED]> wrote: > Your first method is more efficient according to my > quick test, though I find myself preferring the second > when I write code due to the readability advantages. The results went the other way when I tested this using mod_php rather than the CLI, a

Re: [PHP] jumping between php and html or using echo for printing html-tags.

2003-02-06 Thread Chris Shiflett
--- anders thoresson <[EMAIL PROTECTED]> wrote: > Which is more efficient: Your first method is more efficient according to my quick test, though I find myself preferring the second when I write code due to the readability advantages. The difference is small, however. Here is the code I used to te

Re: [PHP] Reading input stream of incoming request

2003-02-06 Thread Chris Shiflett
--- "Reuben D. Budiardja" <[EMAIL PROTECTED]> wrote: > I browse the archive and found the following code to > simulate a POST request using socket connection. This > will send a request to my own server (localhost). And > then, I also have the second code (included) for > /devel/php_post.php, which

Re: [PHP] stripping %20 and other characters from query string

2003-02-06 Thread Jonathan Pitcher
Sarah, There are a couple functions that could do this for you. Probably the fastest one for your example would be as follows. $NewString = str_replace('%20', ' ', $value); // Removes the %20 characters $NewString = str_replace '\', '', $NewString); // Removes \ character echo $NewString; htt

Re: [PHP] stripping %20 and other characters from query string

2003-02-06 Thread Jason k Larson
Try these: http://www.php.net/manual/en/function.urldecode.php http://www.php.net/manual/en/function.rawurldecode.php HTH, Jason k Larson Sarah Gray wrote: Hello, Forgive me if this is an obvious question, but I am passing a value (a string with spaces and quotations) back in a query string a

[PHP] stripping %20 and other characters from query string

2003-02-06 Thread Sarah Gray
Hello, Forgive me if this is an obvious question, but I am passing a value (a string with spaces and quotations) back in a query string and do not know how to strip the extra characters that have been placed into it. For example. $value = "Sarah's Test Page" query string = mypage.php?value=Sarah

Re: [PHP] empty and isset

2003-02-06 Thread Sunfire
actually so does empty end up testing true on an empty var... thats because empty thinks "" or string(0) is actually a string just blank... a trick to do with empty is use !empty which will say if the string is at least 1 char long other wish if it is less than 1 char long even though a string does

[PHP] jumping between php and html or using echo for printing html-tags.

2003-02-06 Thread anders thoresson
Which is more efficient: function admin_menu() { echo " Meny "; echo "Medlemmar"; echo "Album"; echo "Huvudmeny"; echo "Logga ut"; } or function admin_menu() { ?> Meny Medlemmar Album Huvudmeny Logga ut } Any reasons other than speed to choose either? -- anders thoresson -- PH

Re: [PHP] Reading input stream of incoming request

2003-02-06 Thread Reuben D. Budiardja
On Thursday 06 February 2003 03:39 pm, Kevin Stone wrote: > All data sent through a POST request is stored in the $_POST array. > > $_POST['myvar']; > > -Kevin I know that. That's not what I am asking though. OK, let me just give a more concrete examples. I browse the archive and found the foll

[PHP] passing variables and functions between a base class and subclass

2003-02-06 Thread electroteque
hi there sorry about the long subject , but i have not mastered yet how to pass funtcions and variables between a base and subclass , i cant seem to access variables properly between the bass class and subclass and functions from the subclass in the base class ? -- PHP General Mailing List (htt

[PHP] compiling php 4.3.0 with gd

2003-02-06 Thread rdkurth
I am trying to compile PHP 4.3.0 with GD and also with-png,with-jpg and with-freetype. I have installed both png,jpg and freetype2 from a tar file. I was finally able to get it through the configure stage with no errors but now when I run make I am getting the following error. I have know idea what

Re: [PHP] Reading input stream of incoming request

2003-02-06 Thread Kevin Stone
All data sent through a POST request is stored in the $_POST array. $_POST['myvar']; -Kevin - Original Message - From: "Reuben D. Budiardja" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, February 06, 2003 1:27 PM Subject: [PHP] Reading input stream of incoming request >

[PHP] Re: Forking PHP

2003-02-06 Thread Seraphim
Adam Voigt wrote: > Anyone know a way to make PHP on windows fork itself into the > background? > Doesn't matter if it's a windows trick or whatever, aslong as it's > possible so that > it doens't appear in the start bar, thats fine. You have to start it as a service I think you need to be logged

[PHP] Re: Max Limit of post variables

2003-02-06 Thread Seraphim
Stuart Donald wrote: > I am trying to generate an html form with approximately 3000 post > variables (1500 input type text and 1500 hidden, I am mimicing a grid > control). The page will handle several hundred but it crashes with > more. Is there a limit to the number of variables that can be sen

Re: [PHP] Max Limit of post variables

2003-02-06 Thread Jonathan Pitcher
Stuart, The limitations you are running into are browser related. The older browsers definitely won't handle that load. And the newer ones can handle more but no where near that load. Have you thought about splitting your form into steps?? Also, you could join all your hidden variables into a

Re: [PHP] Php security

2003-02-06 Thread Chris Shiflett
--- Pushpinder Singh Garcha <[EMAIL PROTECTED]> wrote: > i wanted to check with if it is possible to see the > contents of a .php file. You can open any normal PHP script in a text editor. > I have heard of the Zend Encoder, but I was wondering > how could a person see my php script? If you use

[PHP] Reading input stream of incoming request

2003-02-06 Thread Reuben D. Budiardja
Hi, How do I read an input stream from incoming request in PHP? The incoming input stream is actually an name=value pair of a POST request method from a client. The reason I ask: I am using Apache + PHP as the backend for creating client-server scheme. The client is a MIDlet apps (J2ME: http

[PHP] Webyog Releases SQLyog 3.02

2003-02-06 Thread Insanely Great
SQLyog v3.02 - The definitive Windows Front End for MySQL, has been released. It is a superfast, compact and easy to use Front End for MySQL. A must for MySQL & PHP developers. SQLyog is FREE! Some of the new features added in SQLyog 3.02 are - -- ODBC Import. The simplest and the most powerful t

Re: Re: RE: [PHP] Variable Problem

2003-02-06 Thread Jason Wong
On Thursday 06 February 2003 22:50, Sunfire wrote: > no that doesnt work either what you get when you do that one in the edit > box is: > using: > > > or any different with echo in the value field gives me in the box: > }> > ...rest of the script outside the box Spot the difference between your co

[PHP] Php security

2003-02-06 Thread Pushpinder Singh Garcha
Hi all i wanted to check with if it is possible to see the contents of a .php file. I have heard of the Zend Encoder, but I was wondering how could a person see my php script ? Any information in this direction would be useful? TIA --Pushpinder Singh Garcha _ W

[PHP] Max Limit of post variables

2003-02-06 Thread Stuart Donald
I am trying to generate an html form with approximately 3000 post variables (1500 input type text and 1500 hidden, I am mimicing a grid control). The page will handle several hundred but it crashes with more. Is there a limit to the number of variables that can be sent post. Or is it possible I

[PHP] Re: Read file and get what i want

2003-02-06 Thread Bobby Patel
Check out explode() $file // say this variable has your file contents $lines = explode ("\n", $file); // lines contains each line of the file foreach ($lines as $line -> $content) { if (strrpos($line, ':')) { $values = explode (':', $content); echo "The first value is : ".$valu

Re: [PHP] Including images with mail() or pear mail

2003-02-06 Thread Mark McCulligh
I don't like using images in emails too, but what the customer wants they get. Mark. "Johannes Schlueter" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On Thursday 06 February 2003 19:12, Mark McCulligh wrote: > > I have a little app that sends email, All ima

Re: [PHP] processing files

2003-02-06 Thread Johannes Schlueter
On Thursday 06 February 2003 19:18, Edward Peloke wrote: > Is there a setting in the config file where I can tell php what extensions > to process? Not in the PHP configuration but in the Server configuration. For Apache add something like AddType application/x-httpd-php .xyz to your httpd.conf

Fw: [PHP] Read file and get what i want

2003-02-06 Thread Kevin Stone
You basically have two options. 1) You can use readfile() to open the file into an array then $line = explode(':', $file) in a for loop to split the values from each line. search for 'readfile' and 'explode' on php.net 2) You can fopen() the file and use $data = fgetcsv($fp, 1000, ':') then your

Re: [PHP] Including images with mail() or pear mail

2003-02-06 Thread Johannes Schlueter
On Thursday 06 February 2003 19:12, Mark McCulligh wrote: > I have a little app that sends email, All images I link back to the site > Example: http://www.site.com/images/pic1.gif";> > > I know that with the normal mail() and pear mail function you can attach > the image with the email. > My questi

Re: Re: RE: [PHP] Variable Problem

2003-02-06 Thread Sunfire
no that doesnt work either what you get when you do that one in the edit box is: using: > or any different with echo in the value field gives me in the box: }> ...rest of the script outside the box - Original Message - From: "Jason Wong" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: T

Re: [PHP] empty and isset

2003-02-06 Thread Sunfire
you need to test for empty strings such as "" which variables have when you submit an empty form .. if(!empty(varname) && !empty(varname2) && !empty(varname 3)..){ //do whatever if they have something usefull in them //this block of code will be ran if var_dumb() on all the //vars tested is >

[PHP] Read file and get what i want

2003-02-06 Thread Miguel Brás
Hello gents, I made a script to open a file on a server and write his content to a temp file on my server. A part of the temp file is below: ***temp file** !GENERAL VERSION = 1 RELOAD = 1 UPDATE = 20030206181916 CONNECTED CLIENTS = 178 CONNECTED SERVERS = 12 !CLIENTS AHS5577:134723:

Re: [PHP] empty and isset

2003-02-06 Thread Jason Wong
On Friday 07 February 2003 01:35, [EMAIL PROTECTED] wrote: > Thanks for clearing that up. Hmm, it seems like you still haven't grasped it yet :) > So input of type text does a set, which makes > isset() true, Correct. > but isset() does not return true if $var is merely empty. Incorrect. Basi

[PHP] Re: best oop book

2003-02-06 Thread David Eisenhart
I got a lot out of Web Application Development with PHP4, by Tobias Ratshiller and Till Gerken, New Riders. Its not just about oop but covers this aspect well and is generally a very well written intermediate to advanced treatment of php. Also to keep ahead of the game this is an interesting artic

[PHP] processing files

2003-02-06 Thread Edward Peloke
Is there a setting in the config file where I can tell php what extensions to process? Thanks, Eddie -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Including images with mail() or pear mail

2003-02-06 Thread Mark McCulligh
I have a little app that sends email, All images I link back to the site Example: http://www.site.com/images/pic1.gif";> I know that with the normal mail() and pear mail function you can attach the image with the email. My question is what is better. Linking the image back to the site is very eas

[PHP] Re: Solutions need for resizing images (Thumbnail) on the fly..

2003-02-06 Thread Geckodeep
Thanks goetz for your time, that's very kind of you to write the code. if i have any more questions i shall post it under new thread. "Goetz Lohmann" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Geckodeep schrieb: > > Thanks Goetz > > > > But how can I apply

Re: [PHP] Searching MySQL 'text' field

2003-02-06 Thread Hardik Doshi
Hi there, You have to use full text search capabilities of MySQL. Please take a look mysql documentation for full text search. thanks Hardik --- Vernon <[EMAIL PROTECTED]> wrote: > I've setup a search page using PHP which when > searching a MySQL 'varchar' > field it works just fine, but I'm try

Re: [PHP] empty and isset

2003-02-06 Thread Mike . Kent
Thanks for clearing that up. So input of type text does a set, which makes isset() true, but isset() does not return true if $var is merely empty.

[PHP] Re: Solutions need for resizing images (Thumbnail) on the fly..

2003-02-06 Thread Goetz Lohmann
Geckodeep schrieb: > Thanks Goetz > > But how can I apply this having: > > Path to the folder is $folder='images/repor_images'; // path to the > image. > > My 9image variables are $image1, $image2, $image3,. and the code to call the > image > > src=\"$folder/$image1\">" ?> > > Thanks ag

[PHP] Forking PHP

2003-02-06 Thread Adam Voigt
Anyone know a way to make PHP on windows fork itself into the background? Doesn't matter if it's a windows trick or whatever, aslong as it's possible so that it doens't appear in the start bar, thats fine. Preferably it would work under both Win98 and Win2000 but I'm not gonna be picky. Thanks ve

[PHP] Re: instantiating objects

2003-02-06 Thread Justin Garrett
http://www.php.net/manual/en/language.references.php http://www.php.net/manual/en/language.oop.php Examples 1 and 4 are equivalent Example 2 assigns a reference of the new object to $form Example 3 assigns the value from the DB class method connect() to $dbh (could be an object or some other value

[PHP] subscribe swalker@caspercollege.edu

2003-02-06 Thread Stewart Walker
subscribe [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] instantiating objects

2003-02-06 Thread Beau Hartshorne
I'm just starting to use PEAR, and have seen several ways of instantiating the PEAR objects: $form = new HTML_QuickForm(); $form =& new HTML_QuickForm(); $dbh = DB:connect("dsn"); $dbh = new DB(); $mail_object =& Mail::factory('sendmail', $params); Can anyone explain (or point to dome docs that e

Re: [PHP] php pages broken after moving to a newer version

2003-02-06 Thread Jason Wong
On Thursday 06 February 2003 23:56, [EMAIL PROTECTED] wrote: > Okay, so I have turned on all the error handling options in > /usr/local/etc/php.ini-dist. As someone has already pointed out, that file should be 'php.ini', not 'php.ini-dist'. > I have purposely put an error in my > phpinfo.php >

Re: [PHP] php pages broken after moving to a newer version

2003-02-06 Thread chip . wiegand
Goetz Lohmann <[EMAIL PROTECTED]> wrote on 02/06/2003 08:09:19 AM: > Chip Wiegand schrieb: > > Okay, so I have turned on all the error handling options in > > /usr/local/etc/php.ini-dist. I have purposely put an error in my > > phpinfo.php > > page, it errors out in the browser, but no error lo

Re: [PHP] empty and isset

2003-02-06 Thread John Nichel
It's fairly easy. isset returns true if the VARIABLE itself exists, like if it's been declared, or set by a form. isset isn't checking the VALUE of the VARIABLE, just if it exists. In Jason's example below, isset returns false because the VARIABLE was never declared in some way, shape or for

Re: [PHP] Date Difference Errors

2003-02-06 Thread Jason Wong
On Thursday 06 February 2003 23:13, Rob Quenzer wrote: > I have a function that I use to return the number of days between two > dates. It worked fine on my Mandrake 7.0 server running PHP 4. I am > trying to run it on a RedHat 8.0 box with the same version of PHP. On > Mandrake, strtotime() and

Re: [PHP] empty and isset

2003-02-06 Thread Jason Wong
On Thursday 06 February 2003 22:50, [EMAIL PROTECTED] wrote: > > of type text are set regardless of whether you have entered > > anything. > > Thus isset() returns true. > Actually, I believe it's not a matter of the input being set, but the fact > that isset() returns true on an empty variable.

[PHP] Re: Solutions need for resizing images (Thumbnail) on the fly..

2003-02-06 Thread Geckodeep
Thanks Goetz But how can I apply this having: Path to the folder is $folder='images/repor_images'; // path to the image. My 9image variables are $image1, $image2, $image3,. and the code to call the image " ?> Thanks again. "Goetz Lohmann" <[EMAIL PROTECTED]> wrote in message [EMAIL

[PHP] Adding mhash function without recompile?

2003-02-06 Thread MIKE YRABEDRA
I am currently using a php build by Marc Liyanage for Mac OS X and had a question. I need to use the mhash function, but it was not included in the build. Is there a way to add that extension to PHP without recompiling? I already have mhash installed and running, I just need php able to use it.

[PHP] Re: Solutions need for resizing images (Thumbnail) on the fly..

2003-02-06 Thread Goetz Lohmann
Goetz Lohmann schrieb: > Geckodeep schrieb: > >>Hi there I have this problem wondering how to define the size of my images. >>I have this page that has 9 images coming from the database. These images >>are uploaded into a folder and the names are referenced in the DB. >>I pull the image through th

Re: [PHP] php pages broken after moving to a newer version

2003-02-06 Thread Goetz Lohmann
Chip Wiegand schrieb: > Jason Wong <[EMAIL PROTECTED]> wrote on 02/05/2003 09:38:48 PM: > > >>On Thursday 06 February 2003 07:13, [EMAIL PROTECTED] wrote: >> >> 1) Read the changelog/history/release notes of all versions of php between the 4.0.3 and up to 4.2.3 2) Check the p

RE: [PHP] Powerpoint presentations?!?

2003-02-06 Thread Jerry Artman
Do a search for other applications that write PPT files. I have used a number of others in the past. Perhaps they are scriptable and run in your environment. Perhaps openOffice? Example: Apple's new presentation product. I does write PPT. Their products are normally very scriptable. Also OFFICEx

[PHP] Re: Solutions need for resizing images (Thumbnail) on the fly..

2003-02-06 Thread Goetz Lohmann
Geckodeep schrieb: > Hi there I have this problem wondering how to define the size of my images. > I have this page that has 9 images coming from the database. These images > are uploaded into a folder and the names are referenced in the DB. > I pull the image through these tags > src=\"$folder/$i

Re: [PHP] php pages broken after moving to a newer version

2003-02-06 Thread chip . wiegand
Jason Wong <[EMAIL PROTECTED]> wrote on 02/05/2003 09:38:48 PM: > On Thursday 06 February 2003 07:13, [EMAIL PROTECTED] wrote: > > > > 1) Read the changelog/history/release notes of all versions of php > > > between the > > > 4.0.3 and up to 4.2.3 > > > > > > 2) Check the php log (turn on full er

[PHP] Re: Stupid question, sorry...

2003-02-06 Thread Goetz Lohmann
Chris Boget schrieb: > Why is it that \n gets translated to a _new line_ when in > double quotes whereas it's displayed as the literal when > in single quotes? I checked out the docs but couldn't > come up with a definitive answer. If someone could point > me to the right page in the docs that e

Re: [PHP] Creating an Array from a Recordset

2003-02-06 Thread Jason Wong
On Thursday 06 February 2003 22:34, Vernon wrote: > That gives me something that looks like this: > Array ( [0] => 34 [1] => 31 [2] => 16 [3] => 16 [4] => 6 [5] => 4 [6] => 4 > [7] => 3 [8] => 2 [9] => 2 [10] => 2 [11] => 2 [12] => 2 [13] => 2 [14] => > 2 [15] => 2 [16] => 1 [17] => 1 [18] => 1 [19

Re: [PHP] Client Side PHP

2003-02-06 Thread Pete
Think thje user base will be quite big if we got it together. How many oho programmers are there who struggle with Javascript - me included ;-) Anyway the opensourcness of php would make the plugins more efficient for each browser. pete Maxim Maletsky wrote: Goetz Lohmann <[EMAIL PROTECTED]> w

[PHP] Solutions need for resizing images (Thumbnail) on the fly..

2003-02-06 Thread Geckodeep
Hi there I have this problem wondering how to define the size of my images. I have this page that has 9 images coming from the database. These images are uploaded into a folder and the names are referenced in the DB. I pull the image through these tags " ?> and it's ok if the images are rectangular

[PHP] Re: Stupid question, sorry...

2003-02-06 Thread Mathieu Dumoulin
All single quotes around variables or escape characters are written out man! it's as simple as that. example you have a variable named $hey and you want to output "$hey", you can't it's gonna replace the content of that string with the value of $hey. When you put stuff inside ' ' they are not es

Re: [PHP] Re: Config problems

2003-02-06 Thread Goetz Lohmann
Brian V Bonini schrieb: > On Thu, 2003-02-06 at 10:03, Goetz Lohmann wrote: > >>Brian V Bonini schrieb: >> >>>Been using PHP for some time but never have actually compiled my own, >>>the version my provider compiled always sufficed, anyway, I >>>I'm having some issues. >> >>NOTE: once compiled, th

[PHP] Stupid question, sorry...

2003-02-06 Thread Chris Boget
Why is it that \n gets translated to a _new line_ when in double quotes whereas it's displayed as the literal when in single quotes? I checked out the docs but couldn't come up with a definitive answer. If someone could point me to the right page in the docs that explains this, I'd be ever so ap

[PHP] Re: AYUDA..Actualizar txt

2003-02-06 Thread Goetz Lohmann
Rot Alvarez schrieb: > Necesito saber como limpiar o actualizar txt . Resulta q he creado un chat en flash >y php, pero almacena los user y los comentarios en txt, lo malo es que tengo q >limpiarlos desde el server.q hago. > > _ > R

[PHP] Re: upgrade issues

2003-02-06 Thread Goetz Lohmann
Brian V Bonini schrieb: > What's wrong with this snippet of code that would make it stop working > after upgrading from 4.0.6 to 4.3.0 > > > > if (!$id) { > include "pagetop.inc.php"; > } > if ($id == 1) { > $title = "xxx"; > include "pagetop.inc.php"; > ?> > Stuff > > > look at http://

Re: [PHP] Client Side PHP

2003-02-06 Thread Maxim Maletsky
Goetz Lohmann <[EMAIL PROTECTED]> wrote... : > Php schrieb: > > PHP codes gets executed at the server (server side), so I wonder how you can > > make it to work at the client side? > > > > But good thinking :) > > > > huzz > > > Client Side PHP ? ... maybe you could ;-) ... you only have to

Re: [PHP] Re: Config problems

2003-02-06 Thread Brian V Bonini
On Thu, 2003-02-06 at 10:03, Goetz Lohmann wrote: > Brian V Bonini schrieb: > > Been using PHP for some time but never have actually compiled my own, > > the version my provider compiled always sufficed, anyway, I > > I'm having some issues. > > NOTE: once compiled, this PHP package runs without t

Re: [PHP] AYUDA..Actualizar txt

2003-02-06 Thread Adam Voigt
Si estoy entendiendo correctamente, usted desea guardar el archivo cierta longitud quitando la entrada pasada cada vez que se agrega un nuevo. Si esto est+AOE correcto, usted debe hacer esto: (Esto est+AOE asumiendo sus comentarios es seperated por una rotura de la l+AO0-nea.) +ADw?php +ACQ-f +

[PHP] Date Difference Errors

2003-02-06 Thread Rob Quenzer
I have a function that I use to return the number of days between two dates. It worked fine on my Mandrake 7.0 server running PHP 4. I am trying to run it on a RedHat 8.0 box with the same version of PHP. On Mandrake, strtotime() and mktime() returned a negative number for dates prior to 1970

[PHP] AYUDA..Actualizar txt

2003-02-06 Thread Rot Alvarez
Necesito saber como limpiar o actualizar txt . Resulta q he creado un chat en flash y php, pero almacena los user y los comentarios en txt, lo malo es que tengo q limpiarlos desde el server.q hago. _ Registra gratis tu cuenta email

[PHP] upgrade issues

2003-02-06 Thread Brian V Bonini
What's wrong with this snippet of code that would make it stop working after upgrading from 4.0.6 to 4.3.0 Stuff './configure' '--with-apxs=/usr/local/www/bin/apxs' '--with-config-file-path=/usr/local/www/etc' '--enable-versioning' '--with-system-regex' '--disable-debug' '--enable-tra

[PHP] Re: Config problems

2003-02-06 Thread Goetz Lohmann
Brian V Bonini schrieb: > Been using PHP for some time but never have actually compiled my own, > the version my provider compiled always sufficed, anyway, I > I'm having some issues. NOTE: once compiled, this PHP package runs without the include files, cause they are "included" to the package. So

Re: [PHP] read input in console mode

2003-02-06 Thread Marek Kilimajer
ncurses is the answer Mathieu Dumoulin wrote: Hi there, I found a way to read input from a console mode in linux, very simple open php://stdin to read from the standard input system. THE PROBLEM is i can't just read one character it always waits for the user to press enter which is not what i i

[PHP] Searching MySQL 'text' field

2003-02-06 Thread Vernon
I've setup a search page using PHP which when searching a MySQL 'varchar' field it works just fine, but I'm trying to extend the search to include a field that is a 'text' field and it keeps coming back with no results. Is searching text fields allowed? It would seem that it only be logical that i

[PHP] Forward mail via PHP

2003-02-06 Thread Robert Covell
Looking for a better solution to forward mail from an IMAP account via PHP to another account. Right now I am utilizing the built in imap functions (i.e. imap_fetchstructure, imap_fetchbody, imap_header among others) to get the individual parts and a MimeMessage class to rebuild the message. Once

Re: [PHP] read input in console mode

2003-02-06 Thread Mathieu Dumoulin
Nope, it returns 1 character from the input buffer after the user presses enter sadly, i did try that already! =P - "Adam Voigt" <[EMAIL PROTECTED]> a écrit dans le message de news: [EMAIL PROTECTED] $f = fopen("php://stdin","r"); $command = fread($f,1); fclose($f); Wou

Re: [PHP] Creating an Array from a Recordset

2003-02-06 Thread Marek Kilimajer
use implode(',',$datay) Vernon wrote: That gives me something that looks like this: Array ( [0] => 34 [1] => 31 [2] => 16 [3] => 16 [4] => 6 [5] => 4 [6] => 4 [7] => 3 [8] => 2 [9] => 2 [10] => 2 [11] => 2 [12] => 2 [13] => 2 [14] => 2 [15] => 2 [16] => 1 [17] => 1 [18] => 1 [19] => 1 [20] => 1

Re: [PHP] empty and isset

2003-02-06 Thread Mike . Kent
Actually, I believe it's not a matter of the input being set, but the fact that isset() returns true on an empty variable. Jason Wong

Re: [PHP] read input in console mode

2003-02-06 Thread Adam Voigt
$f = fopen("php://stdin","r"); $command = fread($f,1); fclose($f); Would that not read a single character? On Thu, 2003-02-06 at 09:41, Mathieu Dumoulin wrote: Hi there, I found a way to read input from a console mode in linux, very simple open php:/

[PHP] Re: Scripting language in PHP?

2003-02-06 Thread l0t3k
Leif, i think Ariadne does this. IIRC they have a mini template language called PinP "Leif K-Brooks" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Out of pure boredom, I'm considering writing a simple scripting language > in PHP. Has anything like this bee

Re: [PHP] Client Side PHP

2003-02-06 Thread Goetz Lohmann
Php schrieb: > PHP codes gets executed at the server (server side), so I wonder how you can > make it to work at the client side? > > But good thinking :) > > huzz Client Side PHP ? ... maybe you could ;-) ... you only have to install PHP on your box. PHP is too mighty and huge to implement in

[PHP] read input in console mode

2003-02-06 Thread Mathieu Dumoulin
Hi there, I found a way to read input from a console mode in linux, very simple open php://stdin to read from the standard input system. THE PROBLEM is i can't just read one character it always waits for the user to press enter which is not what i intended to do. When i write "Please press a key

  1   2   >