There is [max allowed packet] variable in mysql. The default is 1MB in my
config.
May be this is what stops you. Try increasing this value.
On Wednesday 14 September 2005 01:07, [EMAIL PROTECTED] wrote:
> Hi All,
>
>
>
>
>
> I have a simple database with one table with about 6 fields, just
> hol
hi
i m generating a dynamic form (no. of fileds depend upon user selection
from previous page).
On this page user enters values into form fields
and i want to acess them on next page.
///file1.php
On Wednesday 14 September 2005 07:36 pm, Jesús Alain Rodríguez Santos wrote:
> I have a table colum in mysql with two fields: day and month. I
> would like to know if it's possible to make a query where I can
> determine if exist days before to a selected day, for example:
> if I have in my table:
Stephen Leaf wrote:
On Tuesday 13 September 2005 05:52 pm, Ryan A wrote:
[x] I never work with PHP 4 anymore, all my work is with PHP 5
so far I've not found any hosts that do PHP5, however I do all my own hosting
anyway.
I've switched to use PHP5 because I was interested in doing XSL, and
This one time, at band camp, Manuel Lemos <[EMAIL PROTECTED]> wrote:
> The matter is that PDO does not offer real database independence, so
> application developers that want to not have to deal with the important
> aspects that are different among databases will still have to deal them
> in thei
Jasper Bryant-Greene schrieb:
> Oliver Grätz wrote:
>
>>3. Yes. One can abuse exceptions to return something in a constructor.
>> Just another argument against exceptions ;-) OK, it's unorthodox,
>> if you absolutely need to do that, do it and tell nobody *g*.
>
> This is not "abusing" except
I am very close to getting this sorted.Thanks for all the help on
'variable variables' and var_dump. Two useful techniques.
My function works but throws up a cookie problem
if (isset($add)){
${$add} = intval($_COOKIE['cookie'][$add]);
$new= $$add+1;
setcookie("cookie[$add]", "$new $add");
Kevin Waterson wrote:
The matter is that PDO does not offer real database independence, so
application developers that want to not have to deal with the important
aspects that are different among databases will still have to deal them
in their applications making their applications non-portable.
Ok,
As per an earlier post, I am having problems with .htaccess files. I
am trying to set certain php directives using .htaccess files. First
it was complaining about several things such as mcrypt and zde:
Wed Sep 14 20:04:46 2005] [notice] caught SIGTERM, shutting down
PHP Warning: PHP Startu
Manuel Lemos schrieb:
> NEWSFLASH: PDO already exists for PHP 4:
>
> http://www.phpclasses.org/pdo
One can't implement overloading of the Zend Engine 2 in PHP4 so this is
not "the full package". And then, the most important feature of PDO is
that it's NOT WRITTEN IN PHP like any other database a
[snip]
//
now i want to access the values from input fields on next page?
can somebody give me idea how to pass all form field values to next page
in this context??
[/snip]
Look in the $_POST array (which matches the f
Manuel Lemos schrieb:
>>A reference where _I_ have to search is something like a non-answer...
>
> If you try searching the bug database for PHP 4 versus PHP 5 opened bug
> reports you will get your answer.
Same sentence still applies. But OK: PHP4 has 518 open bugs, PHP5 only
203. What does th
On Thu, 2005-09-15 at 08:32, Oliver Grätz wrote:
> Manuel Lemos schrieb:
>
> >>A reference where _I_ have to search is something like a non-answer...
> >
> > If you try searching the bug database for PHP 4 versus PHP 5 opened bug
> > reports you will get your answer.
>
> Same sentence still app
Hallo,
I write one Java class that gives my name back. I implemented the call of
this Java class in php Unit, but there are some problems, because I will to
make only one time the instance of Java class and put it into Session and
everytime when the page is reloaded to load the Java object from th
Hallo,
I write one Java class that gives my name back. I implemented the call of
this Java class in php Unit, but there are some problems, because I will to
make only one time the instance of Java class and put it into Session and
everytime when the page is reloaded to load the Java object from th
"Ben" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Dan Baker wrote:
>> The *main* reason I use $_REQUEST is so I can code up GET and POST pages
>> that all are handled by the same php functions. I may have an item
>> called "Key" that contains what the end-user is expected to b
[EMAIL PROTECTED] wrote:
I have a simple database with one table with about 6 fields, just
holding filenames, filepaths and sizes. Very basic audit for management
here.
Problem is I import a load of records into this table and it
seems to only allow me to put in about 550,000 records.
blackwater dev wrote:
Which means absolutely nothing to me...can someone shed some light on
all this? Why can't I use .htaccess files as this is all driving me a
little batty!
Did you try as someone suggested before, and put bogus content in the
.htaccess file to see if Apache was even read
Hello,
I was wondering if there was way to generate domain statistics by any PHP
script?
I just need some basic info like:
Monthly Traffic( Sites, Kbytes, Visits, Pages, Files, Hits )
Example: http://server18.internetserver.com/stats/1800homecare/
If it is possible can I also create a Log In f
do you have log files? the page you linked to was generated by
webalizer. is there a reason you can't use that (or Awstats, or
something similar)? you probably don't need to reinvent the wheel
here... though you may need to tweak your webserver to put more
information in the log files so yo
I am trying to get a PNG created with GD to output exactly as a
pre-existing PNG file on the server
I have an app that is being very finicky about how it is loading images
:(
Within Quicktime, If I point to the PNG file directly on the server,
it works.
this works:
$image = isset($_GET['ima
hi..
rather than recreate the wheel.. i'm looking for samples of
good/solid/comprehensive validation functions for user/form inputs.
specifically, i'm looking for ways to validate/verify that the user has
entered valid username/email. as i go forth, i'll be looking for
address/zip/phone/etc... as
Hi there!
With that codeline I get... (I have B-one as webhost)
Warning: file_get_contents(): URL file-access is disabled in the server
configuration in /customers/varupiraten.se/varupiraten.se/httpd.www/test.php
on line 2
Warning: file_get_contents(http://php.net): failed to open stream: no
Good day all,
I have a problem for you all..
I have a form that has has the ability to delete a lot of information from
my MySQL database.
I would like to create a bit of security, in case the user hits the button
by accident.
I would like to create an additionnal window that would appear th
- Original Message -
From: "Ben" <[EMAIL PROTECTED]>
Newsgroups: php.general
To: "Gustav Wiberg" <[EMAIL PROTECTED]>
Sent: Wednesday, September 14, 2005 7:35 PM
Subject: Re: [PHP] trying to figure out the best/efficient way to tell who
is logged into a site..
Gustav Wiberg wrote:
Al
Hi there!
Thanx!
/G
- Original Message -
From: "Clive Zagno" <[EMAIL PROTECTED]>
To: "Gustav Wiberg" <[EMAIL PROTECTED]>
Sent: Wednesday, September 14, 2005 1:59 PM
Subject: Re: [PHP] Webservices and PHP?
I presume by web service you mean SOAP and WSDL etc
Have a look at something
[snip]
"Are you sure?" and then a "yes" and "no" buttons to confirm the deletion or
to cancel the command.
Any thougts??
[/snip]
You can use JavaScript for this.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
philippe,
you can accomplish this by using a piece of javascript that fires off an
alert, asking the user 'yes/no'. if the user selected yes, the app would do
a submit to the page that would then take care of the mysql/db
interaction...
search on google for 'php onsubmit alert' etc...
-bruce
-
On 9/14/05, Richard Lynch <[EMAIL PROTECTED]> wrote:
> mssql_* and PHP "know" that the data is supposed to be "integer"
>
> But the largest integer that PHP can store is 0x.
>
> So when PHP tries to accept the "integer" from mssql_fetch_row, it's
> got no room to store it as integer, and
> Good day all,
>
> I have a problem for you all..
> I have a form that has has the ability to delete a lot of information from
> my MySQL database.
>
> I would like to create a bit of security, in case the user hits the button
> by accident.
> I would like to create an additionnal window that wo
This might help you.
function confirmDelete()
{
var agree=confirm("WARNING! This will blah blah delete etc yada yada
\n\rPress Cancel to go back, or OK to Continue.");
if (agree)
return true ;
else
return false ;
}
-Original Message-
From: Murray @ Planet
Hello,
on 09/15/2005 03:11 PM bruce said the following:
rather than recreate the wheel.. i'm looking for samples of
good/solid/comprehensive validation functions for user/form inputs.
specifically, i'm looking for ways to validate/verify that the user has
entered valid username/email. as i go fo
Here's some javascript I use for such instances:
[CODE]
if (myForm.hidWhich.value == "delete")
{
var verify = prompt("You are about to delete this entry \n" +
" \n \n" +
"To delete this entry you must type this phrase in the prompt
and click
2005/9/13, Ryan A <[EMAIL PROTECTED]>:
> Hi,
> I work for a company that makes websites and does custom programming for
> private indviduals and
> companies, I also freelance (like many on this list)
>
> I'm a bit curious, so far I have had no need to upgrade my skills or use the
> slightly differ
On Thu, 2005-09-15 at 16:25, Pooly wrote:
> 2005/9/13, Ryan A <[EMAIL PROTECTED]>:
> > Hi,
> > I work for a company that makes websites and does custom programming for
> > private indviduals and
> > companies, I also freelance (like many on this list)
> >
> > I'm a bit curious, so far I have had n
Hi guys!
Is there any difference in performance in these two ways?
$sql = $sql .
OR
$sql .=
/G
http://www.varupiraten.se/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Pooly schrieb:
> [x] I use a layer above PHP which is independant of whether it's PHP4
> or PHP 5, which is running Migration from 4.x to 5.0.3 was as
> simple as changing a DNS record :-)
> http://templeet.org/
A layer above PHP would mean this thing generates code specific to the
underlying
Gustav Wiberg schrieb:
> Hi guys!
>
> Is there any difference in performance in these two ways?
>
>
> $sql = $sql .
>
> OR
>
> $sql .=
No difference. Even if there was any difference it would be totally
negligible.
AllOLLi
Byers: "What proof do you have?"
Bond: "I got this!"
By
- Original Message -
From: "Oliver Grätz" <[EMAIL PROTECTED]>
To:
Sent: Friday, September 16, 2005 1:34 AM
Subject: [PHP] Re: adding string...
Gustav Wiberg schrieb:
Hi guys!
Is there any difference in performance in these two ways?
$sql = $sql .
OR
$sql .=
No difference. Even
I want to use curl support for php5.0.5 and iis. I installed the downloaded
php binary and tried to configure the it to use curl by modifying php.ini.
But it always came with a message not able to find curl_init(). Is there
anybody out there knowing if we can configure the downloaded php 5.0.5 to
I want to use curl support for php5.0.5 and iis. I installed the downloaded
php binary and tried to configure the it to use curl by modifying php.ini.
But it always came with a message not able to find curl_init(). Is there
anybody out there knowing if we can configure the downloaded php 5.0.5 to
I want to use curl support for php5.0.5 and iis. I installed the downloaded
php binary and tried to configure the it to use curl by modifying php.ini.
But it always came with a message not able to find curl_init(). Is there
anybody out there knowing if we can configure the downloaded php 5.0.5 to
If I read this correctly then your question is in no way JAVA-specific.
You want to instantiate an object (which you suppose to be of large size
and slow in instantiation) and save this object in the session during
page requests.
First of all, any data put in the session array will be serialized
(
43 matches
Mail list logo