php-general Digest 10 Jul 2006 09:49:35 - Issue 4231
Topics (messages 239223 through 239242):
Re: php_mysql.dll
239223 by: João Cândido de Souza Neto
239226 by: Chris
239227 by: João Cândido de Souza Neto
239228 by: Chris
239229 by: João Cândido de
php-general Digest 11 Jul 2006 00:41:07 - Issue 4232
Topics (messages 239243 through 239279):
Re: php_mysql.dll
239243 by: M. Sokolewicz
239279 by: João Cândido de Souza Neto
Re: Software shopping cart
239244 by: Ma Siva Kumar
string problem
239245 by:
João Cândido de Souza Neto wrote:
I add c:\php and c:\php\ext in path but nothing work.
That wasn't the suggestion.
Where is the libmysql.dll file located?
--
Postgresql php tutorials
http://www.designmagick.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
On Monday 10 July 2006 09:31, Peter Lauri wrote:
[snip]
1. Do not store images in a database, it is just a bad idea from a
performance perspective (as has been covered many times heretofore).
[/snip]
Is that really the case? Is this not depending on the application? :) My
application will
It's in c:\php\ext
Chris [EMAIL PROTECTED] escreveu na mensagem
news:[EMAIL PROTECTED]
João Cândido de Souza Neto wrote:
I add c:\php and c:\php\ext in path but nothing work.
That wasn't the suggestion.
Where is the libmysql.dll file located?
--
Postgresql php tutorials
This is an issue with the session not being closed properly on a redirect. IE
seems to be more bothered by this than Firefox, for reasons I don't quite
understand. The solution is to explicitly close the session yourself.
See:
http://www.php.net/manual/en/function.session-start.php#57875
Has anyone successfully compiled/used DBG debugger with OS X and
PHPEclipse ?
I am getting pretty cryptic compile errors as I am not a unix guru.
many thanks to the brighter folks who have been down this road.
I have:
OS X 10.4.7
PHP 5.1.4 www.entropy.ch Release 5 (Universal Binary)
At 11:28 AM -0700 7/10/06, Micky Hulse wrote:
tedd wrote:
Not as I see it. The first definition in the dictionary is seldom the only
correct definition.
Good point...
Not to be contrary, but:
What about when you are speaking in terms of computers, and specifically
images? Seems like if the
At 1:36 PM -0500 7/10/06, Jay Blanchard wrote:
The other day I saw a temporary road construction sign that said Slow
Men Working and it gave me pause
I had the same pause when I read Slow Children Playing. I wondered if this
was due to the fact that over 60 percent of our children are
At 3:38 PM -0400 7/10/06, Dallas Cahker wrote:
Banging my head against a wall with arrays, maybe someone can help me with
the answer.
I have a db query that returns results from 1-100 or more.
I want to put the results into an array and pull them out elsewhere.
I want them to be pulled out in an
tedd wrote:
You make a great points.
As the old lady said, as she kissed the cow To each their own. :-)
Sounds good to me. Like you said, things like this are very interesting.
Nice site btw. I really like the simplicity of the logo, and very cool
idea to make the tree change with the
Hi,
Have any of you used Zend Platform? Did/Do you like it?
I'm trying to evaluate it for my company, and it definitely does the
things I need (Session Clustering and caching) and alot of what I want
(Error management, mass configuration changes), but I was hoping someone
may be able to
At 7:29 PM -0700 7/10/06, Micky Hulse wrote:
tedd wrote:
You make a great points.
As the old lady said, as she kissed the cow To each their own. :-)
Sounds good to me. Like you said, things like this are very interesting.
Nice site btw. I really like the simplicity of the logo, and very cool
Well, if that's the pattern, you can search for '% and return
anything between this and %'; if you can use PCRE try something like
if ( preg_match('/'%(.+?)%'/X', $str, $matches) ) {
echo $matches[1];
}
Now, if the expression can only have: upper-case letters, numbers -,
then use
Hi,
I have not done much Googling yet... thought I would ask here before I
spend a bunch of time searching for some guidance... What would be the
best function set for on-the-fly image manipulation (specifically image
rotation?)
Is it easily done? Possible? Worth the trouble?
Any links
Micky Hulse wrote:
Hi,
I have not done much Googling yet... thought I would ask here before I
spend a bunch of time searching for some guidance... What would be the
best function set for on-the-fly image manipulation (specifically image
rotation?)
Is it easily done? Possible? Worth the
Chris wrote:
It is.
http://www.php.net/image
There's even a function to do the rotations for you
http://www.php.net/manual/en/function.imagerotate.php
OMFG... I am such a schmuck!
:: Bangs head on keyboard ::
JK:Luhey; fdksahuioreufkjL: KHgfuidksja; fkdlsaah; lkhfkldjhsaljk
On Friday 07 July 2006 10:03, Janet Valade wrote:
Actually, it doesn't matter what the indexes are when you use implode.
Implode just puts the values into a string. Here's code that will work.
$field_array = array_keys($fields_form);
$fields = implode(,,$field_array);
$values =
On Mon, 2006-07-10 at 16:59 +1000, Chris wrote:
http://www.php.net/image
There's even a function to do the rotations for you
http://www.php.net/manual/en/function.imagerotate.php
That all depends on what you mean by image rotation. A bunch of folks
define image rotation as displaying a
Chris wrote:
Micky Hulse wrote:
Hi,
I have not done much Googling yet... thought I would ask here before I
spend a bunch of time searching for some guidance... What would be the
best function set for on-the-fly image manipulation (specifically image
rotation?)
Is it easily done?
David Robley wrote:
Chris wrote:
Micky Hulse wrote:
Hi,
I have not done much Googling yet... thought I would ask here before I
spend a bunch of time searching for some guidance... What would be the
best function set for on-the-fly image manipulation (specifically image
rotation?)
Is it
Hi,
Hehe, looks like I did not hit the hay just yet... too much geeking to do!
Chris wrote:
It's always interesting to see so many interpretations of the one thing :)
Yeah, no doubt! I found this on AlistApart:
http://www.alistapart.com/articles/randomizer/
Took me a few mins to figure out
Hey all,
While on the subject of shopping carts, (and i didnt
want to hijack the other thread) can anybody recommend
a shopping cart that sells ( or: to sell) software
rather than material goods?
Something simple, would prefer free (surprising eh?)
but am open to commercial.
Something simple
although not specifically mentioned anywhere, make sure that your
libmysql.dll file is *also* in the PATH of windows. If PHP misses that
lib, it will bail out with the error below aswell.
- tul
Bagus Nugroho wrote:
if windows, you may add php directory to the PATH of Windows [Environment
On Mon July 10 2006 2:59 pm, Ryan A wrote:
Hey all,
While on the subject of shopping carts, (and i didnt
want to hijack the other thread) can anybody recommend
a shopping cart that sells ( or: to sell) software
rather than material goods?
Hi Ryan
OS Commerce does all that you are asking
Hi all ,
I am using PHP 4.3.2 , MYSQL database and Red Hat Entreprise OS.
I have the SQL statement which store in $str variable as shown below :
How to get the '%WS-X5225R%' from $str variable ?
$str = SELECT DISTINCT(tbl_chassis.serial_no),tbl_card.card_model, ;
Bartlomiej Szymanski a écrit :
Hello,
Hi
I have a problem with message delivery via Postfix. I build a network,
using VMware, consisting of three standalone FreeBSD machines.
I named them: FREEBSD1, FREEBSD2 and FREEBSD3.
do you know postfix has also a very good mailing list ?
On each of
/me really need some sleep ...
N F
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[snip]
I have the SQL statement which store in $str variable as shown below
:
How to get the '%WS-X5225R%' from $str variable ?
$str = SELECT DISTINCT(tbl_chassis.serial_no),tbl_card.card_model, ;
tbl_chassis.host_name,tbl_chassis.chasis_model,tbl_chassis.country,;
[snip]
If you actually want to load a different image each time, start with
php.net/rand Perhaps the image names could be integer based, or you
could
oad the image paths into an array and use rand to select based on a
numeric
key. Or you could store the image paths in a mysql database and use
include_path.;C:\php5\pear .;C:\php5\pear
I have PHP5 sure but it is in C:\PHP. I have looked in my ENV and I have
scoured the registry and nothing comes up for php5. So where is it
getting this entry?
:Robert
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Check your include_path in your php.ini file.
-Brad
Robert Hicks wrote:
include_path.;C:\php5\pear.;C:\php5\pear
I have PHP5 sure but it is in C:\PHP. I have looked in my ENV and I
have scoured the registry and nothing comes up for php5. So where is
it getting this entry?
:Robert
I should have mentioned that in my first post. I did check the PHP.INI
file and it is not in there (nor is there a mention of php5 in it).
:Robert
Brad Bonkoski wrote:
Check your include_path in your php.ini file.
-Brad
Robert Hicks wrote:
include_path.;C:\php5\pear.;C:\php5\pear
I found something like this too.
If you set your extension_dir to you´ll see that php will search the
dynamic libraries in c:\php5.
Robert Hicks [EMAIL PROTECTED] escreveu na mensagem
news:[EMAIL PROTECTED]
include_path .;C:\php5\pear .;C:\php5\pear
I have PHP5 sure but it is in C:\PHP. I
On 10 July 2006 14:29, Robert Hicks wrote:
I should have mentioned that in my first post. I did check
the PHP.INI
file and it is not in there (nor is there a mention of php5 in it).
Robert
Brad Bonkoski wrote:
Check your include_path in your php.ini file.
-Brad
Robert Hicks
That all depends on what you mean by image rotation. A bunch of folks
define image rotation as displaying a set of images as a rotating slide
show while others (like Chris) see it as rotating a single image on an
axis (correct definition).
--Paul
Correct definition?
Not as I see it. The first
Well, I had similar problems at a previous job with SourceSafe as I'm having
with CVS. I totally get and understand the concept of these systems, but
they're still overly headachey to use. Maybe I DONT really get them. hah. I
understand mostly how they work and the concept but it seems like
[EMAIL PROTECTED] wrote:
Well, I had similar problems at a previous job with SourceSafe as I'm having
with CVS. I totally get and understand the concept of these systems, but
they're still overly headachey to use. Maybe I DONT really get them. hah. I
understand mostly how they work and
Greetings All,
Please have a look at the following code:
if ($numrows 1)
// the member does not exist
{
include ($adminfolderpath./include/headeradmin.php);
echo pThat email does not exist in the members list./p;
echo pa href='login.php'Please login/a./p;
include
Okay, that is just plain wrong!
Thanks though. :-)
:Robert
João Cândido de Souza Neto wrote:
I found something like this too.
If you set your extension_dir to you´ll see that php will search the
dynamic libraries in c:\php5.
Robert Hicks [EMAIL PROTECTED] escreveu na mensagem
Schalk wrote:
Greetings All,
Please have a look at the following code:
your missing a closing brace some where - by the looks of things
not in the code you sent.
if ($numrows 1)
// the member does not exist
{
include ($adminfolderpath./include/headeradmin.php);
echo pThat email
Thanks everyone.
Jochem Maas wrote:
Schalk wrote:
Greetings All,
Please have a look at the following code:
your missing a closing brace some where - by the looks of things
not in the code you sent.
if ($numrows 1)
// the member does not exist
{
include
At 08:11 AM 7/10/2006, Schalk wrote:
I am getting the following error:* Parse error*: parse error,
unexpected $ in
*/home/httpd/vhosts/demo.bdiverse.com/httpdocs/accessible/processlogin.php*
on line *69
In my code the last line i.e. ? is marked as line 69
I don't see anything wrong with
Greetings All,
Now that the parse error is fixed the login script works fine in FF but
in IE it does not do the redirect. Is there a reason why this code may
not work in IE? Is there a better way to do this?
$_SESSION['email'] = $email;
$_SESSION['memberpassword'] = md5($memberpassword);
Best group member,
I am creating images via GD and want to save them to the database. Right now
I save them to the disk and then save them to the database. Is it possible
to write them directly to the database and skip the middle step where I
temporary write it to the hard disk?
Best
[snip]
I am creating images via GD and want to save them to the database. Right
now
I save them to the disk and then save them to the database. Is it
possible
to write them directly to the database and skip the middle step where I
temporary write it to the hard disk?
[/snip]
1. Do not store
tedd wrote:
Not as I see it. The first definition in the dictionary is seldom the only
correct definition.
Good point...
Not to be contrary, but:
What about when you are speaking in terms of computers, and specifically
images? Seems like if the subject is images on the computer,
rotation
Thanks for the reply - I will definitely look at the link you provided!
I currently did get this working smoothly in pure PHP, but this
obviously creates more overhead and a query is run on the DB everytime a
column is clicked to get the sorted data back. This is for an internal
app. that
[snip]
For example, I was driving down the road the other day, and I saw
temporary road construction sign that said Road Const ahead. Now, my
first thought was Constant as in C++. But, wait, this is not
programing, this is driving, and they must mean Construction.
[/snip]
The other day I saw a
[snip]
Jay Blanchard wrote:
The other day I saw a temporary road construction sign that said Slow
Men Working and it gave me pause
Reminds me of:
Do you come from a land down under?
Where women glow and men plunder?
Can't you hear, can't you hear the thunder?
You better run, you better
Jay Blanchard wrote:
While we are splitting hairs, slideshow would only be applicable if the
images continued to change without page reloading.
LOL, good point! Hehee.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Jay Blanchard wrote:
The other day I saw a temporary road construction sign that said Slow
Men Working and it gave me pause
Reminds me of:
Do you come from a land down under?
Where women glow and men plunder?
Can't you hear, can't you hear the thunder?
You better run, you better take
[snip]
1. Do not store images in a database, it is just a bad idea from a
performance perspective (as has been covered many times heretofore).
[/snip]
Is that really the case? Is this not depending on the application? :) My
application will never grow, and I can easily just change the file
Banging my head against a wall with arrays, maybe someone can help me with
the answer.
I have a db query that returns results from 1-100 or more.
I want to put the results into an array and pull them out elsewhere.
I want them to be pulled out in an orderly and expected fashion.
part of
Peter Lauri wrote:
[snip]
1. Do not store images in a database, it is just a bad idea from a
performance perspective (as has been covered many times heretofore).
[/snip]
Is that really the case? Is this not depending on the application? :) My
application will never grow, and I can easily
Dallas Cahker wrote:
Banging my head against a wall with arrays, maybe someone can help me with
the answer.
I have a db query that returns results from 1-100 or more.
I want to put the results into an array and pull them out elsewhere.
I want them to be pulled out in an orderly and expected
When loading the array you will only ever get the last record returned...
so count($oarray) will always be 1?
Perhaps something like this:
Function
$sql = ...;
$ret = array();
while($row = mysql_feth_array($reault)) {
array_push($ret, $row);
}
return $ret;
then...
$data = function();
$c =
Both work great.
Thanks
On 7/10/06, Brad Bonkoski [EMAIL PROTECTED] wrote:
When loading the array you will only ever get the last record returned...
so count($oarray) will always be 1?
Perhaps something like this:
Function
$sql = ...;
$ret = array();
while($row =
At 1:52 PM -0500 7/10/06, Jay Blanchard wrote:
For sure. Photo Slideshow or just Slideshow makes the most sense to
me.
[/snip]
While we are splitting hairs, slideshow would only be applicable if the
images continued to change without page reloading.
I'll continue to split hairs.
As anyone who
I add c:\php and c:\php\ext in path but nothing work.
I hate Mr. Bill Gates.
M. Sokolewicz [EMAIL PROTECTED] escreveu na mensagem
news:[EMAIL PROTECTED]
although not specifically mentioned anywhere, make sure that your
libmysql.dll file is *also* in the PATH of windows. If PHP misses that
60 matches
Mail list logo