There are often easier solutions due to poor design.
Seen many sites setting the value in cookies, or hidden form elements, etc.
Sites made by people who can't do their jobs in other words :)
Regards,
Peter Hoskin
Dan Harrington wrote:
> Using ImageMagick, ray tracing algorithms, an OCR
Jochem Maas wrote:
> Peter Hoskin wrote:
>> Renzo Clavijo wrote:
>>
>>> hi all..
>>>
>>> I'm gonna be more precise:
>>>
>>> I wrote a form with fields , then i need to
>>> know how
>>> to upload the files to t
esystems are much quicker at seeking.
As I said, images are binary and sql is ascii - does it sound suited to you?
Google, don't argue - many will agree with me.
Regards,
Peter Hoskin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Renzo Clavijo wrote:
> hi all..
>
> I'm gonna be more precise:
>
> I wrote a form with fields , then i need to
> know how
> to upload the files to the MySQL server (postgreSQL wold be
> appreciated). It
> implies: Which field(s) must have the table where I'll save the
> image?. Is
> there an exampl
20 + items which can be
> checkboxes, when submitted do I need to go through each one and add it
> to the datasbase or maybe some kind of loop?.
http://pear.php.net/package/HTML_QuickForm/ may be of use. You could use
a combination of exportValues() and foreach. Its added validation makes
it
hmm, should also see http://www.php.net/sort
Peter Hoskin wrote:
> See explode, http://www.php.net/explode
>
> $var = 'A20,B16,B17C14,C15,D13,D12';
> $array = explode(',',$var);
>
> foreach ($array as $key => $value) {
> echo $value ."\
See explode, http://www.php.net/explode
$var = 'A20,B16,B17C14,C15,D13,D12';
$array = explode(',',$var);
foreach ($array as $key => $value) {
echo $value ."\n";
}
William Stokes wrote:
> Hello,
>
> Any idea how to sort this?
>
> I have a column in DB that contains this kind of data,
> A20,B1
Hi,
I'm trying to produce an sms sending script, however having problems
with curl and storing cookies. The login page works fine, however the
second http request returns a login page rather than authenticated
content. Additionally, in the headers a different cookie value for
JSESSIONID is set.
I
Should not make any difference. Try it instead of posting.
Regards,
Peter Hoskin
Shannon Doyle wrote:
That’s just it,
I am not setting a session cookie.
Just starting a session with the following :-
session_name("XPCSESS");
session_start();
$sessID = session_id();
--
P
I've also had this issue from time to time. Used the following to
destroy it under all circumstances.
if (isset($_COOKIE[session_name()])) {
setcookie(session_name(), '', time()-42000, '/');
}
session_destroy();
Shannon Doyle wrote:
Hi People,
Trying to get a session to destro
Thanks for the duplicate posts.
Perhaps read the error message? Look at line 9 of
/a/www/data/filname/garbled/radio.blog/index.php
The variable is being set incorrectly.
Regards,
Peter Hoskin
Noah wrote:
Hi there,
I just upgraded to apache2.2.0 and reinstalled php4-4.4.2_1 on a FreeBSD
ly this is
an EXAMPLE and not a COMPLETE SOLUTION.
Want a complete solution? $88 AUD/hr.
Want to criticize? look at the for loop, its infinite. $i isn't set, the
first call to it should actually be $i = 0
Regards,
Peter Hoskin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
;
case 1:
$return .= 'One ';
break;
}
}
return $return;
}
Regards,
Peter Hoskin
Do I get a cookie?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
or this is:
AllowOverride All
You should note in a virtual hosting environment, this is typically
disabled.
See http://httpd.apache.org/docs/2.0/mod/core.html#allowoverride
Regards,
Peter Hoskin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Makefile's are not ini files.
ini files have the structure
[section]
variable=value
[section2]
variable2=value2
Makefiles have the structure
variable=value
Benjamin D Adams wrote:
I'm trying to parse a Makefile, (FreeBSD Ports)
I plan on dumping the Makefile vars to a MySQL Database.
Would I
Lack of information means no answer for you.
More to the point, this is a CSS question... not a PHP one. There is a
difference.
The Doctor wrote:
I am trying to modularize a Web Page using one of Dremweaver's CSSes.
It works in Firefox but it falls about in IE.
Is IE at fault or the modular
Site must be down... search google for site:smarty.php.net
Believe me, it does exist.
tedd wrote:
At 5:56 AM +1000 4/4/06, Peter Hoskin wrote:
Nobody else has mentioned it, so I thought I would.
http://smarty.php.net - PHP Templating Engine
And that goes somewhere?
tedd
--
PHP General
Nobody else has mentioned it, so I thought I would.
http://smarty.php.net - PHP Templating Engine
Mace Eliason wrote:
Hi,
This is come thing that I have struggled with now and again. I
usaually us php code to make it work, but was wondering how others
deal with this
I use includes in most
Russell Jones wrote:
Host-Gator has a fantastic, cheap reseller program, although you aren't
sharing space within 1 account.
My real recommendation would be ServerPronto though. $29.95/mo for a
dedicated with 40gig space.
Lovely cogent bandwidth too... you get what you pay for, which in this
cas
on in the script.
Hope that helps!
Regards,
Peter Hoskin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
. "\n";
}
pg_close($connection_result);
exit();
}
}
echo 'took ' . (time() - $time) . ' seconds' . "\n";
?>
IE: you were connecting to the DB too early, at a point where it wasn't
needed.
On another note, my new script that forks uses approx 24mb of memory - a
very nice cut down on its usage :D
Regards,
Peter Hoskin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
wait($status);
continue;
} else {
echo $childcount ." ". posix_getpid() ." ". posix_getppid() ."\n";
exit();
}
}
?>
Each fork seems to be able to see the value of $childcount... so I just
need to create a function to work with a particular row
reach this way would be appreciated
Regards,
Peter Hoskin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Its hosted from 85.13.206.209.reverse.coreix.net - somehow I don't think
this is a google owned site.
Yahoo use PHP and sponsor PHP - yet nobody talks about that :-/
James Benson wrote:
Looks like google are using PHP and oscommerce for their web store:
http://www.google-store.com
Nice to se
24 matches
Mail list logo