Re: [PHP] HELP! Problem configuring PHP

2002-07-30 Thread EdwardSPL
Hello ! You may try this installation steps : http://www.linuxguruz.org/z.php?id=32&h=php+mysql+apache Before the installation steps, please uninstall all of the sources code packages that you have ever installed... Markas wrote: > Hello, people. > So the problem. > I have apache running with

[PHP] HELP! Problem configuring PHP

2002-07-30 Thread Markas
Hello, people. So the problem. I have apache running with php-module. Recently I've upgraded the 4.0.6 version up to 4.2.2. All my php configuration directives in httpd.conf (php_flag, php_admin_flag, php_value, php_admin_value) are not working now. When I change libphp4.so back to 4.0.6 the direc

[PHP] Re: SMS message ?

2002-07-30 Thread lallous
Lots of pay sites allow you to send SMS programmatically... check for example www.smsxchange.com "Rija" <[EMAIL PROTECTED]> wrote in message 035c01c2383d$b39df7f0$3d00a8c0@workelp3">news:035c01c2383d$b39df7f0$3d00a8c0@workelp3... Hi all, I'm a newbie, and I'd like some advice, and I don't have

Re: [PHP] using Cascading style sheet

2002-07-30 Thread Tom Rogers
Hi, Wednesday, July 31, 2002, 3:48:15 PM, you wrote: S> I just turn to use CSS instead of HTML style. Can you explain pros and S> cons of using CSS? I am quite concern about compatibility to client-side S> web browser. Thanks S> Sailom God bless google http://lois.co.uk/web/articles/css-or-

Re: [PHP] using Cascading style sheet

2002-07-30 Thread Justin French
This is absolutely nothing to do with PHP... suggest you try the newsgroup comp.infosystems.www.authoring.stylesheets regards, justin on 31/07/02 3:48 PM, Sailom ([EMAIL PROTECTED]) wrote: > I just turn to use CSS instead of HTML style. Can you explain pros and > cons of using CSS? I am qui

Re: [PHP] Mail Form

2002-07-30 Thread Jason Wong
On Wednesday 31 July 2002 11:35, Bob Lockie wrote: > >use a decent editor with syntax highlighting > > What is a free cross platform syntax highlighting editor? > Are there any Open Source ones that you know of? vim/emacs? -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk Open Source

[PHP] using Cascading style sheet

2002-07-30 Thread Sailom
I just turn to use CSS instead of HTML style. Can you explain pros and cons of using CSS? I am quite concern about compatibility to client-side web browser. Thanks Sailom -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Session Problems

2002-07-30 Thread Bob Irwin
G'day, I'm having some frustrating issues with PHP 4.1.2 and Apache/1.3.26. I am using sessions on a secure server and on a whole, they are working beautifully. Using the same code on all pages (after the user logs in successfully, they are given a value and its a simple 'if' statement to deter

Re: [PHP] Mail Form

2002-07-30 Thread Manuel Lemos
Hello, On 07/31/2002 12:35 AM, Bob Lockie wrote: >>use a decent editor with syntax highlighting > > > What is a free cross platform syntax highlighting editor? > Are there any Open Source ones that you know of? Use kate that comes with KDE. -- Regards, Manuel Lemos -- PHP General Mailing

RE: [PHP] thirds of a color wheel

2002-07-30 Thread Martin Towell
You'll need to find out how to convert from RGB to HSV Then all you need to do is look at the hue and fiddle with that. Sorry I can't be any more help than that, because I don't know what the maths is to convert from one colour space to the other :( But this should be a start HTH Martin

Re: [PHP] web services and PHP

2002-07-30 Thread Bob Lockie
>I'd like to know if it's possible to use PHP to develop and implement >Web Services. If so, please point me to sites, articles, or tutorials >that discuss this topic in more detail. Thanks. How do you define web services? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, vi

[PHP] web services and PHP

2002-07-30 Thread Ric Mañalac
Hi, I'd like to know if it's possible to use PHP to develop and implement Web Services. If so, please point me to sites, articles, or tutorials that discuss this topic in more detail. Thanks. -- Ric Mañalac Note: The information contained in this message may be privileged and confidential and

Re: [PHP] How to become a good PHP coder?

2002-07-30 Thread Wee Keat
Hi peter... Wow!! That's a heck lot of info for me to digest! Thank you so much for all that trouble! Very useful stuffs... can't thank you enuff... Yours, Wee Keat "Good timber does not grow with ease; the stronger the wind, the st

[PHP] thirds of a color wheel

2002-07-30 Thread Justin French
Hi, I'm working on some scripts which generate color schemes from a base color (RRRGGGBBB). Working out lighter colors, darker colors and inverse (complimentary) colors was easy, but now I'm trying to figure out the right math for a triad of colors (3 colors with equal spacing around the color w

Re: [PHP] Re: passing variable via url ( newbye question)

2002-07-30 Thread Leif K-Brooks
PLEASE don't tell the newbies to mess up their code! That is not compatible with all versions of php! DO NOT USE THOSE!!! STICK TO YOUR CURRENT GOOD CODE! Bother with them for security and compatibly. Lord Loh. wrote: >http://myadress/php/mypage.php?modo=123&color=red&size=3 > >is fine! >

Re: [PHP] Reg-PHP4.22 and Apache1.3.26 Installation

2002-07-30 Thread SenthilVelavan
Hello All, I have found one soultion for my bug posted in my previous mail.Actually i hve searched from the site. 1)Do a "./configure --with-apache=/path/to/my/apache", follow this with a "make" then delete the files stub.lo & stub.o in the php root directory and then all the .lo

[PHP] variable variables and Sessions

2002-07-30 Thread Anup
I have a question about the following $LoadResult = mysql_query("SELECT * from Items where username='test' and password='test'"); $num_results =mysql_num_rows($LoadResult); for ($i=0; $i < $num_results;$i++) { $myrow = mysql_fetch_array($LoadResult, MYSQL_ASSOC); $ProductName = $myrow[

[PHP] Re: passing variable via url ( newbye question)

2002-07-30 Thread Lord Loh.
http://myadress/php/mypage.php?modo=123&color=red&size=3 is fine! you can now use these variables like $modo $color and $size; Why bother with $_GET['modo']; ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] passing arrays between pages with serialize

2002-07-30 Thread Martin Towell
Can you post/send the results of doing a print_r() on the first page (the one that's serialising) and the results of the serialize()? -Original Message- From: DoL [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 31, 2002 2:21 PM To: [EMAIL PROTECTED] Subject: [PHP] passing arrays between

[PHP] passing arrays between pages with serialize

2002-07-30 Thread DoL
Hi I would like to pass three arrays, two of them are two dimensional arrays, to another page (or to the same page just submit to itself) using hidden field and the function serialize. (this is a two dimensional array) page-1 $s_array1 = serialize($array1); page-2 $array1= unserialize(urlde

RE: [PHP] How to become a good PHP coder?

2002-07-30 Thread Peter J. Schoenster
On 31 Jul 2002 at 11:38, Martin Towell wrote: > The best way to become proficient in programming (or anything, come to > that) is with _lots_ of practice. ...snip > Personally, I don't bog myself down in code from the start. I think in > sorta pseudo-code, then once I have a solution, I then im

Re: [PHP] Reg-PHP4.22 and Apache1.3.26 Installation

2002-07-30 Thread EdwardSPL
You may try this installation steps : http://www.linuxguruz.org/z.php?id=32&h=php+mysql+apache SenthilVelavan wrote: > Hello All, > I have tried to install Apache 1.3.26 and PHP 4.22 (as DSO ). > > By following the below steps my Apache 1.3.26 installation was OK > ./configure --ena

Re[2]: [PHP] Serialised Data & DBs

2002-07-30 Thread Tom Rogers
Hi, Wednesday, July 31, 2002, 5:18:05 AM, you wrote: 1JWH> Yes, it'd be really smart to. If any of the data in the serialized string 1JWH> has a ' or " in it, it could break your query. Or the user being able to 1JWH> enter a ' or " into the data could open you to SQL attacks. 1JWH> You want to

Re: [PHP] Mail Form

2002-07-30 Thread Bob Lockie
>use a decent editor with syntax highlighting What is a free cross platform syntax highlighting editor? Are there any Open Source ones that you know of? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Reg-PHP4.22 and Apache1.3.26 Installation

2002-07-30 Thread SenthilVelavan
Hello All, I have tried to install Apache 1.3.26 and PHP 4.22 (as DSO ). By following the below steps my Apache 1.3.26 installation was OK ./configure --enable-module=so make make install But while running make for PHP 4.22 i got the following error. [Note:My configure com

Re: [PHP] SMS message ?

2002-07-30 Thread SenthilVelavan
Hi Ranaivo Rija, Try this website http://www.k1m.com/scripts/sms_web_sender/ for more information. It's about "SMS Web Sender" .It is a PHP class which connects to a web site offering free SMS sending, logs you in with your username and password and sends your SMS messag

Re: [PHP] fullname

2002-07-30 Thread CC Zona
In article <001301c23799$2deb3b30$100a0a0a@skink>, [EMAIL PROTECTED] (David Freeman) wrote: > > is there some other easyer way to do in one line than this?: > > > > $fullname = $session["f_name"]; > > $fullname .= " "; > > $fullname .= $session["l_name"]; > > $fullname = $session["f_n

[PHP] SMS message ?

2002-07-30 Thread Rija
Hi all, I'm a newbie, and I'd like some advice, and I don't have any idea, maybe it's a silly question. Is-it possible to send SMS message to mobile phone using PHP? For example, every monday I send some news about my web site to the mobile phone of my visitors with their approval, of course.

Re: [PHP] help with crash on make

2002-07-30 Thread Kirk Babb
Thanks for replying. Yes, I configured apache with mod_so enabled and the module is there. -Kirk Pushkar Pradhan wrote: > You chose to compile PHP as a DSO this requires apache to have the mod_so > module, you can check this by doing a > httpd -l in your apache's bin directory. >> I'm a

Re: [PHP] help with crash on make

2002-07-30 Thread Pushkar Pradhan
You chose to compile PHP as a DSO this requires apache to have the mod_so module, you can check this by doing a httpd -l in your apache's bin directory. > I'm attempting to compile php 4.2.2 and apache 2.0.39 (both of which I > downloaded today) on mandrake 8.1, mainly as part of a process to help

[PHP] help with crash on make

2002-07-30 Thread Kirk Babb
I'm attempting to compile php 4.2.2 and apache 2.0.39 (both of which I downloaded today) on mandrake 8.1, mainly as part of a process to help me learn more about linux and installing programs. I've followed the generic unix directions on php.net and at these steps >./configure --with-mysql --

RE: [PHP] How to become a good PHP coder?

2002-07-30 Thread Martin Towell
The best way to become proficient in programming (or anything, come to that) is with _lots_ of practice. In the case of programming, looking at other ppl's code might help you find new ways of thinking that you'll be able to use at a later stage. Personally, I don't bog myself down in code from

Re: [PHP] How to become a good PHP coder?

2002-07-30 Thread Wee Keat
Hi Cesar... Thank you s much for your advice... and WOW! That's a great achievement! I don't think I'll be able to achieve like you do! :) I'll be following your advice and that of Justin as well as some others who replied to me personally (thanks all again!) ... which has all be very very u

RE: [PHP] How to become a good PHP coder?

2002-07-30 Thread César Aracena
Hi Wee. I also started with PHP about 3 months ago and also without having any prior programming experience. Right now, I have a portfolio of 2 network PHP software and working on 2 Internet projects. I think the best advise I or anyone else would give you, is to keep up with this list and others

Re: [PHP] How to become a good PHP coder?

2002-07-30 Thread Justin French
on 31/07/02 9:38 AM, Wee Keat ([EMAIL PROTECTED]) wrote: > Hi all... > > I want to know how do you guys learn so much about PHP? practice and thinking :) > I have just started PHP about a month and a half ago and pior to that, I have > ABSOLUTELY NO knowledge in programming. neither did I ab

Re: [PHP] Re: Public Scripts in a commercial product

2002-07-30 Thread Danny Shepherd
- Original Message - From: "David Freeman" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 30, 2002 6:09 AM Subject: RE: [PHP] Re: Public Scripts in a commercial product > > > Yes, I am afraid that regarding GPL I have to agree with > > Microsoft when they say it is a

RE: [PHP] passing variable via url ( newbye question)

2002-07-30 Thread Martin Towell
Is this a direct copy from your code? > echo $_GET['modo']." echo $_GET['color']." echo $_GET['size']." tags see if that helps Martin -Original Message- From: Saci [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 31, 2002 6:09 AM To: [EMAIL PROTECTED] Subject: [PHP] passing variable via

RE: [PHP] $row and alias

2002-07-30 Thread John Holmes
Use ibase_fetch_row() instead... Then you can use count() on it to see how many columns there are and loop through them all. ---John Holmes... > -Original Message- > From: Saci [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 30, 2002 2:44 PM > To: [EMAIL PROTECTED] > Subject: [PHP] $ro

[PHP] Re: searching an array for words starting with 'p'

2002-07-30 Thread Evgeny Chuykov
See preg_grep() function in the manual. a> Hi there, a> I am wondering how to search an array for words starting with a certain a> character. a> E.G: a> $word = array('alpha', 'beta', 'php'); a> I would like to check if there is a word in the array starting with p a> Is there alrready a func

[PHP] How to become a good PHP coder?

2002-07-30 Thread Wee Keat
Hi all... I want to know how do you guys learn so much about PHP? I have just started PHP about a month and a half ago and pior to that, I have ABSOLUTELY NO knowledge in programming. I bought 2 books, which is Begining PHP4 (Wrox Press) and Core PHP programming (Prentice Hall). And that's al

RE: [PHP] PHP4 and MS Excel?

2002-07-30 Thread Martin Towell
I don't think you'll be able to o this directly with PHP, unless you know the file format of an .xls file... You might be able to use COM somehow (??) Might be easier for the user to save the spreadsheet out as a CSV first Martin -Original Message- From: Jason Caldwell [mailto:[EMAIL

Re: [PHP] Good books on sessions

2002-07-30 Thread Justin French
Well, the first thing I recommended was to use $_SESSION rather than session_register(), since it's the way of the future, and also the only method i've put any serious time into. With register globals off, you'll then be able to clearly tell the difference between the form variable ($_POST['proj

[PHP] PDFlib --pixels? 2

2002-07-30 Thread Oscar F
Sorry, The code wasn't complete for the scaling thing. $dpi_x =PDF_get_value($p,"resx",$image); $dpi_y =PDF_get_value($p,"resy",$image); /*calculate scaling factors from the dpi values */ if ($dpi_x >0 && $dpi_y >0){ $scale_x =(72.0)/$dpi_x; $scale_y =(72.0)/$dpi_y; } else if ($dpi_

[PHP] PDFlib --pixels?

2002-07-30 Thread Oscar F
Hello, I'm developing a web app, that needs to generate a PDF file. The "background" of the PDF will be a high resolution image (300dpi). and I calculate the scaling factor from the resolution of the image. $dpi_x =PDF_get_value($p,"resx",$image); $dpi_y =PDF_get_value($p,"resy",$image);

[PHP] RE: open or save problem

2002-07-30 Thread Dylan Miller
Thanks so much for the quick reply, it was helpful. It sounds like neither of us know WHY the "open or save" thing happens with "no-cache" or "no-store." That's what I'd really like to know. Is this by design, or is it a bug in IE? If you run across any more info on this, please let me know. Tha

Re: Re[2]: [PHP] Re: need help with uploading images

2002-07-30 Thread Deadsam
wow I like it :) thanks alot Tom you've been a big help and showed me something I never knew before also at the time Thanks to all who help me with this , it's very much appreciated Deadsam "Tom Rogers" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, > >

Re: [PHP] PDF_function HELP again!!! :(

2002-07-30 Thread Jeffrey
I feel like an idiot. That was it. :( I hate when that happens, at least Im new at php so I can fogive myself for not seeing it. Thanks a whole heap; Ive been staring at this problem for days. Jeff Rasmus Lerdorf <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]..

[PHP] Re: open or save problem

2002-07-30 Thread Daniel Grace
I've CC'd a copy of your message plus this reply to the PHP mailing list for the benefit of the rest of the PHP community as well. (That and one of them might have a solution to this) I never found a clean solution to this problem with PDF files with cache: no-cache set. There are a couple of wa

Re: [PHP] PDF_function HELP again!!! :(

2002-07-30 Thread Rasmus Lerdorf
Oh, watch your = vs. == in your if statements. On Tue, 30 Jul 2002, Jeffrey wrote: > Wish it was that easy, here is the call to end the page right above as im > trying to trouble shoot this problem. > > // End document > PDF_end_page($p); > > // Test document open close function > next_page(open

Re: [PHP] PDF_function HELP again!!! :(

2002-07-30 Thread Jeffrey
Wish it was that easy, here is the call to end the page right above as im trying to trouble shoot this problem. // End document PDF_end_page($p); // Test document open close function next_page(open); next_page(close); I can remove those next_page function calls and just put in the PDF_begin_pa

Re: [PHP] Sessions - Informed Opinions

2002-07-30 Thread Danny Shepherd
- Original Message - From: "Tech Support" <[EMAIL PROTECTED]> To: "Danny Shepherd" <[EMAIL PROTECTED]> Sent: Tuesday, July 30, 2002 6:44 PM Subject: Re: [PHP] Sessions - Informed Opinions > If you're on a shared system it's very easy for other users on your machine > to read session dat

Re: [PHP] Trouble Making 4.2.2

2002-07-30 Thread Danny Shepherd
I think your actual error is much further up - the sapi appears because you're building PHP as an Apache module. The actual error will have a (kind of) English description - post that along with your config options and a more detailed description of your setup and maybe we can help. Danny.

Re: [PHP] Serialised Data & DBs

2002-07-30 Thread Danny Shepherd
- Original Message - From: "1LT John W. Holmes" <[EMAIL PROTECTED]> To: "Danny Shepherd" <[EMAIL PROTECTED]>; "PHP-General" <[EMAIL PROTECTED]> Sent: Tuesday, July 30, 2002 8:18 PM Subject: Re: [PHP] Serialised Data & DBs > Yes, it'd be really smart to. If any of the data in the serializ

[PHP] Re: [PHP-DEV] [CROSS POST] PHP Meetup & Texas PHP Users

2002-07-30 Thread Gabriel Ricard
Jay Blanchard wrote: > Howdy all! > > Just wanted to remind everyone that sign-up for the PHP Meetup is still in > progress at http://php.meetup.com . At latest count there are 289 folks > signed up world-wide with the top 10 cities being; > > Washington DC (9 members) > Toronto (9 members) > Le

RE: [PHP] passing variable via url ( newbye question)

2002-07-30 Thread cteubner
You are passing the variables correctly. If that's your actual code echo $_GET['modo']." (note the closing > ) - PHP is doing what you told it, and your browser is confused by the output. If PHP were the problem you'd probably see an error message. Also, upgrade to 4.2.2 please :) Regards, Co

Re: [PHP] Re: Mail Form

2002-07-30 Thread Kerry Gray
I'd like to thank you all, problem has now been solved. It was a problem at THEIR end, not mine... thanks again Kerry "Kerry Gray" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > OK, I have changed hosts, and put it on a NON free server php enabled. it > tel

Re: [PHP] PHP mail() problems

2002-07-30 Thread Rasmus Lerdorf
Try rm config.cache, re-configure and try again On Tue, 30 Jul 2002, John Williams wrote: > I'm having a problem getting the mail() function working on php 4.2.2. > > I get the error message: > Warning: mail() is not supported in this PHP build > > I'm running Solaris 8 and have set the symlink

Re: [PHP] passing variable via url ( newbye question)

2002-07-30 Thread Martin Clifford
http://myaddress/php/mypage.php?modo=123&color=red&size=3 Just separate name/value pairs with ampersand (&). HTH Martin Clifford Homepage: http://www.completesource.net Developer's Forums: http://www.completesource.net/forums/ >>> "Saci" <[EMAIL PROTECTED]> 07/30/02 04:09PM >>> I can pass on

[PHP] PHP mail() problems

2002-07-30 Thread John Williams
I'm having a problem getting the mail() function working on php 4.2.2. I get the error message: Warning: mail() is not supported in this PHP build I'm running Solaris 8 and have set the symlink for sendmail. I have recompiled PHP, set the php.ini to point to sendmail and restarted the web serve

[PHP] passing variable via url ( newbye question)

2002-07-30 Thread Saci
I can pass one variable using the url on this way http://myadress/php/mypage.php?modo=123 and to read i have the code echo $_GET['modo']."http://myadress/php/mypage.php?modo=123&color=red&size=3 and to get echo $_GET['modo']."http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsu

[PHP] Re: Auto Increment Problems....

2002-07-30 Thread Joel Boonstra
[straying OT, but...] > Instead of incrementing to find the next row to count them, you dont have to > set the ID if it is auto increment. MySQL will do it for you (and i think it > might fill the holes too). Also, to get the num. of rows just do this - > > $get_rows = mysql_query("SELECT * FROM `

Re: [PHP] Good books on sessions

2002-07-30 Thread Petre
Hi Rasmus Thanks, I think I got it now. Seems my problem with understanding was with the actual setting of the variables. The logic dictated that the session variables should stay the same throughout the session unless "changed" via a form selection, so I simply added a session_register("sessi

Re: [PHP] Re: Mail Form

2002-07-30 Thread Kerry Gray
OK, I have changed hosts, and put it on a NON free server php enabled. it tells me that tghe mail has been sent, but no mail arrives Any constructive ideas? PLEASE "Damian Harouff" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Things like file uploadin

Re: [PHP] Re: PHP4 and MS Excel?

2002-07-30 Thread Jason Caldwell
Are you actually telling me how to SAVE an excel file as text (CSV) format THROUGH excel ? H Thanks (I guess...) But I learned how to do that, oh I dunno, about 20 years ago. My question was how to do it using PHP and COM. "Brian V Bonini" <[EMAIL PROTECTED]> wrote in message [EMAIL

[PHP] Re: Auto Increment Problems....

2002-07-30 Thread Scott Hurring
If you have an auto_increment mysql field, it's supposed to save you the time of computing the "next" ID. the database will handle it for you. Use "0" as the ID for new rows and mysql will automagically compute the next ID. All of this info is on the mysql.com/doc/ site... please check there in

RE: [PHP] Re: PHP4 and MS Excel?

2002-07-30 Thread Brian V Bonini
file | save as then chose the format you want in the drop down box > -Original Message- > From: Jason Caldwell [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 30, 2002 2:46 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Re: PHP4 and MS Excel? > > > So -- it looks like I can connect to Excel

Re: [PHP] Mail Form

2002-07-30 Thread Kerry Gray
I didn't write it, it was taken from a code library on a site. i have never used php before in my life, hence why I have no idea whats going on, it's more than likely the only thing i'll use php for. "Jason Wong" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... >

Re: [PHP] Mail Form

2002-07-30 Thread Jason Wong
On Wednesday 31 July 2002 03:08, Kerry Gray wrote: > Can somebody please tell me why I keep getting this error when using this > script... Because what you wrote is invalid PHP code. > Parse error: parse error in /host/g/i/a/8/b/i/giapai3k.8bit.co.uk/mail.php > on line 54 It's bad enough asking

Re: [PHP] Re: Mail Form

2002-07-30 Thread Damian Harouff
Things like file uploading and mail functions are disabled on free PHP hosts like 8bit. KG> Also , Fatal error: Call to undefined function: is_uploaded_file() in KG> /host/g/i/a/8/b/i/giapai3k.8bit.co.uk/mail.php on line 20 KG> "Kerry Gray" <[EMAIL PROTECTED]> wrote in message KG> [EMAIL PROTECT

Re: [PHP] Re: Mail Form

2002-07-30 Thread Rasmus Lerdorf
Which php version? This code works just fine here. On Tue, 30 Jul 2002, Kerry Gray wrote: > Also , Fatal error: Call to undefined function: is_uploaded_file() in > /host/g/i/a/8/b/i/giapai3k.8bit.co.uk/mail.php on line 20 > > "Kerry Gray" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]

[PHP] Trouble Making 4.2.2

2002-07-30 Thread David Busby
List, I get this after make installis this thing trying to make sapi? I want to run on Apache/RH7.3 so I don't know if I need it...couldn't find how to turn in with ./configure. Please help TIA /B make[1]: Leaving directory `/usr/src/php-4.2.2/regex' Making install in . make[1]:

[PHP] Re: Mail Form

2002-07-30 Thread Kerry Gray
Also , Fatal error: Call to undefined function: is_uploaded_file() in /host/g/i/a/8/b/i/giapai3k.8bit.co.uk/mail.php on line 20 "Kerry Gray" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Can somebody please tell me why I keep getting this error when using thi

Re: [PHP] Serialised Data & DBs

2002-07-30 Thread 1LT John W. Holmes
Yes, it'd be really smart to. If any of the data in the serialized string has a ' or " in it, it could break your query. Or the user being able to enter a ' or " into the data could open you to SQL attacks. You want to do addslashes() on the result of serialize(), not the content going into it, t

Re: [PHP] mcrypt

2002-07-30 Thread Tech Support
Cross posting this with php-dev might not be the best idea. The dev list is not for support unless you are trying to code part of the php source. So this is only failing on the decrypt side of the code? "Memory allocation error" does not sound like a problem specific to this function. All the ot

[PHP] Mail Form

2002-07-30 Thread Kerry Gray
Can somebody please tell me why I keep getting this error when using this script... Parse error: parse error in /host/g/i/a/8/b/i/giapai3k.8bit.co.uk/mail.php on line 54 Mail sent! Yay PHP!"; } else { echo "Mail could not be sent. Sorry!"; } ?> -- PHP General Mailing List (http://www.p

[PHP] how to apply php patch file: 4.2.1 -> 4.2.2

2002-07-30 Thread gk
I couldn't find any adequate instructions on this anywhere on this list or on the php web site so here is for anyone who needs it. I had originally tried: patch http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Serialised Data & DBs

2002-07-30 Thread Rasmus Lerdorf
Yes, you would need to. serialize() does not encode any of the variable data. -Rasmus On Tue, 30 Jul 2002, Danny Shepherd wrote: > Hi, > > Is it necessary to perform addslashes() on serialised data before inserting > it into a database? > > Thanks, > > Danny. > > > -- > PHP General Mailing Lis

[PHP] Serialised Data & DBs

2002-07-30 Thread Danny Shepherd
Hi, Is it necessary to perform addslashes() on serialised data before inserting it into a database? Thanks, Danny. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PDF_function HELP again!!! :(

2002-07-30 Thread Rasmus Lerdorf
Sounds like you didn't call pdf_end_page() before calling your next_page() function. -Rasmus On Tue, 30 Jul 2002, Jeffrey wrote: > Here we go again; I posted the message "pdflib, NEED HELP with > function problem (newby)" and thank you to all that helped. Even > after that help, seems I cant un

[PHP] Re: PHP4 and MS Excel?

2002-07-30 Thread Jason Caldwell
So -- it looks like I can connect to Excel via COM -- buuutt... anyone have any examples or can anyone point me to any -- that show how to save-out an excel file as a TEXT (.csv) TAB Delimited file? I guess if there is a way to see each ROW in the Excel Spreadsheet -- then I can grab that data an

Re: [PHP] mcrypt

2002-07-30 Thread Purushotham Komaravolu
Hi, Thanks for the prompt answer. But I am still getting the same error. / original: meet at secret place encrypted: d40d72f1b224b9bf86a7dbc52402c1d02a5cf90adb9050f0 Warning: mcrypt_generic_init: Memory allocation error in /mount/marsellus/gwo

[PHP] $row and alias

2002-07-30 Thread Saci
I would like to show some fields based on a Interbase database, everthing is working when i type the fields name usinf $row-> field something like this while ($row = ibase_fetch_object($sth)) { echo "$row->RAZAO_SOCI"; echo"$row->ENDERECO\n" ; } But I would like to make a generic output wi

[PHP] Re: PDF_function HELP again!!! :(

2002-07-30 Thread Jeffrey
Diregard the missing "{" bracket its not the problem, I dont why its missing from my post. Jeff Jeffrey <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Here we go again; I posted the message "pdflib, NEED HELP with > function problem (newby)" and thank you to

[PHP] Re: Dynamic Web Pages

2002-07-30 Thread Lars Olsson
Hi! Database queries and global variables are not related to each other. It usually just boils down to the following steps 1. Collect data that that's needed for the database query (via $_GET or $_POST) 2. Run the query against the database and store the results in some nice variables (arrays

[PHP] PDF_function HELP again!!! :(

2002-07-30 Thread Jeffrey
Here we go again; I posted the message "pdflib, NEED HELP with function problem (newby)" and thank you to all that helped. Even after that help, seems I cant understand scope to well. Im trying to make a function that creates another page when I have reached the bottom of a page. For some reason

[PHP] Re: PHP4 and MS Excel?

2002-07-30 Thread Jome
> I would like to give my users the ability to send (to my website) a > Microsoft Excel file, and then have my server (PHP code) extract that data > and turn it into a TAB Delimited Text file -- is this possible with PHP? http://groups.google.com/groups?hl=sv&lr=&ie=ISO-8859-1&q=data+from+excel+p

Re: [PHP] Re: A somewhat unusual session question...

2002-07-30 Thread Tech Support
That last statement was not entirely true. The server does not have to know when someone leaves to clean up. You are right about session.gc_maxlifetime and session.gc_probability. if the maxlifetime is set to 1200 (20 minutes) and the probability is set to 1 that means that one percent of the t

[PHP] PHP4 and MS Excel?

2002-07-30 Thread Jason Caldwell
I would like to give my users the ability to send (to my website) a Microsoft Excel file, and then have my server (PHP code) extract that data and turn it into a TAB Delimited Text file -- is this possible with PHP? Thanks. Jason -- PHP General Mailing List (http://www.php.net/) To unsubscri

RE: [PHP] searching an array for words starting with 'p'

2002-07-30 Thread Joseph Rosenblum
I don't think there's a builtin that does exactly what you are looking for, but this will do the trick: -Joseph Rosenblum President, 25th Street Networks Easy, Reliable PHP Web Hosting at: http://www.25thstreet.net/ -Original Message- From: andy [mailto:[EMAIL PROTECTED]] Sent: Tues

Re: [PHP] searching an array for words starting with 'p'

2002-07-30 Thread Tech Support
try preg_grep() http://www.php.net/manual/en/function.preg-grep.php example: Jim Grill Support Web-1 Hosting http://www.web-1hosting.net - Original Message - From: "andy" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 30, 2002 10:36 AM Subject: [PHP] searching an arra

[PHP] Re: A somewhat unusual session question...

2002-07-30 Thread Lars Olsson
Hm...seems it works after all...Tried extremely short session.gc_maxlifetime and a 100% session.gc_probability...works like a charm! Sorry for not checking this thoroughly enough before whining... ;) /lasso ([EMAIL PROTECTED]) Lars Olsson wrote: > Hi all! > > The manual claims here (http://

[PHP] mcrypt

2002-07-30 Thread Purushotham Komaravolu
Hello, I am getting some odd errors trying to get an encrypt/decrypt process to work. Looking at the manual examples and some other literature, I have tried the two approaches listed below. For each, I get a sometimes-works, sometimes fails result. The manua

[PHP] Re: Auto Increment Problems....

2002-07-30 Thread Tony Harrison
Instead of incrementing to find the next row to count them, you dont have to set the ID if it is auto increment. MySQL will do it for you (and i think it might fill the holes too). Also, to get the num. of rows just do this - $get_rows = mysql_query("SELECT * FROM `table`"); $num_rows = mysql_num

Re: [PHP] enabling mysql support

2002-07-30 Thread Rasmus Lerdorf
Simply install the php-mysql rpm. On Mon, 29 Jul 2002, Joel Lopez wrote: > Hi, > > I would like to recompile php with mysql support. I am a newbie. I really > don't want to have to reinstall RedHat just to be able to use MySQL with > php. > > I ran: > rpm -qa | frgrep php > and I see these

[PHP] enabling mysql support

2002-07-30 Thread Joel Lopez
Hi, I would like to recompile php with mysql support. I am a newbie. I really don't want to have to reinstall RedHat just to be able to use MySQL with php. I ran: rpm -qa | frgrep php and I see these: php-4.0.6-15 php-imap-4.0.6-15 asp2php-gtk-0.75.17.1 php-ldap-4.0.6-15

[PHP] Dynamic Web Pages

2002-07-30 Thread Rolando Morales
I would like to have the same page (test.php) have different text in it depending on a database entry. which is easy enough. but I want it to be on the fly. example list would be created on the fly depending on databse entries. which ever entry was picked (lets say STLT) it would open up my templa

Re: [PHP] Credit Card Validation With Expiration Date

2002-07-30 Thread Tech Support
That is correct. As long as the expiration date is past present it's fine. I used to work for another hosting company who would just "guess" new expiration dates for monthly recurring customers who had not submitted a cancellation request but who's cards had expired. As long as the date was past p

Re: [PHP] Good books on sessions

2002-07-30 Thread Petre
Yes , I agree,But that is exactly where my problem comes in, when I link the person forward, it DOES NOT take the new value for the project_id, as it is a form element and it only becomes variable on the action page. This is where I'm unsure about how to "initialize" the variable. As mentioned

[PHP] Internationalization

2002-07-30 Thread Jeb A. Scarbrough \(home\)
Can someone provide a good source of information on what PHP can and cannot do in regards to making a site multi-lingual. I've found a little information about using gettext but that's about it. Do you have to using a certain charset? Do all functions work with different languages? String funct

[PHP] Re: A somewhat unusual session question...

2002-07-30 Thread Lars Olsson
I'm aware that the server cannot "know" whenever a user just quits without logging out, but I was under the impression that the flags session.gc_maxlifetime and session.gc_probability in php.ini would control when and how often "leftover" session files would be removed. If this isn't true, wha

  1   2   >