On 6/15/07, Jiffy Slides Leonard Burton <[EMAIL PROTECTED]> wrote:
HI Guys,
If I enter my solution, I am sure to win!
I have it figured out, but, with some of our new service offerings I
don't know that I will have the time to bang out the code.
If I don't enter the code I would love to share
Oops, I accidentally sent this directly to CK, my apologies.
Thank you for your replies. The reason that I didn't explore the JS route is
because this will be running in the background, I didn't want to have to
visit the page in any way. I went looking for an easy way to accomplish this
in PHP bu
Anthony Hiscox wrote:
Hey folks,
I need to pull the contents inside of a specific div out of a page, and
write it to a separate file. In this instance I am taking everything
inside
of tags from a wordpress blog, this will give me
only the content and not the menus, or other stuff. I need to d
""Daniel Brown"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
On 6/15/07, revDAVE <[EMAIL PROTECTED]> wrote:
Novice Question: I would like to create a set of pages that could use
some
kind of logic to have "previous - next buttons "so that when the button
was
clicked it would a
Or you could just use Javascript combined with PHP, just use javascript it's
something like this document.getElementById('tagId').innerHtml that will
give you the html(contents) of the tag you specify. Then just do
something like document.form.value =
document.getElementById('tagId').innerHtm
tedd wrote:
At 12:45 PM +0100 6/14/07, Stut wrote:
Hi All,
I've been asked to be a judge in a PHP competition, and I thought I'd
let you all know about it. Zend have donated some prizes, including a
copy of Zend Studio Professional with 1 year of support, so it's
definitely worth entering. I
Right now the program isn't a dll it's a desktop application written in
Delphi, but when I take the visual components out it will be Pascal, so I
could compile it ot a dll. I want to emulate the same functionality the
desktop application had, thus when the user uploads a file, the Pascal call
Thanks for your help. Since it's a Delphi program and Delphi has the
ability to build ISAPI applications I'm going to try and see if I can't turn
my app into an ISAPI and run that since it has all the functionality I need
and it'll run fast. But if that doesn't work out I'll try the solutions
On 6/16/07, tedd <[EMAIL PROTECTED]> wrote:
At 12:45 PM +0100 6/14/07, Stut wrote:
>Hi All,
>
>I've been asked to be a judge in a PHP competition, and I thought
>I'd let you all know about it. Zend have donated some prizes,
>including a copy of Zend Studio Professional with 1 year of support,
>so
At 12:45 PM +0100 6/14/07, Stut wrote:
Hi All,
I've been asked to be a judge in a PHP competition, and I thought
I'd let you all know about it. Zend have donated some prizes,
including a copy of Zend Studio Professional with 1 year of support,
so it's definitely worth entering. It's also quit
At 6:56 PM -0400 6/15/07, Daniel Brown wrote:
I don't think it's PAM-compliant to use a single-quote character
in your passwords, Tedd. ;-P
--
Daniel P. Brown
Daniel:
Bzzzet, thanks for trying.
Let me explain again, maybe I did explain myself well.
In the show-code folder (link below
At 11:39 AM +0200 6/14/07, Jochem Maas wrote:
original string:
"HELLO, my name is charlie brown! & I'm a
little odd.";
shorten text (32 'letters' required):
"My name is charlie brown! & I'm ";
the 32 'letter' length should therefore ignore the B and I tags and
treat the & as
a sin
At 9:17 PM +0100 6/13/07, Ross wrote:
Never really used the GD much before very straightforward but how do I
output the image on a page. This is fine on a php page on its own but what
about one where the headers are already sent?
Ross:
That's not a problem. See this:
http://xn--nvg.com/rotat
On 6/15/07, tedd <[EMAIL PROTECTED]> wrote:
At 5:31 PM -0400 6/15/07, Daniel Brown wrote:
>
>Sounds like it was the decimal (three-bit, incorrect) versus octal
>(four bit, correct) chmod(); value after all. Boo-yaa and stuff.
Nope, that was one of the things I had right from the "get-go
At 5:31 PM -0400 6/15/07, Daniel Brown wrote:
Sounds like it was the decimal (three-bit, incorrect) versus octal
(four bit, correct) chmod(); value after all. Boo-yaa and stuff.
Nope, that was one of the things I had right from the "get-go".
The biggest problems I had were:
a) gettin
Hi Ross,
Friday, June 15, 2007, 10:40:37 PM, you wrote:
> Any ideas how to save the imagecopyresampled() to the folder?
Call imagepng (or imagejpeg or whatever) and pass it a filename to
save the image instead of output it. Check the help files for examples.
Cheers,
Rich
--
Zend Certified Eng
Tijnema wrote:
On 6/15/07, Stut <[EMAIL PROTECTED]> wrote:
WeberSites LTD wrote:
> Did someone say PHP competition ? Zend Studio?
>
> Here is one that has been around since April 2004 giving out prizes
on a
> monthly basis :
> http://contest.weberdev.com/
Yeah, but this one has quality judge
I am taking your advice.
I am going to rezize any image greater than 400px wide prior to upload. I
have to combine my upload script
for ($i=0; $i <$total; $i++) {
$fileName = $_FILES['userfile']['name'][$i];
$tmpName = $_FILES['userfile']['tmp_name'][$i];
$fileSize = $_FILES['userfile']['size
Hey folks,
I need to pull the contents inside of a specific div out of a page, and
write it to a separate file. In this instance I am taking everything inside
of tags from a wordpress blog, this will give me
only the content and not the menus, or other stuff. I need to do this
because the final
On 6/15/07, Tijnema <[EMAIL PROTECTED]> wrote:
On 6/15/07, Dan <[EMAIL PROTECTED]> wrote:
> I know for some languages there is a way to call code from another language.
> For example you can call C funcitons from Pascal, etc. Is there any way I
> can call Pascal functions/code from PHP?
>
Compi
On 6/15/07, tedd <[EMAIL PROTECTED]> wrote:
At 1:06 PM -0400 6/14/07, Daniel Brown wrote:
>For the sake of people reading the archives now (and in years to
>come), what was the cause of the problem, Tedd?
Daniel:
Ok, good point -- I would have liked to have this example to review.
I'm not
On 6/15/07, Stut <[EMAIL PROTECTED]> wrote:
OK, your problem here is the single quotes in the img src around $img_url.
Stut's right. You should change:
echo "";
to:
echo "";
He's also right about the dynamic resizing of images causing a
serious strain on the server
On 6/15/07, Dan <[EMAIL PROTECTED]> wrote:
I know for some languages there is a way to call code from another language.
For example you can call C funcitons from Pascal, etc. Is there any way I
can call Pascal functions/code from PHP?
Compile the pascal code as an executable, and call it with
On 6/15/07, Stut <[EMAIL PROTECTED]> wrote:
WeberSites LTD wrote:
> Did someone say PHP competition ? Zend Studio?
>
> Here is one that has been around since April 2004 giving out prizes on a
> monthly basis :
> http://contest.weberdev.com/
Yeah, but this one has quality judges ;)
-Stut
Yes,
At 1:06 PM -0400 6/14/07, Daniel Brown wrote:
For the sake of people reading the archives now (and in years to
come), what was the cause of the problem, Tedd?
Daniel:
Ok, good point -- I would have liked to have this example to review.
I'm not sure of the problems I had, because they were
On 6/15/07, Dan <[EMAIL PROTECTED]> wrote:
Wow, thanks for the code and the fast response! :) Although maybe I should
clarify my probem a bit more, I'm trying to run a program, but I want it to
stay open so that I can call functions later.
When the user "opens" a file, it's uploaded to a folder
I know for some languages there is a way to call code from another language.
For example you can call C funcitons from Pascal, etc. Is there any way I
can call Pascal functions/code from PHP?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
revDAVE wrote:
Novice Question: I would like to create a set of pages that could use some
kind of logic to have "previous - next buttons "so that when the button was
clicked it would automatically go to the next page - or the previous page.
I know very little about PHP ... however, I am hoping
On 6/15/07, revDAVE <[EMAIL PROTECTED]> wrote:
Novice Question: I would like to create a set of pages that could use some
kind of logic to have "previous - next buttons "so that when the button was
clicked it would automatically go to the next page - or the previous page.
I know very little abou
Ross wrote:
Thanks Stut we are getting somewhere.
Removing the header gives the full binary output of the file in IE and FF. I
also removes the echos and have the resized image showing in the browser. So
far so good. I know it works.
Now back to sending the URL.
I have this
$img_url="htt
Hi Ross,
Friday, June 15, 2007, 10:00:53 PM, you wrote:
> I have this
> $img_url="http://www.xxx.co.uk/images/ENbb24469/room1.JPG";;
> echo ">";
> and on the display image page I have:
> $img_url= $_GET['img_url'];
> $image = imagecreatefromjpeg($img_url);
> if ($image === false) { exit;
Wow, thanks for the code and the fast response! :) Although maybe I should
clarify my probem a bit more, I'm trying to run a program, but I want it to
stay open so that I can call functions later.
When the user "opens" a file, it's uploaded to a folder where PHP can access
it, then PHP would
Hi,
Friday, June 15, 2007, 9:53:24 PM, you wrote:
> I know very little about PHP ... however, I am hoping that there is some
> kind of preset " open source" php code that I might be able to use.
There is the Pear pagination package which can do this, although not
quite in the way you want it do
Thanks Stut we are getting somewhere.
Removing the header gives the full binary output of the file in IE and FF. I
also removes the echos and have the resized image showing in the browser. So
far so good. I know it works.
Now back to sending the URL.
I have this
$img_url="http://www.xxx
Novice Question: I would like to create a set of pages that could use some
kind of logic to have "previous - next buttons "so that when the button was
clicked it would automatically go to the next page - or the previous page.
I know very little about PHP ... however, I am hoping that there is som
On 6/15/07, Dan <[EMAIL PROTECTED]> wrote:
Will that script also work on Apache in Windows? OS X? Just checking
because the backend and front end both need to be able to be installed on
any OS.
Also I looked at exec(), system(), and passthru(); they all let you execute
a executable file but I
On 6/15/07, Jason Pruim <[EMAIL PROTECTED]> wrote:
> [PHP]
>L> File: viewall.php
> // Include files, connection routines, configuration, blah,
> blah, blah
> $dow = (date("N") - 1);
>
> $sql = "SELECT task_name FROM tasks WHERE completed='0'";
> $sql .= " AND (day_of_week BETWEEN '
Jason Pruim wrote:
On Jun 13, 2007, at 4:03 PM, Daniel Brown wrote:
[PHP]
L> File: viewall.php
// Include files, connection routines, configuration, blah, blah,
blah
$dow = (date("N") - 1);
$sql = "SELECT task_name FROM tasks WHERE completed='0'";
$sql .= " AND (day_of_week B
Will that script also work on Apache in Windows? OS X? Just checking
because the backend and front end both need to be able to be installed on
any OS.
Also I looked at exec(), system(), and passthru(); they all let you execute
a executable file but I don't see any way of passing parameters i
Ross wrote:
I have manually put in the url my display_image.php page to debug as
sugested and all I get is the URL of the display_image.php page output on
the screen.
This is what I see
http://xxx.co.uk/common/display_image.php
this is the display_image.php file:
$img_url="http://
WeberSites LTD wrote:
Did someone say PHP competition ? Zend Studio?
Here is one that has been around since April 2004 giving out prizes on a
monthly basis :
http://contest.weberdev.com/
Yeah, but this one has quality judges ;)
-Stut
-Original Message-
From: Stut [mailto:[EMAIL PR
I have manually put in the url my display_image.php page to debug as
sugested and all I get is the URL of the display_image.php page output on
the screen.
This is what I see
http://xxx.co.uk/common/display_image.php
this is the display_image.php file:
$img_url="http://www.x
On Jun 13, 2007, at 4:03 PM, Daniel Brown wrote:
[PHP]
L> File: viewall.php
// Include files, connection routines, configuration, blah,
blah, blah
$dow = (date("N") - 1);
$sql = "SELECT task_name FROM tasks WHERE completed='0'";
$sql .= " AND (day_of_week BETWEEN '0' AND '".$
[snip]
> Two words. Beware the inode.
^^ ^^^ ^
1 23
Here endeth the lesson.
[/snip]
Can I get an Admin brotha'!?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Did someone say PHP competition ? Zend Studio?
Here is one that has been around since April 2004 giving out prizes on a
monthly basis :
http://contest.weberdev.com/
berber
-Original Message-
From: Stut [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 14, 2007 1:46 PM
To: php-general@l
Jay Blanchard wrote:
[snip]
Server is running Linux, and PHP is constantly creating and modifying
images in a directory. Apache is constantly serving these same
images. There are about 250,000 of them in the same directory. Seems
to be running OK, no problematic CPU load, but I'm wondering
On Saturday 16 June 2007 03:47, Daniel Brown wrote:
> Once again, this doesn't matter so much for per-directory (though
> listing will take longer, as I think I mentioned) as it does the
> filesystem mount.
Several years ago, having say 3000+ files in single directory on ext2
would mean tha
On 6/15/07, Dan <[EMAIL PROTECTED]> wrote:
Ok, so I have a PHP script, and I also have a program written in Pascal,
it's compiled in the native executable for whatever OS the server is
running.
I want to have the user input info and then send that info to the Pascal
program to call a function an
Since it depends on many factors, some out of your control, some others that
might vary over the lifetime of the application, one thing you might do, to
be on the safe side is try to put files in different directories, for
example, by breaking up their filenames every three characters and making
Dan wrote:
Ok, so I have a PHP script, and I also have a program written in Pascal,
it's compiled in the native executable for whatever OS the server is
running.
I want to have the user input info and then send that info to the Pascal
program to call a function and send the info as parameters
On 6/15/07, Jay Blanchard <[EMAIL PROTECTED]> wrote:
[snip]
I can easily break it up into 100 subdirectories, 2500 files in each,
would that be good insurance against problems?
[/snip]
As someone mentioned, directories are just a human convenience. Each
file will have an inode and is identified
On 6/15/07, Dan <[EMAIL PROTECTED]> wrote:
Ok, so I have a PHP script, and I also have a program written in Pascal,
it's compiled in the native executable for whatever OS the server is
running.
I want to have the user input info and then send that info to the Pascal
program to call a function an
On 6/15/07, Brian Dunning <[EMAIL PROTECTED]> wrote:
Thanks for the replies but I'm not sure I know what to do with them.
Is the problem with the number of files, or is the problem with the
activity? Can you dumb down your answers at all for me? :)
On Jun 15, 2007, at 11:51 AM, Daniel Brown wr
On 6/15/07, Brian Dunning <[EMAIL PROTECTED]> wrote:
I can easily break it up into 100 subdirectories, 2500 files in each,
would that be good insurance against problems?
I have no clue how big the files are, but you might want to store them
in a database. That can speed up things, but don't as
Ok, so I have a PHP script, and I also have a program written in Pascal,
it's compiled in the native executable for whatever OS the server is
running.
I want to have the user input info and then send that info to the Pascal
program to call a function and send the info as parameters.
Is there
[snip]
I can easily break it up into 100 subdirectories, 2500 files in each,
would that be good insurance against problems?
[/snip]
As someone mentioned, directories are just a human convenience. Each
file will have an inode and is identified by an inode number in the file
system where it reside
I can easily break it up into 100 subdirectories, 2500 files in each,
would that be good insurance against problems?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 6/15/07, Crayon Shin Chan <[EMAIL PROTECTED]> wrote:
On Saturday 16 June 2007 02:51, Daniel Brown wrote:
> And remember, the fact that they're all
> in one directory doesn't matter at all to the system, as directories,
> folders, et cetera, are just representations for human readability and
>
Thanks for the replies but I'm not sure I know what to do with them.
Is the problem with the number of files, or is the problem with the
activity? Can you dumb down your answers at all for me? :)
On Jun 15, 2007, at 11:51 AM, Daniel Brown wrote:
6/15/07, Jay Blanchard <[EMAIL PROTECTED]>
On Saturday 16 June 2007 02:51, Daniel Brown wrote:
> And remember, the fact that they're all
> in one directory doesn't matter at all to the system, as directories,
> folders, et cetera, are just representations for human readability and
> organization. In fact, those files reside on several sec
I have manually put in the url my display_image.php page to debug as
sugested and all I get is the URL of the display_image.php page output on
the screen.
This is what I see
http://xxx.co.uk/common/display_image.php
this is the display_image.php file:
$img_url="http://www.xxx
On 6/15/07, Jason Pruim <[EMAIL PROTECTED]> wrote:
On Jun 15, 2007, at 2:47 PM, Daniel Brown wrote:
> On 6/15/07, Brian Dunning <[EMAIL PROTECTED]> wrote:
>> > On 6/15/07, Mark Smith <[EMAIL PROTECTED]> wrote:
>> >> I am currently trying to unsubscribe from this mailing list,
>> >> however I
>>
6/15/07, Jay Blanchard <[EMAIL PROTECTED]> wrote:
[snip]
Server is running Linux, and PHP is constantly creating and modifying
images in a directory. Apache is constantly serving these same
images. There are about 250,000 of them in the same directory. Seems
to be running OK, no problematic CPU l
On Jun 15, 2007, at 2:47 PM, Daniel Brown wrote:
On 6/15/07, Brian Dunning <[EMAIL PROTECTED]> wrote:
> On 6/15/07, Mark Smith <[EMAIL PROTECTED]> wrote:
>> I am currently trying to unsubscribe from this mailing list,
>> however I
>> am nor very successful in doing this. The mailer program wil
On 6/15/07, Brian Dunning <[EMAIL PROTECTED]> wrote:
> On 6/15/07, Mark Smith <[EMAIL PROTECTED]> wrote:
>> I am currently trying to unsubscribe from this mailing list,
>> however I
>> am nor very successful in doing this. The mailer program will
>> refuse to
>> accept my address for removal, it
[snip]
Server is running Linux, and PHP is constantly creating and modifying
images in a directory. Apache is constantly serving these same
images. There are about 250,000 of them in the same directory. Seems
to be running OK, no problematic CPU load, but I'm wondering if
anyone knows wheth
On 6/15/07, Mark Smith <[EMAIL PROTECTED]> wrote:
I am currently trying to unsubscribe from this mailing list,
however I
am nor very successful in doing this. The mailer program will
refuse to
accept my address for removal, it will simply continue to send
mail to
my address. Why is this hap
Server is running Linux, and PHP is constantly creating and modifying
images in a directory. Apache is constantly serving these same
images. There are about 250,000 of them in the same directory. Seems
to be running OK, no problematic CPU load, but I'm wondering if
anyone knows whether I'm
On 6/15/07, Tijnema <[EMAIL PROTECTED]> wrote:
On 6/15/07, Stut <[EMAIL PROTECTED]> wrote:
> Tijnema wrote:
> > -slut
>
> Actually it's -Stut. I hate it when people spell my name wrong!
>
> -Stut
>
Oh, didn't knew you were on the list of inappropriate words too ;)
Tijnema
--
PHP General Mailing
On 6/15/07, Stut <[EMAIL PROTECTED]> wrote:
Tijnema wrote:
> -slut
Actually it's -Stut. I hate it when people spell my name wrong!
-Stut
Oh, didn't knew you were on the list of inappropriate words too ;)
Tijnema
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http:/
Tijnema wrote:
-slut
Actually it's -Stut. I hate it when people spell my name wrong!
-Stut
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 6/15/07, kvigor <[EMAIL PROTECTED]> wrote:
Hello,
I 'm checking form data for profanity but it only works if the
$_POST['var'] is lowercase I was wondering if anyone knew how I could catch
the profanity no matter what case it was. No matter if it was BAD or bad or
mixed like BaD?
Instead of
Paul K wrote:
I have just started with a clean install on a Windows XP Pro system,
Apache 2.24 and PHP 5.2.3
Apache Monitor reports Apache/2.24(Win32)PHP/5.2.3.
I can access html files just fine but I can't even run a test program
Nothing displays.
Where do I look to see whats wrong?
Paul
Zoltán Németh wrote:
> 2007. 06. 15, péntek keltezéssel 14.45-kor Ross ezt írta:
>> I have a display_image.php page
>>
>> >
>>
>>
>> $image = imagecreatefromjpeg($img_url);
>
> where do you get $img_url from? GET request?
> then do something like
>
> $img_url = $_GET['img_url'];
> if (!file_exist
On 6/15/07, Paul K <[EMAIL PROTECTED]> wrote:
I have just started with a clean install on a Windows XP Pro system,
Apache 2.24 and PHP 5.2.3
Apache Monitor reports Apache/2.24(Win32)PHP/5.2.3.
I can access html files just fine but I can't even run a test program
Nothing displays.
Where do I
Man you have some issues... :p
Dave Goodchild wrote:
> No, because extra processing is done on the other side - now
>
> fuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckf
No, because extra processing is done on the other side - now
fuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuck
I have just started with a clean install on a Windows XP Pro system,
Apache 2.24 and PHP 5.2.3
Apache Monitor reports Apache/2.24(Win32)PHP/5.2.3.
I can access html files just fine but I can't even run a test program
Nothing displays.
Where do I look to see whats wrong?
Paul
--
PHP Genera
2007. 06. 15, péntek keltezéssel 15.48-kor Dave Goodchild ezt írta:
> I use something like this:
>
> $_SESSION['profane'] = false;
>
> foreach ($_POST as $value) {
> foreach ($swearbox as $profanity) {
> if (preg_match("/$profanity/i", $value)) {
> $errors = tr
Daniel Brown wrote:
$image_url = 'http://www.pr0nsite.com/gallery/big-boobs.jpg';
Well that was just too disappointing for a Friday afternoon. Ya tease!
-Stut
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
2007. 06. 15, péntek keltezéssel 15.28-kor [EMAIL PROTECTED] ezt írta:
> Nothing happens no errors or anything I tried to debug using
> include('display_image.php?img_url=$image_url') I got a parse error.
of course. include is totally different stuff, you can not give GET
parameters when includin
On 6/15/07, Mark Smith <[EMAIL PROTECTED]> wrote:
I am currently trying to unsubscribe from this mailing list, however I
am nor very successful in doing this. The mailer program will refuse to
accept my address for removal, it will simply continue to send mail to
my address. Why is this happening
I use something like this:
$_SESSION['profane'] = false;
foreach ($_POST as $value) {
foreach ($swearbox as $profanity) {
if (preg_match("/$profanity/i", $value)) {
$errors = true;
$_SESSION['profane'] = true;
mail(TECHEMAIL, 'profane content
On 6/15/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Nothing happens no errors or anything I tried to debug using
include('display_image.php?img_url=$image_url') I got a parse error.
You can't include a file with a query string attached. However,
you /can/ do:
http://www.pr0nsite.com/g
[EMAIL PROTECTED] wrote:
Nothing happens no errors or anything I tried to debug using
include('display_image.php?img_url=$image_url') I got a parse error.
I would rather use buffers if this is possible?
You can't parse GET parameters with include. Try this...
$_GET['img_url'] = $image_url;
i
On 6/15/07, Chris <[EMAIL PROTECTED]> wrote:
""kvigor"" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
> Hello,
>
> I 'm checking form data for profanity but it only works if the
> $_POST['var'] is lowercase I was wondering if anyone knew how I could
> catch the profanity no
Ross escreveu:
$image = imagecreatefromjpeg($img_url);
$image in this case, is the Image Identifier, and returns something like
, Resource id #NUMBER ( Resourse id allocation process, for the generic
imagecreate... ).
if ($image === false) { die ('Unable to open image'
Have you tried eregi()?
You don't need the regex functions, they're slow and you should be using
PCRE instead (IMO).
--
Richard Heyes
0844 801 1072
http://www.websupportsolutions.co.uk
Knowledge Base and HelpDesk software
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visi
Nothing happens no errors or anything I tried to debug using
include('display_image.php?img_url=$image_url') I got a parse error.
I would rather use buffers if this is possible?
- Original Message -
From: "Zoltán Németh" <[EMAIL PROTECTED]>
To: "Ross" <[EMAIL PROTECTED]>
Cc:
Sent: Fri
kvigor wrote:
Hello,
I 'm checking form data for profanity but it only works if the
$_POST['var'] is lowercase I was wondering if anyone knew how I could catch
the profanity no matter what case it was. No matter if it was BAD or bad or
mixed like BaD?
Instead of the long way:
if ($value =
""kvigor"" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
> Hello,
>
> I 'm checking form data for profanity but it only works if the
> $_POST['var'] is lowercase I was wondering if anyone knew how I could
> catch the profanity no matter what case it was. No matter if it was
kvigor wrote:
Hello,
I 'm checking form data for profanity but it only works if the
$_POST['var'] is lowercase I was wondering if anyone knew how I could catch
the profanity no matter what case it was. No matter if it was BAD or bad or
mixed like BaD?
Use strcasecmp() or perhaps better, st
On 6/15/07, Christian Hänsel <[EMAIL PROTECTED]> wrote:
On the weekends, I get to maintain my own websites, do research, satisfy the
needs of my girl, learn new stuff (like JS right now *yikes*)... damned, I
can't wait til September when I get TWO WEEKS OFF :oD
--
---
On 6/15/07, Jim Moseby <[EMAIL PROTECTED]> wrote:
> I am currently trying to unsubscribe from this mailing list,
> however I
> am nor very successful in doing this. The mailer program will
> refuse to
> accept my address for removal, it will simply continue to
> send mail to
> my address. Why is
On 6/15/07, Crayon Shin Chan <[EMAIL PROTECTED]> wrote:
On Friday 15 June 2007 21:23, Jochem Maas wrote:
[etc]
> IT is a joke, this list is joke, I'm a joke. no joke.
Someone give this guy his meds :)
--
Crayon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://w
I have a display_image.php page
I want to output this as an image but cannot get it working. I need to pass
the image url something like this I thought would work
echo "";
any ideas?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 6/15/07, Jochem Maas <[EMAIL PROTECTED]> wrote:
Daniel Brown wrote:
...
Dan,
I don't want to put a downer on things, especially considering the
ammount of time/energy you spent writing the code you posted. ... but
this is not exactly what I was looking for.
I guess my feable attempt at exp
2007. 06. 15, péntek keltezéssel 14.45-kor Ross ezt írta:
> I have a display_image.php page
>
>
>
>
> $image = imagecreatefromjpeg($img_url);
where do you get $img_url from? GET request?
then do something like
$img_url = $_GET['img_url'];
if (!file_exists($img_url)) die "bad hacker";
before
On Friday 15 June 2007 21:23, Jochem Maas wrote:
[etc]
> IT is a joke, this list is joke, I'm a joke. no joke.
Someone give this guy his meds :)
--
Crayon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Crayon Shin Chan wrote:
> On Saturday 09 June 2007 01:22, Daniel Brown wrote:
>
>> I actually haven't found a platform yet that I couldn't port PHP
>> to, if it wasn't already native. We're talking Windows, Linux, BSD,
>> true *nix, MacOS, SunOS, Amiga, et cetera. I doubt it would run on my
1 - 100 of 118 matches
Mail list logo