- Original Message -
From: "John Taylor-Johnston" <[EMAIL PROTECTED]>
To: "PHP-General"
Sent: Friday, March 17, 2006 7:51 AM
Subject: [PHP] making a tutorial
I'm making a tutorial and don't really understand how to do this myself :)
Which of the following pets do have at home:
dog
Hi!
On Fri, 17 Mar 2006 01:51:41 -0500
John Taylor-Johnston wrote:
> I'm making a tutorial and don't really understand how to do
> this myself :)
>
> Which of the following pets do have at home:
> value="dog">dog
> value="cat">cat
> value="snake">snake
> value="other">snake
> value="non
Parse.. It will be an array after you submit the form.
So depends on what you wanna do with it.
Do a print_r($favourite); after form submit and you will see.
How to store it.. well if you wanna it in seperate fields you can loop
through it and do an insert on every array element in your DB or st
Are any of my posts getting through?
They don't appear to be. This one only made it halfway :P
Yeah, it doesn't seem to accept my email from another address.
Thanks Rob. I was trying to post something last night and it never got through.
This email seems acceptable to the group Gods.
--
PHP Ge
I'm making a tutorial and don't really understand how to do this myself :)
Which of the following pets do have at home:
dog
cat
snake
snake
none of these
How do I parse favourite[]? I might have 2 or 5, so I need to parse ^0]
- nMax. It is a checkbox.
I might use favourite[] with mail() or s
Hi!
On Thu, 16 Mar 2006 14:31:38 -0500
John Hinton <[EMAIL PROTECTED]> wrote:
> Simon M. Campden-Main wrote:
> >
> > Well, there's the meat of it, isn't it? I wonder how Paint
> > Shop Pro comes up with PPI (Image - Image information).
> > I have several thousand scanned images with resolution
On Fri, 2006-03-17 at 01:47, John Taylor-Johnston wrote:
> Are any of my posts getting through?
They don't appear to be. This one only made it halfway :P
Cheers,
Rob.
--
..
| InterJinn Application Framework - http://www.interjinn.com |
Are any of my posts getting through?
John
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hi, I have troubles with strangers characters in my html pages, I've fixed
them by using mb_convert_encoding() function with UTF-8 encoding but I've
hear that mbstring library is unstable in some linux distributions. Does any
body knows how to solve this problem without using mbstring library. I
Hi!
On Thu, 16 Mar 2006 08:13:41 -0800
"Simon M. Campden-Main" <[EMAIL PROTECTED]> wrote:
> [ . . . ]
> I want ppi!
> [ . . . ]
> I'm running the current Cent OS
> [ . . . ]
See if you have ImageMagick installed. You could
probably use the "identify" command to find the
info you need. For more
Hi!
On Thu, 16 Mar 2006 20:45:29 -0400
Miles Thompson <[EMAIL PROTECTED]> wrote:
> At 06:23 PM 3/16/2006, Anthony Ettinger wrote:
>
> >[...]
> >Is there a drawback to running php5 as CGI?
>
> Anthony,
>
> I really don't know, because computers are much faster, so
> there may not be the time la
I searched php.net/session and weberdev website and
implemented session_cache_limiter() and
session_cache_expire() function.but i am not getting
the output what i want.i spend whole day on
searching.any one give the solution for my problem
in windows,if user idle for 1 minute,his desktop
screen i
(Comments inline)
tedd wrote:
[···]
One last question, considering the above code, would the following code
be a suitable replacement?
Actually, you receive $set via GET, so you should use $_GET instead of
$_POST. A lot of people use $_REQUEST (wich is a combination of $_POST,
$
On Thu, Mar 16, 2006 at 08:46:07PM -0700, Nicolas Verhaeghe wrote:
> One of my clients has an os commerce install which requires
> register_globals to be set to on, for some reason.
>
> It is set up to off in php.ini, as it should, but I'd like to know what
> the best fashion would be for me to se
One of my clients has an os commerce install which requires
register_globals to be set to on, for some reason.
It is set up to off in php.ini, as it should, but I'd like to know what
the best fashion would be for me to set it on locally for this domain
only.
Thanks!
Nicolas Verhaeghe wrote:
One of my clients has an os commerce install which requires
register_globals to be set to on, for some reason.
It is set up to off in php.ini, as it should, but I'd like to know what
the best fashion would be for me to set it on locally for this domain
only.
If you nee
One of my clients has an os commerce install which requires
register_globals to be set to on, for some reason.
It is set up to off in php.ini, as it should, but I'd like to know what
the best fashion would be for me to set it on locally for this domain
only.
Thanks!
--
PHP General Mailing List
Yup. Thats the problem. I'm running 4.0.21. Thanks.
--
Kevin Murphy
Webmaster - Information and Marketing Services
Western Nevada Community College
www.wncc.edu
(775) 445-3326
On Mar 16, 2006, at 4:48 PM, Miles Thompson wrote:
At 08:41 PM 3/16/2006, Kevin Murphy wrote:
Anyone want to poi
Kevin Murphy wrote:
Anyone want to point me to why this isn't working:
$hr_query = "select dp_lname,dp_fname,dp_id
FROM dir_all
WHERE dp_id NOT IN (SELECT sup_id FROM dir_title2)
ORDER BY dp_lname";
There are two tables, dir_all (the main list of everyone) an
At 08:41 PM 3/16/2006, Kevin Murphy wrote:
Anyone want to point me to why this isn't working:
$hr_query = "select dp_lname,dp_fname,dp_id
FROM dir_all
WHERE dp_id NOT IN (SELECT sup_id FROM dir_title2)
ORDER BY dp_lname";
At 06:23 PM 3/16/2006, Anthony Ettinger wrote:
On 3/16/06, Miles Thompson <[EMAIL PROTECTED]> wrote:
> At 05:40 PM 3/16/2006, Anthony Ettinger wrote:
>
> >dreamhost let's you choose php4 or 5, as I'm sure others do as well.
>
>
> A little more on dreamhost.
> PHP5 is installed as CGI, not Apach
Anyone want to point me to why this isn't working:
$hr_query = "select dp_lname,dp_fname,dp_id
FROM dir_all
WHERE dp_id NOT IN (SELECT sup_id FROM dir_title2)
ORDER BY dp_lname";
There are two tables, dir_all (the main list
Hello,
Does a VxWorks port of the PHP interpreter currently exist? If no, is any
such project in the pipeline?? We'd like to run PHP scripts as CGIs in some
of our embedded devices.
Thanks for the info.
-- Shawn
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://ww
Hello,
Does a VxWorks port of the PHP interpreter currently exist? If no, is any
such project in the pipeline?? We'd like to run PHP scripts as CGIs in some
of our embedded devices.
Thanks for the info.
-- Shawn
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://ww
[snip]
I created a small bannering program. It works great in Firefox. But I
have a problem with IE.
If I place the banner on a different domain than the bannering program,
Ex:
www.bannerserver.com
www.otherserver.com has img tag calling from www.bannerserver.com
I use a session to keep track
On 3/16/06, Miles Thompson <[EMAIL PROTECTED]> wrote:
> At 05:40 PM 3/16/2006, Anthony Ettinger wrote:
>
> >dreamhost let's you choose php4 or 5, as I'm sure others do as well.
>
>
> A little more on dreamhost.
> PHP5 is installed as CGI, not Apache module.
Is there a drawback to running php5 as
Hi,
I created a small bannering program. It works great in Firefox. But I have a
problem with IE.
If I place the banner on a different domain than the bannering program, Ex:
www.bannerserver.com
www.otherserver.com has img tag calling from www.bannerserver.com
I use a session to keep track o
At 05:40 PM 3/16/2006, Anthony Ettinger wrote:
dreamhost let's you choose php4 or 5, as I'm sure others do as well.
A little more on dreamhost.
PHP5 is installed as CGI, not Apache module.
Does anyone have any experience with Nexcess.net -- advertisers on back
page of PHP | Architect?
At
dreamhost let's you choose php4 or 5, as I'm sure others do as well.
On 3/16/06, Jochem Maas <[EMAIL PROTECTED]> wrote:
> tedd wrote:
> > Hi gang:
> >
> > I asked my host to install the current versions of php 5 and the
> > following was his answer:
> >
> > "Sorry but php has some issues with cpan
search in google
php +prepend +htaccess
http://www.codingforums.com/showthread.php?t=78287
bye bye
Claudio
blackwater dev wrote:
Is there a way to intercept and add code at the beginning and end of every
http request - WITHOUT having to put an include at the top and bottom of
every page?
Thi
blackwater dev wrote:
Is there a way to intercept and add code at the beginning and end of every
http request - WITHOUT having to put an include at the top and bottom of
every page?
This is something we need to be app specific so don't really want to do it
globally like chanse the php.ini or som
Is there a way to intercept and add code at the beginning and end of every
http request - WITHOUT having to put an include at the top and bottom of
every page?
This is something we need to be app specific so don't really want to do it
globally like chanse the php.ini or something.
Thanks!
Unless you want to refresh the page, you would have to use Ajax, called from
JavaScript and take the reply and continue processing via JavaScript.
- Original Message -
From: "Jay Blanchard" <[EMAIL PROTECTED]>
To:
Sent: Thursday, March 16, 2006 8:51 PM
Subject: [PHP] Two functions, on
[snip]
I have a button. When the button is clicked it performs a JavaScript
function. I need it to perform a PHP function before it performs the
JavaScript function. Is this a case where I do the PHP function and then
output the JavaScript with PHP? My head hurts.
[/snip]
Yes.
--
PHP General Mai
""Jay Blanchard"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
[snip]
Does anyone use yahoo webhosting? I have a question about enabling php
ftp
module or something like that.
[/snip]
No. I have answers about enabling php ftp module or something like that.
could you help me with
I have a button. When the button is clicked it performs a JavaScript
function. I need it to perform a PHP function before it performs the
JavaScript function. Is this a case where I do the PHP function and then
output the JavaScript with PHP? My head hurts.
--
PHP General Mailing List (http://www.
I did something similar on my page. I did a simple comparison in a
loop through the menu DOM,
foreach ($nodeList as $node){
if ($currentPage eq $nodeHref) { //set class attribute = 'active'; }
}
On 3/16/06, tedd <[EMAIL PROTECTED]> wrote:
> >http://www.inspired-evolution.com/About_Me.php
> >
John Nichel wrote:
tedd wrote:
Here's my take -- gif's are no longer supported by the GD library
because of patent problems. So development of how to deal with them
has been moved to png.
Untrue. GIF images *are* supported by the GD library. They were
briefly taken out, but the support w
On Thu, March 16, 2006 1:31 pm, John Hinton wrote:
> Simon M. Campden-Main wrote:
>> Well, there's the meat of it, isn't it? I wonder how Paint Shop Pro
>> comes
>> up
>> with PPI (Image - Image information). I have several thousand
>> scanned
>> images
>> with resolution ranging from 72 PPI up t
Simon M. Campden-Main wrote:
Well, there's the meat of it, isn't it? I wonder how Paint Shop Pro comes
up
with PPI (Image - Image information). I have several thousand scanned
images
with resolution ranging from 72 PPI up to 1200 PPI (As reported by Paint
Shop
Pro) and want to discard, or
Thanks again, Tedd.
I've checked out the links but still no luck. As I stated (Or implied.)
in my first post, I have played with exif_read_data() but it is of little
use with the scanned images I've examined. You can see results of my
experiments with exif_read_data() and getimagesize() at:
htt
dreamhost.com
On 3/16/06, Jay Blanchard <[EMAIL PROTECTED]> wrote:
> [snip]
> Does anyone use yahoo webhosting? I have a question about enabling php
> ftp
> module or something like that.
> [/snip]
>
> No. I have answers about enabling php ftp module or something like that.
>
> --
> PHP General Ma
[snip]
Does anyone use yahoo webhosting? I have a question about enabling php
ftp
module or something like that.
[/snip]
No. I have answers about enabling php ftp module or something like that.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Does anyone use yahoo webhosting? I have a question about enabling php ftp
module or something like that.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Simon:
One more link:
http://www.weberdev.com/Manuals/PHP/function.exif-read-data.html
There's code there.
HTH's
tedd
--
http://sperling.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, vis
Simon:
Thank you for your response, Tedd.
No problem, glad to help if I can.
I think so, but I am a bit dense. I'm not concerned with image size but
rather
native resolution. Thanks again for taking the time.
Simon
Yes, but that's a different question.
On one hand, you have an image tha
tedd wrote:
Here's my take -- gif's are no longer supported by the GD library
because of patent problems. So development of how to deal with them
has been moved to png.
Untrue. GIF images *are* supported by the GD library. They were
briefly taken out, but the support was re-enabled in v2.
tedd wrote:
Here's my take -- gif's are no longer supported by the GD library
because of patent problems. So development of how to deal with them has
been moved to png.
Untrue. GIF images *are* supported by the GD library. They were
briefly taken out, but the support was re-enabled in v2.
Thank you for your response, Tedd.
T> There was a discussion on this a few weeks back -- you might look through
the archives.
I'm reasonably certain I saw the thread but it was no help. I will go back
and review it in case I missed something.
T> However, the bottom line was that images (other t
http://www.inspired-evolution.com/About_Me.php
What I want to do next is to change the menu from being hard coded on all of
my pages to being an include making the menu more manageable. The stumbling
block is I want to be able to keep the CSS functionality where you have the
active indicator whic
am trying to accomplish something utlizing PHP. What I have is a menu
marked up as such:
About Me
Skill set
Hire
Me
Portfolio
Contact
Résumé
http://inspiredevolution.blogs.com/inspiredevolutioncom/";
title="the blog for Inspired-Evolution.com" >Blog
RSS
and then I have everything styled nic
tedd wrote:
Based on the area increase; I'd expect the file size to about double,
not be 4x as large.
$src_img = imagecreatefromgif($filename);
$dest_img = imagecreatetruecolor($new_width, $new_height);
Can anyone explain or have a solution?
Here's my take -- gif's are no longer supported b
Good morning, folks.
Can any one direct me to a snippet or suggest an approach to obtaining the
resolution of an image [file] with PHP. exif_read_data() is great if the
image
was taken with a camera that is exif compliant, but is no help with my
scanned
images. getimagesize() gives me height an
Based on the area increase; I'd expect the file size to about
double, not be 4x as large.
$src_img = imagecreatefromgif($filename);
$dest_img = imagecreatetruecolor($new_width, $new_height);
Can anyone explain or have a solution?
Here's my take -- gif's are no longer supported by the GD libr
Good morning, folks.
Can any one direct me to a snippet or suggest an approach to obtaining the
resolution of an image [file] with PHP. exif_read_data() is great if the
image
was taken with a camera that is exif compliant, but is no help with my
scanned
images. getimagesize() gives me height and
Good morning, folks.
Can any one direct me to a snippet or suggest an approach to obtaining the
resolution of an image [file] with PHP. exif_read_data() is great if the
image
was taken with a camera that is exif compliant, but is no help with my
scanned
images. getimagesize() gives me height a
Rafael:
You said:
Inspite of all this, I would really recomend you not to rely
on register_globals=On, since: it's not a good idea, it's actually
deprecated (someday it will be removed) and makes your code a little
bit more confused, since it's not clear where do that variables come
from.
Jochem Maas wrote:
Al wrote:
I'm trying to resize GIF images and up with very large files
For example:
Original width = 720
New width = 980
Original height = 1008
New height = 1274
Original filesize = 80kb
After resizing = 235kb
Based on the area increase; I'd expect the file size to about dou
Hi all,
I copied/pasted the title of the following bug:
http://bugs.php.net/bug.php?id=36630
It seems already fixed in CVS for 5.1.x branch of PHP.
Actually, I'm running php4 (4.3.2 shiped by RHEL3) and I'm facing the
same bug. And I'm not alone, you can look at
http://bugs.php.net/28401. Unfortu
I currently use Pay Pal shopping cart, but I need to find a good, cheap
shopping cart that my clients can update themselves. Does anyone know of
something I can install so they can work on it easily. They need to do this
online.
thanks,
Lisa A
Lisa:
You might also want to review:
http://www.
At 07:47 AM 3/16/2006, Bikram Suri wrote:
I changed that it was windows but still did not change anything. I even
reinstalled wamp but still
the include_path variable in phpinfo(); shows c:\php5\pear
Please help as this putting a stop on my work
regards and thank you for all the help
--
Bikr
Lisa A wrote:
I have looked everywhere, but it's hard to tell. I was hoping someone else
had found one that they put on their site so their clients could add
merchandise themselves failry easy. I know I have oscommerce on my cpanel,
but it is rather difficult it seems.
thanks.
Lisa A
Take
I have looked everywhere, but it's hard to tell. I was hoping someone else
had found one that they put on their site so their clients could add
merchandise themselves failry easy. I know I have oscommerce on my cpanel,
but it is rather difficult it seems.
thanks.
Lisa A
"Nadim Attari" <[EMAIL
Mathijs wrote:
Hello,
i want to use debug_backtrace() in the function called by
register_shutdown_function but it only displays the function we are
currently in
(the shutdown function)
Is there any way to trace what class, methode or line caused php to call
the
shutdown function ??
the engi
Holger Sunke wrote:
Yes thank you,
that's all I need!
* beware that you're saying *anything* other than alpha-numeric chars
Yeah that's why it wont work with asian or kyrillian users.
Probably writing a function that counts each special char could be an
answer ... prolly
--
Smileys ru
Yes thank you,
that's all I need!
> -Ursprüngliche Nachricht-
> Von: Rafael <[EMAIL PROTECTED]>
> Gesendet: 16.03.06 07:34:15
> An: php-general@lists.php.net
> Betreff: [PHP] Re: REG-EXPR: Allowing limited number of special chars in
> usernames
> Holger Sunke wrote:
> > I dont know th
Hello,
i want to use debug_backtrace() in the function called by
register_shutdown_function but it only displays the function we are
currently in
(the shutdown function)
Is there any way to trace what class, methode or line caused php to call the
shutdown function ??
Thx in advanced
--
PHP Gen
I got only a test.shtml with this:
and a test.php with:
PHP 4.4.2 , Apache 1.3.34 , nothing weird,
Compiled Options:
'./configure' '--with-apxs=/usr/local/apache/bin/apxs'
'--prefix=/usr/local' '--with-xml' '--enable-bcmath'
'--enable-calendar' '--with-curl' '--with-dom' '--with-dom-xsl
Al wrote:
I'm trying to resize GIF images and up with very large files
For example:
Original width = 720
New width = 980
Original height = 1008
New height = 1274
Original filesize = 80kb
After resizing = 235kb
Based on the area increase; I'd expect the file size to about double,
not be 4x as l
blackwater dev wrote:
I am doing a select from a mssql db and will then pump it into a mysql db.
What is the easiest way to take the result array from the mssql db and dump
it to a file that I can just pull into MySQL short of writing out to the
file row by row.
how else are you going to genera
I changed that it was windows but still did not change anything. I even
reinstalled wamp but still
the include_path variable in phpinfo(); shows c:\php5\pear
Please help as this putting a stop on my work
regards and thank you for all the help
--
Bikram Suri
"Kamesh Jayachandran" <[EMAIL PRO
I changed that it was windows but still did not change anything. I even
reinstalled wamp but still
the include_path variable in phpinfo(); shows c:\php5\pear
Please help as this putting a stop on my work
regards and thank you for all the help
--
Bikram Suri
"Kamesh Jayachandran" <[EMAIL PR
See what 'Configuration File (php.ini) Path' shows and identify the
php.ini used accordingly.
Please don't [post this kind of help request to internals.
With regards
Kamesh Jayachandran
Bikram Suri wrote:
Thanks for all your replies. I have changed the include_path settings in
php.ini which is
tedd wrote:
Hi gang:
I asked my host to install the current versions of php 5 and the
following was his answer:
"Sorry but php has some issues with cpanel."
cpanel has issues with php5 not the other way around :-)
Anyone heard of any problems or a work-around?
get a different hosting p
Thanks for all your replies. I have changed the include_path settings in
php.ini which is in c:\wamp\php
but still it takes the include path as c:\php5\PEAR
Please help
regards
Bikram
""Bikram Suri"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> I do phpinfo(); and I s
chris smith napsal(a):
On 3/16/06, Karel Kozlik <[EMAIL PROTECTED]> wrote:
What version of imap do you have on both servers?
Maybe one is older and has some bugs that have been fixed.
Hi,
phpinfo on both servers reporting:
IMAP c-Client Version: 2001
The strange think is that imap_mail_comp
On Thu, 2006-03-16 at 03:08, Barry wrote:
> Sugrue, Sean wrote:
> > Does anyone know how to update an option list queried from a database
> > table after an insert/delete action on that table?
Re-Query?
Cheers,
Rob.
--
..
| InterJinn Ap
On 3/16/06, Bikram Suri <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I do phpinfo(); and I see the include path set to c:\php5\Pear. I have wamp
> installed on my machine but before wamp I had done a standalone installation
> of PHP 5 in c:\PHP5 diretory. I have since uninstalled it and deleted the
> c:\PH
Khai napsal(a):
Hi All,
I am using php as an apache module. In my httpd.conf, is there a way to
specify which php.ini to use?
Thanks
Khai
Yes, add this line (with your own location of course) to httpd.conf
PHPIniDir "c:/Program Files/Apache Group/php4"
Karel
--
PHP General Mailing List
On 3/16/06, Karel Kozlik <[EMAIL PROTECTED]> wrote:
> >
> > What version of imap do you have on both servers?
> >
> > Maybe one is older and has some bugs that have been fixed.
> >
>
> Hi,
> phpinfo on both servers reporting:
> IMAP c-Client Version: 2001
>
> The strange think is that imap_mail_co
What version of imap do you have on both servers?
Maybe one is older and has some bugs that have been fixed.
Hi,
phpinfo on both servers reporting:
IMAP c-Client Version: 2001
The strange think is that imap_mail_compose were working on the windows
server few months ago. But now when I need
Hi,
I do phpinfo(); and I see the include path set to c:\php5\Pear. I have wamp
installed on my machine but before wamp I had done a standalone installation
of PHP 5 in c:\PHP5 diretory. I have since uninstalled it and deleted the
c:\PHP5 directory from my system. How can i reset the include pa
Sugrue, Sean wrote:
Does anyone know how to update an option list queried from a database
table after an insert/delete action on that table?
Sean
To be as precise with my answer as your question:
Read the HTML manual about meta tags.
have fun!
--
Smileys rule (cX.x)C --o(^_^o)
Dance for me!
Mark wrote:
THANKS THAT WORKED GREAT
You might need this in the future:
http://dev.mysql.com/doc/refman/5.0/en/index.html
Thare are lot's of examples, also the problem you stated is described there.
--
Smileys rule (cX.x)C --o(^_^o)
Dance for me! ^(^_^)o (o^_^)o o(^_^)^ o(^_^o)
--
PHP Gener
84 matches
Mail list logo