kvigor wrote:
$insert_query = "INSERT INTO contestants (conName, conAddress, conCity,
conState,
conZip, conPhone, schName, schAddress, schCity, schState, schZip, strName,
strCity,
strState) VALUES('$regName', '$regAddress', '$regCity', '$regState',
'$regZip',
'$regPhone', '$sclName', '$sc
Hello,
I'm using phpMyAdmin and I can't get any of my form data into the database.
It returns message: "MySQL returned an empty result set" w/in phpMyAdmin
GUI.
However I get no errors on screen when form info is submitted.
What I have done to solve issue: drop DB and create new.
Review form v
Hi,
Friday, June 1, 2007, 6:16:34 PM, you wrote:
b> May be a stupid question but can I link to images with doscument root
b> $img_url= $_SERVER['DOCUMENT_ROOT'].'/images/holder.gif';
b> echo "";
b> I am certain the path is correct,
b> If not what are my alternatives?
b> R.
You don't need
On 6/2/07, Richard Lynch <[EMAIL PROTECTED]> wrote:
On Fri, June 1, 2007 3:16 am, blueboy wrote:
> May be a stupid question but can I link to images with doscument root
>
> $img_url= $_SERVER['DOCUMENT_ROOT'].'/images/holder.gif';
>
> echo "";
>
> I am certain the path is correct,
>
> If not what
I dunno.
I somehow thought HAVING needed a GROUP BY or somesuch...
Go ask the SQL guys or try it and find out. :-)
I pretty much just dink with the SQL until it works, myself... :-)
On Thu, May 31, 2007 6:03 pm, Daevid Vincent wrote:
> Jumping in late so forgive if I'm mistaken, but can't you j
Seems to me you'd be better off then writing code to handle all of
these, with is_array() doing the walk, and erroring out for Object and
Resource
Actually, an object should get type-casted to a string, and there's
even that nifty thing in PHP 5 where you can control what string it
gets changed to
On Thu, May 31, 2007 9:31 pm, Stut wrote:
> Richard Lynch wrote:
>> On Thu, May 31, 2007 7:26 am, Jared Farrish wrote:
That's what the 'period' is called in British English.
http://google.ca/search?q=define%3Afull+stop
In English syntax "period" and "full stop" are synonymous,
On a busy server, with many many users, it is remotely possible that
your time() call will not be unique, and 2 users will end up
corrupting each others' zip files...
PHP has built-in functions for making temp files with unique names.
Use them.
On Fri, June 1, 2007 2:32 am, Auto-Deppe, C. Haense
On Fri, June 1, 2007 12:30 am, Auto-Deppe, C. Haensel wrote:
> Morning guys,
>
> I have been trying to find an easy to use way to zip an archive on a
> linux
> box running PHP5. Now I've tried the zip-lib.php and others, but they
> always
> throw an error msg But that is not the question.
>
>
$arr is coming out of nowhere, out of clean thin air...
That's the direct cause of the error message.
Your OTHER problem is that blindly shoving all POST data into your
SESSION is almost certainly a Bad Idea...
On Fri, June 1, 2007 2:15 am, Sachin mahajan wrote:
> Can anyone clarify this..
>
>
On Fri, June 1, 2007 3:16 am, blueboy wrote:
> May be a stupid question but can I link to images with doscument root
>
> $img_url= $_SERVER['DOCUMENT_ROOT'].'/images/holder.gif';
>
> echo "";
>
> I am certain the path is correct,
>
> If not what are my alternatives?
You could try if faster than yo
*I* agree, but my agreement don't mean much... :-v
On Fri, June 1, 2007 10:13 am, Samuel Vogel wrote:
> I just tried it with php 5.2.3. Same behavior!
>
> Do you agree that overwriting the value shouldn't be possible with
> ini_set() ?
>
> I will file a bug report!
>
> Richard Lynch schrieb:
>> Fi
Fernando Viadero wrote:
Hello.-
i have some trouble.
i need to convert some string encoded in oem charset to ansi php ;-)
could someone help me!
thanks in advance!
Fernando
BTW - please don't hi-jack someone else's thread, please start your own
--
Jim Lucas
"Some men are
Fernando Viadero wrote:
Hello.-
i have some trouble.
i need to convert some string encoded in oem charset to ansi php ;-)
could someone help me!
thanks in advance!
Fernando
Check out
I see a number of examples on this page that might lead you down the road to
enlightenment,
Fernando Viadero wrote:
Hello.-
i have some trouble.
i need to convert some string encoded in oem charset to ansi php ;-)
could someone help me!
thanks in advance!
Fernando
man what a bad day :(
--
Jim Lucas
"Some men are born to greatness, some achieve greatness,
Fernando Viadero wrote:
Hello.-
i have some trouble.
i need to convert some string encoded in oem charset to ansi php ;-)
could someone help me!
thanks in advance!
Fernando
http://us2.php.net/manual/en/function.iconv.php
--
Jim Lucas
"Some men are born to greatness, some
Fernando Viadero wrote:
Hello.-
i have some trouble.
i need to convert some string encoded in oem charset to ansi php ;-)
could someone help me!
thanks in advance!
Fernando
sorry, finger stuck on CTRL key :)
Here is the link
--
Jim Lucas
"Some men are born to greatness
Hello.-
i have some trouble.
i need to convert some string encoded in oem charset to ansi php ;-)
could someone help me!
thanks in advance!
Fernando
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Fri, Jun 01, 2007 at 03:01:48PM -0400, Al wrote:
> I gotcha now. I misspoke about writing a tokenizer function, I understood
> that it would be a script.
>
> That's for the suggestion. Though, I was hoping to avoid reinventing
> something that already exists.
There is another alternative.
I gotcha now. I misspoke about writing a tokenizer function, I understood that
it would be a script.
That's for the suggestion. Though, I was hoping to avoid reinventing something
that already exists.
Robert Cummings wrote:
On Fri, 2007-06-01 at 14:40 -0400, Al wrote:
I appreciate the resp
On Fri, 2007-06-01 at 14:40 -0400, Al wrote:
> I appreciate the response and looked at the tokenizer doc; but, I'm missing
> your
> point. Are you implying I should write a Tokenizer Function to do the job?
Nope, tokenizer function already exists. I'm suggesting it wouldn't be
too hard to write
I appreciate the response and looked at the tokenizer doc; but, I'm missing your
point. Are you implying I should write a Tokenizer Function to do the job?
Al.
Robert Cummings wrote:
On Fri, 2007-06-01 at 14:15 -0400, Al wrote:
Does anyone have a utility or technique to find orphan f
On Fri, 2007-06-01 at 14:15 -0400, Al wrote:
> Does anyone have a utility or technique to find orphan functions?
>
> I keep my functions together in an include file and occasionally create
> orphans
> when I change the main code stream so that they are no longer used.
>
> It would be nice to b
Does anyone have a utility or technique to find orphan functions?
I keep my functions together in an include file and occasionally create orphans
when I change the main code stream so that they are no longer used.
It would be nice to be able parse all the functions in an include file to make
c
Apparently renameNode is not yet implemented into Dom, so how can I
rename a node without affecting its value and/or child nodes?
I have tried making a new node, inserting it before the old node then
removing the old node but I could not figure out how to get the
nodeValue to include the child
I don't think it should be allowed.
A comment from the ini_set page [1]:
"If you set something using php_admin_value in httpd.conf it is then
not possible to be set the value at runtime, even if it's NOT
PHP_INI_SYSTEM. "
So, I guess it must be a bug.
Tijnema
[1] http://www.php.net/manual/en/
Richard Lynch wrote:
>
> On Wed, May 30, 2007 3:59 am, blueboy wrote:
>> Hi,
>>
>> I have a checkbox array (about 20 lines)
>>
>> input name=\"box\" type=\"checkbox\" value=\"$id\">
>> input name=\"box\" type=\"checkbox\" value=\"$id\">
>> input name=\"box\" type=\"checkbox\" value=\"$id\">
>>
>>
Tijnema wrote:
On 6/1/07, Jim Lucas <[EMAIL PROTECTED]> wrote:
Tijnema wrote:
> On 6/1/07, Jim Lucas <[EMAIL PROTECTED]> wrote:
>> Auto-Deppe, C. Haensel wrote:
>> > Hi guys,
>> >
>> > thanks to Jim, I made it :o) Here's the source I'm using for testing
>> > now... it works. I just need to make
On 6/1/07, Samuel Vogel <[EMAIL PROTECTED]> wrote:
I just tried it with php 5.2.3. Same behavior!
Do you agree that overwriting the value shouldn't be possible with
ini_set() ?
I will file a bug report!
I don't think it should be allowed.
A comment from the ini_set page [1]:
"If you set somet
On 6/1/07, Jim Lucas <[EMAIL PROTECTED]> wrote:
Tijnema wrote:
> On 6/1/07, Jim Lucas <[EMAIL PROTECTED]> wrote:
>> Auto-Deppe, C. Haensel wrote:
>> > Hi guys,
>> >
>> > thanks to Jim, I made it :o) Here's the source I'm using for testing
>> > now... it works. I just need to make it less vulnerab
Tijnema wrote:
On 6/1/07, Jim Lucas <[EMAIL PROTECTED]> wrote:
Auto-Deppe, C. Haensel wrote:
> Hi guys,
>
> thanks to Jim, I made it :o) Here's the source I'm using for testing
> now... it works. I just need to make it less vulnerable ;o)
>
> - SNIP -
> $nr = $_GET['nr'];
> if(eregi(".
On 6/1/07, Jim Lucas <[EMAIL PROTECTED]> wrote:
Auto-Deppe, C. Haensel wrote:
> Hi guys,
>
> thanks to Jim, I made it :o) Here's the source I'm using for testing
> now... it works. I just need to make it less vulnerable ;o)
>
> - SNIP -
> $nr = $_GET['nr'];
> if(eregi("../", $nr)) {
> d
I just tried it with php 5.2.3. Same behavior!
Do you agree that overwriting the value shouldn't be possible with
ini_set() ?
I will file a bug report!
Richard Lynch schrieb:
File a bug report then, and see what happens...
But you may want to test with most recent versions if you are not
al
Auto-Deppe, C. Haensel wrote:
Hi guys,
thanks to Jim, I made it :o) Here's the source I'm using for testing
now... it works. I just need to make it less vulnerable ;o)
- SNIP -
header('Content-Disposition: attachment;
filename="Auto-Deppe-'.$now.'_Download.zip"');
exec("zip ".$now."
blueboy escreveu:
May be a stupid question but can I link to images with doscument root
$img_url= $_SERVER['DOCUMENT_ROOT'].'/images/holder.gif';
echo "";
I am certain the path is correct,
If not what are my alternatives?
R.
--
I think the best solution is to set the image pat
clive wrote:
Angelo Zanetti wrote:
Dear all
We need to develop a system where we can upload really big files. IE
15 - 25 Mb.
I know its not a php answer, but if you have ever uploaded a file with
facebook then you will have seen the little applet they push down to
your browser, perhaps i
Angelo Zanetti wrote:
Dear all
We need to develop a system where we can upload really big files. IE 15
- 25 Mb.
I know its not a php answer, but if you have ever uploaded a file with
facebook then you will have seen the little applet they push down to
your browser, perhaps investigating som
On May 31, 2007, at 5:43 PM, Richard Lynch wrote:
On Thu, May 31, 2007 2:25 pm, Jason Pruim wrote:
Hi Everyone, I am attempting to setup a search field on a database
application I'm dinking around with and running into problems that
I'm hoping someone might be able to shed some light on.
He
blueboy wrote:
May be a stupid question but can I link to images with doscument root
there are no stupid questions, only stupid answers.
$img_url= $_SERVER['DOCUMENT_ROOT'].'/images/holder.gif';
no you cant;
do this in a script on your server:
echo "";
print_r($_SERVER);
and have look at
Hi,
You cannot use document_root to get the paths for images. You can write a
function to get the images url in your application.
function imageServer()
{
return "/images/";
}
--
Shafiq Rehman (ZCE)
http://www.phpgurru.com | http://shafiq.pk
Cell: +92 300 423 9385
On 6/1/07, Chris <[EMA
blueboy wrote:
May be a stupid question but can I link to images with doscument root
$img_url= $_SERVER['DOCUMENT_ROOT'].'/images/holder.gif';
echo "";
An image source is the URL to that image.
The server document root is the local location of that file (eg
/home/user/file.gif) - which is n
May be a stupid question but can I link to images with doscument root
$img_url= $_SERVER['DOCUMENT_ROOT'].'/images/holder.gif';
echo "";
I am certain the path is correct,
If not what are my alternatives?
R.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www
Hi guys,
thanks to Jim, I made it :o) Here's the source I'm using for testing now...
it works. I just need to make it less vulnerable ;o)
- SNIP -
header('Content-Disposition: attachment;
filename="Auto-Deppe-'.$now.'_Download.zip"');
exec("zip ".$now."_archive.zip temp/* 2>&1", $out
On 6/1/07, Chris <[EMAIL PROTECTED]> wrote:
Auto-Deppe, C. Haensel wrote:
> Morning guys,
>
> I have been trying to find an easy to use way to zip an archive on a linux
> box running PHP5. Now I've tried the zip-lib.php and others, but they
> always
> throw an error msg But that is not the qu
Can anyone clarify this..
First Name:
Last Name:
Regards,
Sachin
([EMAIL PROTECTED])
45 matches
Mail list logo