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
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
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
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
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
- 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
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.
- 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
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
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
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
[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 `
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]..
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,
>
>
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
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);
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_
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
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
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
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
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
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
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
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
- 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
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
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
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
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
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
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 --
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
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
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.
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
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
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
>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
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
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
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
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
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
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
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[
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
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!
>
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
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
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
>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
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
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
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
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
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
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
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-
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
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
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
101 - 162 of 162 matches
Mail list logo