looks like this
--
__
(_ \
_) )
| / / _ ) / _ | / ___) / _ )
| | ( (/ / ( ( | |( (___ ( (/ /
|_| \) \_||_| \____) \)
Kevin Waterson
Port Macquarie, Australia
--
PHP General Ma
Kevin
--
__
(_ \
_) )
| / / _ ) / _ | / ___) / _ )
| | ( (/ / ( ( | |( (___ ( (/ /
|_| \) \_||_| \) \____)
Kevin Waterson
Port Macquarie, Australia
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, vi
_SERVER_VARS
Kevin
--
__
(_ \
_) )
| / / _ ) / _ | / ___) / _ )
| | ( (/ / ( ( | |( (___ ( (/ /
|_| \) \_||_| \) \____)
Kevin Waterson
Port Macquarie, Australia
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
ere
but it works
Kevin
--
__
(_ \
_) )
| / / _ ) / _ | / ___) / _ )
| | ( (/ / ( ( | |( (___ ( (/ /
|_| \) \_||_| \) \)
Kevin Waterson
Port Macquarie, Australia
--
PHP General Mailing L
vin
--
__
(_ \
_) )
| / / _ ) / _ | / ___) / _ )
| | ( (/ / ( ( | |( (___ ( (/ /
|_| \) \_||_| \) \____)
Kevin Waterson
Port Macquarie, Australia
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
string, '1,') == 'FALSE){
echo 'No match found';
}else{
echo 'Found a match';
}
No need for costly regex
Kevin
--
__
(_ \
_) )
| / / _ ) / _ | / ___) / _ )
| | ( (/ / ( ( | |( (___ ( (/ /
|_| \)
omething like this..
There is almost always a better solution than regex
Kevin
--
__
(_ \
_) )
| / / _ ) / _ | / ___) / _ )
| | ( (/ / ( ( | |( (___ ( (/ /
|_| \) \_||_
string", 0, -1);
Kevin
--
__
(_ \
_) )
| / / _ ) / _ | / ___) / _ )
| | ( (/ / ( ( | |( (___ ( (/ /
|_| \) \_||_| \) \)
Kevin Waterson
Port Macquarie, Australia
--
PHP General Mailing List (http://www.php.net/)
_two] -p
hope this helps
Kevin
--
__
(_ \
_) )
| / / _ ) / _ | / ___) / _ )
| | ( (/ / ( ( | |( (___ ( (/ /
|_| \____) \_||_| \) \)
Kevin Waterson
Port Macquarie, Australia
--
PHP General Mailin
slt/sablotron to call the xsl template and render the
page
Kind regards
Kevin
--
__
(_ \
_) )
| / / _ ) / _ | / ___) / _ )
| | ( (/ / ( ( | |( (___ ( (/ /
|_| \____) \_||_|
ses.
enjoy
Kevin
--
__
(_ \
_) )
| / / _ ) / _ | / ___) / _ )
| | ( (/ / ( ( | |( (___ ( (/ /
|_| \) \_||_| \____) \____)
Kevin Waterson
Port Macquarie, Australia
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
This one time, at band camp,
"Lord Loh." <[EMAIL PROTECTED]> wrote:
> I am trying to make a link collector.
>
> after opening the desired page, I want to get all the hyperlinks on it...
OK, this is quick and nasty, but you can add sanity/error checking etc
as you please, but it shows you the con
--
__
(_ \
_) )
| / / _ ) / _ | / ___) / _ )
| | ( (/ / ( ( | |( (___ ( (/ /
|_| \) \_||_| \) \)
Kevin Waterson
Port Macquarie, Australia
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
e.php
Kevin
--
__
(_ \
_) )
| / / _ ) / _ | / ___) / _ )
| | ( (/ / ( ( | |( (___ ( (/ /
|_| \) \_||_| \____) \)
Kevin Waterson
Port Macquarie, Australia
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http:/
'Directory '.$dirname.' does not exist';
}
or something
Kevin
--
__
(_ \
_) )
| / / _ ) / _ | / ___) / _ )
| | ( (/ / ( ( | |( (___ ( (/ /
|_| \) \_||_| \) \)
Kevin Waterson
Port Macquarie, Australia
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ou install from RPM??
Kevin
--
__
(_ \
_) )
| / / _ ) / _ | / ___) / _ )
| | ( (/ / ( ( | |( (___ ( (/ /
|_| \) \_||_| \) \)
Kevin Waterson
Port Macquarie, Australia
--
PHP General Mail
line add
--with-gd
Kevin
--
__
(_ \
_) )
| / / _ ) / _ | / ___) / _ )
| | ( (/ / ( ( | |( (___ ( (/ /
|_| \) \_||_| \) \)
Kevin Waterson
Port Macquarie, Australia
--
PHP General Mailing List (http://www.php.net/)
ke it.
What is it you wish to do?
Kevin
--
__
(_ \
_) )
| / / _ ) / _ | / ___) / _ )
| | ( (/ / ( ( | |( (___ ( (/ /
|_| \____) \_||_| \) \)
Kevin Waterson
Port Macquarie, Australia
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
wish the script to do?
Kevin
--
__
(_ \
_) )
| / / _ ) / _ | / ___) / _ )
| | ( (/ / ( ( | |( (___ ( (/ /
|_| \____) \_||_| \) \)
Kevin Waterson
Port Macquarie, Aust
ER BY pollID ASC LIMIT 1";
Kevin
--
__
(_ \
_) )
| / / _ ) / _ | / ___) / _ )
| | ( (/ / ( ( | |( (___ ( (/ /
|_| \____) \_||_| \) \)
Kevin Waterson
Port Macquarie, Australia
--
PHP General
- $timestamp1;
cheers
Kevin
--
__
(_ \
_) )
| / / _ ) / _ | / ___) / _ )
| | ( (/ / ( ( | |( (___ ( (/ /
|_| \) \_||_| \) \)
Kevin Waterson
Port Macquarie, Australia
ER['HTTP_REFERER']
Kevin
--
__
(_ \
_) )
| / / _ ) / _ | / ___) / _ )
| | ( (/ / ( ( | |( (___ ( (/ /
|_| \) \_||_| \) \)
Kevin Waterson
Port Macquarie,
base.
nl2br()
http://www.php.net/nl2br
Kevin
--
__
(_ \
_) )
| / / _ ) / _ | / ___) / _ )
| | ( (/ / ( ( | |( (___ ( (/ /
|_| \) \_||_| \) \)
Kevin Waterson
Port Macquarie, Australia
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
// my favourite
or if you like you could do
`blah.sh` // backticks
Kevin
--
__
(_ \
_) )
| / / _ ) / _ | / ___) / _ )
| | ( (/ / ( ( | |( (___ ( (/ /
|_| \) \_||_| \)
uot;dog => 5"
I would like to get 'dog' and '5' into a $variable.
Kind regards
Kevin
--
__
(_ \
_) )
| ____/ / _ ) / _ | / ___) / _ )
| | ( (/ / ( ( | |( (___ ( (/ /
|_| \) \_|
bs = new thumbs;
ob_start(array($thumbs,'select'));
?>
Stuff goes here!
--
__
(_ \
_) )
| / / _ ) / _ | / ___) / _ )
| | ( (/ / ( ( | |( (___ ( (/ /
|_| \) \_||_| \) \)
Kevin Wat
od20001214.php3
Kevin
--
__
(_ \
_) )
| / / _ ) / _ | / ___) / _ )
| | ( (/ / ( ( | |( (___ ( (/ /
|_| \) \_||_| \) \)
Kevin Waterson
Port Macquarie, Australia
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
?
Kind regards
kevin
--
__
(_ \
_) )
| / / _ ) / _ | / ___) / _ )
| | ( (/ / ( ( | |( (___ ( (/ /
|_| \) \_||_| \) \)
Kevin Waterson
Port Macquarie, Australia
d-php html
Kind regards
Kevin
--
__
(_ \
_) )
| / / _ ) / _ | / ___) / _ )
| | ( (/ / ( ( | |( (___ ( (/ /
|_| \____) \_||_| \) \)
Kevin Waterson
Port Macquarie, Australia
--
PHP General Mailing List (http://www.php.net
e because it is compiled in.
Kevin
--
__
(_ \
_) )
| / / _ ) / _ | / ___) / _ )
| | ( (/ / ( ( | |( (___ ( (/ /
|_| \) \_||_| \) \)
Kevin Waterson
Port Macquarie, Aust
, "0", STR_PAD_LEFT);
Kevin
__
(_ \
_) )
| / / _ ) / _ | / ___) / _ )
| | ( (/ / ( ( | |( (___ ( (/ /
|_| \____) \_||_| \) \)
Kevin Waterson
Port Macquarie, Australia
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
}else{
> $result=false;
>break;
> }//if
> }//if
> }//foreach
> return $result;
> }
--
__
(_ \
_) ) ____ ____
| ____/ / _ ) / _ | / ___) / _ )
| | ( (/ / ( ( | |( (___ ( (/ /
|_| \) \_||_| \) \)
Kevin Waterson
Port Macquarie, Australia
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
udatedb
Kevin
--
__
(_ \
_) )
| / / _ ) / _ | / ___) / _ )
| | ( (/ / ( ( | |( (___ ( (/ /
|_| \) \_||_| \____) \)
Kevin Waterson
Port Macquarie, Australia
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
t;Banana" or "Ba na na" in echo ?
$list = array('Ba-na-na', 'Ber-ry');
echo ''.str_replace('-','',$list[0]).'';
Kevin
--
__
(_ \
_) ) __
s on is huge.
fu2
--
__
(_ \
_) )
| / / _ ) / _ | / ___) / _ )
| | ( (/ / ( ( | |( (___ ( (/ /
|_| \) \_||_| \____) \____)
Kevin Waterson
Port Macquarie, Australia
--
PHP General Mailing List (http://www.php.net/)
To unsubs
Just how much can the php name be used in applications?
The license says
3. The name "PHP" must not be used to endorse or promote products
derived from this software without prior permission from the
PHP Group. This does not apply to add-on libraries or tools
that work in co
pages!
$_SERVER['DOCUMENT_ROOT']
Kevin
--
Kevin Waterson
Byron Bay, Australia
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
trying to get the built in gd to work without luck
I am using redhat and it has gd 1.8.4(or something)
but the newer compiled version does not seem to install.
I check with phpinfo and it just says 1.6.2 or higher
but none of the 2.* functions work so I assume the
new gd did not install. my confi
On Thu, 11 Jul 2002 17:19:07 +0100
"Danny Shepherd" <[EMAIL PROTECTED]> wrote:
> You need to compile with GD2 if you want to use any of the 2.* functions in
> PHP - phpinfo will say 'GD 2.0 or higher'
I tried --with-gd2 but then I get no gd at all?
the included gd version is 2.0.1 but does not
s
On Thu, 11 Jul 2002 15:32:30 -0700
"Ricky Dhatt" <[EMAIL PROTECTED]> wrote:
> You need to use --with-gd=php to use the built-in gd library.
yep, that got over that hurdle, I used the config line
./configure --with-apxs=/usr/sbin/apxs --with-mysql=/usr --with-ttf=/usr
--enable-track-vars --ena
I wish to compress some data using
ob_start("ob_gzhandler");
I use
if(strstr($_SERVER['HTTP_ACCEPT_ENCODING'],gzip)) {
ob_start("ob_gzhandler");
} else {
ob_start();
}
but the compression is never used..
obstart is always used withouth the gz_handler
is there a way around this? or am
On Sun, 14 Jul 2002 10:35:13 -0400
"John Holmes" <[EMAIL PROTECTED]> wrote:
> Shouldn't gzip be in quotes, here?? The second argument to strstr...
indeed, that fixes that.. thanks
now, I have a problem with mozilla and netscape.
Although they both accept the ob_start("ob_gzhandler");
netscape
I am storing some images in a database. No problems there.
But how can I create a thumbnail do store in the db also
without having to create the thumbnail image on the
file system first?
Kind regards
Kevin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.n
egards
Kevin
--
__
(_ \
_) )
| / / _ ) / _ | / ___) / _ )
| | ( (/ / ( ( | |( (___ ( (/ /
|_| \) \_||_| \____) \)
Kevin Waterson
Port Macquarie, Australia
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
This one time, at band camp, Kevin Waterson <[EMAIL PROTECTED]> wrote:
> I need to store the thumbnails in the database.
> So, I need to resize the image at the same time as I store it.
Ok, so the secret here is output buffering
// prepare the image for insertion
direct stream to the
webpage?
Kind regards
Kevin
--
__
(_ \
_) )
| / / _ ) / _ | / ___) / _ )
| | ( (/ / ( ( | |( (___ ( (/ /
|_| \) \_||_| \) \)
Kevin Waterson
Port
ggested in the first mail?
Kind regards
Kevin
--
__
(_ \
_) )
| / / _ ) / _ | / ___) / _ )
| | ( (/ / ( ( | |( (___ ( (/ /
|_| \) \_||_| \) \)
Kevin Waterson
Port Macquarie, Australia
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
tream to the browser?
Kind regards
Kevin
--
__
(_ \
_) )
| / / _ ) / _ | / ___) / _ )
| | ( (/ / ( ( | |( (___ ( (/ /
|_| \) \_||_| \____) \)
Kevin Waterson
Port Macquari
On Mon, 20 May 2002 08:57:16 +1200
"PhilipNZ Staff" <[EMAIL PROTECTED]> wrote:
> My code below don't want to insert the code into the database what am I doing wrong?
>
>
> $answers="$band, $middlename, $pot";
> $date=date ("l dS of F Y h:i:s A");
>
> $sql = "INSERT INTO `prizeline` (`id`,
On Wed, 22 May 2002 00:48:24 -0300
"Rodrigo" <[EMAIL PROTECTED]> wrote:
> Hi guys I_m trying to use a function on na .inc file, how should I do?
>
> How should I write the function and what should I write on the file so
> that the function file is _Included_ to be used on a function call on
> t
o in windows world
Kevin
--
__
(_ \
_) )
| / / _ ) / _ | / ___) / _ )
| | ( (/ / ( ( | |( (___ ( (/ /
|_| \____) \_||_| \____) \)
Kevin Waterson
Port Macquarie, Australia
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
as the headers are being sent from the error
message.
Kevin
--
__
(_ \
_) )
| / / _ ) / _ | / ___) / _ )
| | ( (/ / ( ( | |( (___ ( (/ /
|_| \) \_||_| \) \)
Kevin Waterson
Port Macquarie, Australia
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
x27;; }
?>
or something.
Kevin
--
__
(_ \
_) )
| / / _ ) / _ | / ___) / _ )
| | ( (/ / ( ( | |( (___ ( (/ /
|_| \) \_||_| \) \)
Kevin Waterson
Port Macquarie, Australia
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ing like this may help for random images
--
__
(_ \
_) )
| / / _ ) / _ | / ___) / _ )
| | ( (/ / ( ( | |( (___ ( (/ /
|_| \____) \_||_| \) \)
Kevin Waterson
Port Macquarie, Australia
--
PHP General Mailing L
you not get my mail?
http://www.phpro.org/sessions.php
--
__
(_ \
_) )
| / / _ ) / _ | / ___) / _ )
| | ( (/ / ( ( | |( (___ ( (/ /
|_| \) \_||_| \) \)
Kevin Waterson
Port Macquarie, Australia
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
sanctioned by php.net?
Kevin
-
__
(_ \
_) )
| / / _ ) / _ | / ___) / _ )
| | ( (/ / ( ( | |( (___ ( (/ /
|_| \____) \_||_| \) \)
Kevin Waterson
Port Macquarie, Australia
--
PHP General Mailing List (http://www.php.net/)
To unsubscri
This one time, at band camp, "John Holmes" <[EMAIL PROTECTED]> wrote:
> Is anyone using SPL iterators out there? Any examples you'd like to share
> that you find useful? Iterating through databases or large files, etc? Just
> curious what people are using this for before I write some stuff mysel
This one time, at band camp, raditha dissanayake <[EMAIL PROTECTED]> wrote:
> I was refering to "is php-general too *general* for advanced php5 users"
> not specifically at php 5.
No, list works just fine as it is with a mix of the new comer and advanced
users. No need to split in any way.
Kev
This one time, at band camp, "Phpu" <[EMAIL PROTECTED]> wrote:
> If i have an array
> $array = array(1, 2, 3, 4, 5, 6, 7)
> How can i display the array element sepparated by (;) like this
> $display = 1;2;3;4;5;6;7
$i=0;
$arraySize = sizeof($array);
while($i < $arraySize){
echo $array[$i];
This one time, at band camp, Mag <[EMAIL PROTECTED]> wrote:
> Hi,
> I am useing file_get_contents on a remote page then
> using stristr() to make sure there are no "bad words"
> and its a family site.
> Right now I am checking for just 3 bad words which
> means 3 stristr() function calls, but if t
This one time, at band camp, Pahlevanzadeh Mohsen <[EMAIL PROTECTED]> wrote:
> Dear members,I get an error,What does mean my error? :
> Fatal error: Maximum execution time of 30 seconds
> exceeded in /var/www/html/votting/vote_implement.php
> on line 8
It means the Maximum execution time of 30 se
This one time, at band camp, "Robert Restad" <[EMAIL PROTECTED]> wrote:
> I am posting, obviously, the 26th message in this thread. (or maybe
> higher).
Look, he knew what he was getting into when he subscribed. There's no
backing out now. I say, make him stick it out!
Kevin
-
"Democr
This one time, at band camp, tedd <[EMAIL PROTECTED]> wrote:
> Easter lands on different dates depending upon several different
> factors. For example in Canada it's the day after it is in the USA --
> I guess Canadians are slower, eh? :-)
>
> Also, in some religions the date is the full-moon
This one time, at band camp, "Alain Roger" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> i have a class and i would like to store it zithin session.
> i was thinking to use serialize/unserialize but it does not work.
http://www.phpro.org/tutorials/Introduction-To-PHP-Sessions.html#8
Kevin
--
PHP Gener
This one time, at band camp, Nick Gasparro <[EMAIL PROTECTED]> wrote:
> The perfect candidate will possess the following skills:
> * Serious OO design background
> * PHP5 (this will be your primary language, though you can learn it on
> the job )
> * Strong database design skills (MyS
This one time, at band camp, tedd <[EMAIL PROTECTED]> wrote:
> In any event, the interviewer asked me how long I've been using MySQL
> and I replied several years. After which she asked a single question,
> which was "What does EXIST mean?"
I only ever use it in rollbacks to check if a table ex
This one time, at band camp, VamVan <[EMAIL PROTECTED]> wrote:
> I was wondering how is it possible for me to query the table to retrieve all
> the records that are one week less than the time stamp?
SELECT DATE_SUB(date_time_column, INTERVAL 1 WEEK) FROM your_table;
http://www.phpro.org/tutoria
This one time, at band camp, Anwarulhaq wrote:
> I am working on MS.net.But now i days i want to work on PHP. I dont know the
> basis of PHP. Can any one guide me how i have to start with PHP and which
> editor i should use. Also the links of useful sites for help in PHP. I shall
> be thankful.
This one time, at band camp, Stephen Alistoun wrote:
> I want all the images to resize to 100px width but the height adjusts
> automatically.
Two ways, GD or Imagick
http://www.phpro.org/examples/GD-Thumbnail-Based-On-Image-Type.html
http://www.phpro.org/tutorials/Imagick.html#4
Kevin
--
This one time, at band camp, DanBarker85 wrote:
>
> Hi
>
> i'm new to RSS Feeds, but how would it be possible to have a BBC News Feed
> added to my website?
>
> I've searched for some kind of tutorial but haven't found anything.
http://www.phpro.org/classes/Rss-Class.html
enjoy
Kevin
--
PH
WRT Frameworks..
before I rant, I should declare myself as an ex-consultant to Zend.
I have used most of the more popular frameworks, and in my current employment
am using Zend Framework.
All of the frameworks I have used, have had some good features, and some
poorly implemented ones. This, I be
This one time, at band camp, "Leon du Plessis" wrote:
> I used that notation before, and it did not work 100%.
> Adapt as follows:
>
> for ($i = 'a'; $i <= 'z'; $i++)
> if ($i == "aa") break; else echo $i;
>
foreach(range('a', 'z') as $letter ) { echo $letter; }
Kevin
--
PHP General
This one time, at band camp, mike wrote:
> On Fri, Jan 16, 2009 at 10:58 AM, mike wrote:
>
> > only if it's parseable xml :)
> >
>
> Or not! Ignore me. Supposedly this can handle HTML too. I'll have to
> try it next time. Normally I wind up having to use tidy to scrub a
> document and try to g
This one time, at band camp, Eric Butera wrote:
>
> You could also use DOM for this.
>
> http://us2.php.net/manual/en/domdocument.getelementsbytagname.php
http://www.phpro.org/examples/Get-Links-With-DOM.html
Kevin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: ht
This one time, at band camp, Al wrote:
> Imagick class. Has more image manipulating functions than you'll ever use.
> You
> name, and there's function to do it.
http://www.phpro.org/examples/Create-Thumbnail-With-GD.html
http://www.phpro.org/examples/GD-Thumbnail-Based-On-Image-Type.html
http
> > Sorry, I am also new to the etiquette of these mail lists.
Hope this will get you started,
http://www.phpro.org/tutorials/Introduction-to-PHP-templating.html
Kevin
http://phpro.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Fri, 2009-01-30 at 18:03 -0600, Shawn McKenzie wrote:
> From what I could tell, this was
> the best RAD, however if you prefer to lay everything out your own way
> and do things your own way then probably CI or Zend.
I use Zend every day in my current employ.
It is like pulling teeth and its f
On Tue, 2009-02-10 at 03:26 +, Jim Douglas wrote:
http://phpro.org/tutorials/Pagination-with-PHP-and-PDO.html
>
>
>
>
> Does anyone have a link to any examples of paging?
Kevin
http://phpro.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
This one time, at band camp, Michael A. Peters wrote:
> Here's the scenario -
>
> Website has some demonstrative images.
>
> I create these images with the gimp - starting with a jpeg, adding a few
> text layers and straight lines.
>
> I then save as xcf in case I ever need to edit.
>
> Then I
On Sat, 2009-05-23 at 23:21 +0100, Nathan Rixham wrote:
> Hi All,
>
> Just a quick one, can anybody recommend any decent templating engines
> other than smarty.
>
> I've got no problem with smarty and it does the job - but if there is
> something newer and lighter out there that I'm missing the
This one time, at band camp, "Haydar TUNA" <[EMAIL PROTECTED]> wrote:
> Hello,
>Firstly, your image table field should be BLOB field then you create
> a image file (for example image.php). in this file, if your application is
> more secure, you can control the session variables. You get
This one time, at band camp, Erik Franzén <[EMAIL PROTECTED]> wrote:
> I can only find http://www.php.net/~helly/php/ext/spl which is nice, but
> for better understanding how to use them I am looking for detailed
> information how to use them. More comprehensive documentation with
> examples...?
This one time, at band camp, "Alain Roger" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I would like to store and retrieve photo from my DB (PostgreSQL).
> However, i do not know how to do it.
Good idea, dont listen to those who give you the "you should'nt store
images in a database" diatribe.
Here is
This one time, at band camp, zerof <[EMAIL PROTECTED]> wrote:
> It is not a good practice to store pictures in DataBases, use links,
> instead of.
Rubbish, where are your benchmarks?
kevin
--
"Democracy is two wolves and a lamb voting on what to have for lunch.
Liberty is a well-armed lamb c
This one time, at band camp, "Alain Roger" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> i stored all my pictures in my PostgreSQL DB as bytea type.
> Now i would like to know how can i display them in my PHP pages ?
Here is a little tutorial on the subject, it uses MySQL and PDO but
you simply need to c
This one time, at band camp, "Richard Lynch" <[EMAIL PROTECTED]> wrote:
> *ALL* of the arguments on this topic, and benchmarks, are in the PHP
> General archives.
I am not concerned with past benchmarks done by others, I am asking what
current benchmarks this user has made to make his claim.
Kevi
This one time, at band camp, "Marco Sottana" <[EMAIL PROTECTED]> wrote:
> which is the best framework ? pear or zend framework?
None of the above...
--
"Democracy is two wolves and a lamb voting on what to have for lunch.
Liberty is a well-armed lamb contesting the vote."
--
PHP General Mail
On Sat, 2009-09-05 at 16:11 +0100, Richard Heyes wrote:
> Hi (again),
>
> > > error_reporting(E_STRICT);
> > ?>
>
> This might work better:
>
>error_reporting(E_ALL | E_STRICT);
> ?>
E_STRICT is now part of E_ALL
Kevin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
This one time, at band camp, "Ramesh.b" <[EMAIL PROTECTED]> wrote:
> Hello,
>
> Any opensource or PHP applicaiton is available for Photo upload tool?.
http://phpro.org/examples/Multiple-file-upload.html
Kevin
--
"Democracy is two wolves and a lamb voting on what to have for lunch.
Liberty i
This one time, at band camp, Al <[EMAIL PROTECTED]> wrote:
The Imagick php extension is at RC2 and like all beta ware,
should not be considered for a production environment.
> Imagick PHP extension, easiest, or Imagemagick command line using exec().
>
> Imagick to read a pdf and output it as a j
This one time, at band camp, "Tony Di Croce" <[EMAIL PROTECTED]> wrote:
> I need to convert (resize, and store as blob's in a mysql db) images my
> users can upload. I'm wondering what the best conversion tool is... I'm
> considering ImageMagick... Is this the best?
>
> Is their anything that is
This one time, at band camp, tedd <[EMAIL PROTECTED]> wrote:
> At 12:17 AM +0200 9/9/07, magoo wrote:
> >Hi NG!
> >
> >Just wanted to see what you think of the strictness of Buxa,
> >according to their PHP guidelines:
> >http://www.buxaprojects.com/en/php_coding_guidelines.htm
> >
> >In their opp
I am using str_replace to strip double quotes.
$string = 'This string has "quotes" in it';
$string = str_replace('"', '', $string);
this seems to work, yet when I put the $string into mysql,
it uses backslashes to escape where the quotes were. The
double-quotes are gone, yet it still escapes the
Did they finally do it or is April fools com early?
http://digg.com/business_finance/Microsoft_Purchase_Yahoo_For_62_Billion
K
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Mon, 2008-03-31 at 17:05 -0700, mike wrote:
> You are pathetic. Spamming your own fake digg article to your own fake
> news story and didn't even take the effort to host it on another
> domain?
BWHAHAHAHHAA
Thanks, nice reaction, made my day,
do you have more?
Kev
--
PHP General Mailing
On Fri, 2008-04-04 at 12:51 +0200, Angelo Zanetti wrote:
> So there will be 2 dropdown lists. First one say gets (for example) a list
> of cars,
>
> Then once the car is choosen the second list is populated with the list of
> models for the car choosen.
Try something like this->
http://phpro.o
On Sun, 2008-04-06 at 11:02 -0400, Mark Weaver wrote:
> So, if I create a user object, set the properties of said user object
> and store that object in the user session will that object be available
> throughout the application from the session?
http://phpro.org/tutorials/Introduction-To-PHP-
This one time, at band camp, [EMAIL PROTECTED] wrote:
> I've been using this one:
>
> http://www.dreamwerx.net/phpforum/?id=1
>
> I developed it in 2001 and it's had implementations into the hundreds of
> gb's so far. I have a ftp interface to it that runs at wire speed
> (100FDX). I initially
This one time, at band camp, Todd Cary <[EMAIL PROTECTED]> wrote:
> Some shared servers do not allow the creation of a file, so I am
> looking for a way to take the results of a query (MySQL), create
> a CSV output and have it in a sendable format for the user
> without creating a file.
sendab
This one time, at band camp, "Jyoti" <[EMAIL PROTECTED]> wrote:
> Hi
>
> Can anyone can tell me what CMS is?
Content Management System
> How can we make it?
A CMS can be quite simple and many use it as a first project for PHP.
I guess this is why many of them are full of holes.
> What are the r
1 - 100 of 198 matches
Mail list logo