Hi !
I'm making a web site which allows user to add his own news, or other data to the page
via the form. The user inputs the data into the and the data is placed into
a
table. The problem is that all the text is placed into a single line !
Is there a html catch to prevent this, or I'll have
NV> Hi !
NV> I'm making a web site which allows user to add his own news, or other data to the
page
NV> via the form. The user inputs the data into the and the data is placed
into a
NV> table. The problem is that all the text is placed into a single line !
NV> Is there a html catch to preven
Hi,
can't you do that with phpMyAdmin. If you dont have that on fatcow, you can
put it your self and then load a database file.
-
volim popit, volim zagalamit
- Original Message -
From: René Fournier <[EMAIL PROTECTED]>
To: Php-General <[EMAIL PROTECTED]>
Sent: 30. listopa
you could try using require(/cgi-bin/folder/program.pl); instead
-
volim popit, volim zagalamit
- Original Message -
From: Gary <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: 30. listopad 2001 04:41
Subject: [PHP] virtual
> What would cause a fatal error using virtual(
Hi !
I'm making a web site which allows user to add his own news, or other data to the page
via the form. The user inputs the data into the and the data is placed into
a
table. The problem is that all the text is placed into a single line !
Is there a html catch to prevent this, or I'll have
How can i send a cookie and specify the server port ?
(i try www.mydomain.com:2000 but don't work)
franck
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail:
unsubscribe [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
Any1 knows about a good class for DB abstraction? I need some scripts to
work with mysql/pgsql.
Thnx
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAI
try http://phpclasses.upperdesign.com
"Alberto" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Any1 knows about a good class for DB abstraction? I need some scripts to
> work with mysql/pgsql.
>
> Thnx
>
>
--
PHP General Mailing List (http://www.php.net/)
Hi & Greetings from http://www.absolutelypsychic.com I hope you are doing well.
Our site has Professional, Ethical, and Accurate Psychics, Astrologers and
Tarot Card readers that have been tested by management to assure
authenticity. Our readers do not promise any false prophesies nor do they
tel
There are a few:
I use and I believe more in Pear. Metabase is huge. PhpLib, simple but
effective. ADODB, nicely done.
--
Julio Nobrega
A hora está chegando:
http://toca.sourceforge.net
"Alberto" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Any1 knows
Isen't there an active ActiveList on ICQ where you can talk/chat about
PHP-programming?
/ReinerICQ: 22245643
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators,
Save the full size images as a file format that will not open automatically
in the browser, such as TIF or BMP, then the image will automatically start
downloading. Though I would't really worry about it, in my experience, most
users seem fairly comfortable with the the old 'save picture as' comm
If the FTP-module (ftp_nlist) is not enabled, how do I get a directorylist
from a remote dir?
/ReinerICQ: 22245643
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list adminis
Ok I am pulling my hair out! Why if I pass error=5 through a query string
like index.htm?error=5 and then echo it, it's correct, but when I do
error=25 it echos 2T and when I do error=500 it echos 5TP? What the heck is
going on here? I pass strings easy enough and I cant remember ever having
th
Hi,
How can I get the error message from sybase_query ?
It sends the message to the browser, but I'd like to treat it.
Obrigado,
André Castanheira
Carioca Engenharia S.A.
+55 21 3891-2200 r; 2325
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For ad
Hi,
Is there a php command to close a window or return to the previous one ?
Obrigado,
André Castanheira
Carioca Engenharia S.A.
+55 21 3891-2200 r; 2325
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTE
Hi all!
Does anyone know how to put a text in other font
than latin ones (Chinese, for example),
on a PHP generated image? Do I need to install
some new fonts? A different freetype library?
Any clue greatly appreciated :)
Daniel BI
--
PHP General Mailing List (http://www.php.net/)
To unsubs
Rene:
This is a pain with FatCow -- I just went through this myself.
The only method I was finally able to use was to "SELECT ... INTO
OUTFILE" for all my tables; manually recreate the tables using their
MySQL tools; then "LOAD DATA INFILE" for each of the outfiles I had
created.
Overall, their
Hi Guys & Gals,
Sorry to re-post this but I'm still stuck and have had no reply.
I receive via HTTP GET a string variable in encoded HEX format, for
example;
script.php?text=%0A%01%00%B1%B2
My problem is that PHP sees the first occurance of %00 as a field
terminator and so anything after it is
hey take it easy men.. it's not you.. it's the encoding.. what's happening
is that "=20" "=25" etc means a special caracther blank space etc.. try
using url_encode() function to pass your parameters.. something like this
would help
$parameters = url_encode("error=25");
index.htm?$parameters
hop
just use url_encode() to encode your parameters and then pass them
It's just like richard basket problem a few emails behind
$parameters = url_encode("error=25");
index.htm?$parameters
Hope this helps
- Original Message -
From: "Andrew Cowles" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED
Hi
Does someone out there know, how I can zip a folder with some files in it?
It should be readable for Winzip.
Enviroment: Win2000 Server.
VB was available if useful.
Additional Components (applications, dll's or whatever) could be loaded if needed.
I didn't find a usable entry in the manual,
just define a width for your table
- Original Message -
From: "Nikola Veber" <[EMAIL PROTECTED]>
To: "php forum" <[EMAIL PROTECTED]>
Sent: Tuesday, October 30, 2001 5:04 PM
Subject: [PHP] table troubles
> Hi !
>
> I'm making a web site which allows user to add his own news, or other dat
window.close()
It's JavaScript.
PHP is a server-side language and cannot affect anything on the browser itself.
PHP cannot:
1. Close a browser window
2. Spawn new windows
3. Produce pop-up boxes
4. Do form verification before the form is submitted
5. Do anything to a pa
Hi Frewuill,
Thanks for the mail.
The parameters are passed from an end user via HTTP GET and on receipt I
use urlencode($parametername) but, the parameter only contains data up to
the 1st occurance of %00 and then ends.
Calling the following code with 'script.php?text=%0A%01%00%B1%B2' would
out
Sorry, stupid question, but how do I load phpMyAdmin onto Fatcow? Won't
that be as time-consuming as recreating all the tables in my database by
hand, using their lame tools? (If there is an easy way, please let me know.
Thanks.)
...Rene
> -Original Message-
> From: Nikola Karoviæ [mai
well then you have to work on client side...doing urlenconde after receive
parameters is useless. So i guess your client (end user) is not using a html
form but sending parameters via HTTP GET as you said..
if you were using a html form you won't have this problem... so if you want
to pass the pa
Thanks Frewuill,
You are a STAR!
Andy
On Tue, 30 Oct 2001, Frewuill Rodriguez wrote:
> well then you have to work on client side...doing urlenconde after receive
> parameters is useless. So i guess your client (end user) is not using a html
> form but sending parameters via HTTP GET as you sai
Hi
I have the above configuration installed along with mySQL, all works fine on
my local machine except for error/warning messages whenever previewing the
page in my browser where I am calling/setting a cookie variable...
Does anyone know if there are any config settings I can change anywher
> I have the above configuration installed along with mySQL, all
> works fine on
> my local machine except for error/warning messages whenever previewing the
> page in my browser where I am calling/setting a cookie variable...
>
A little more info re the error message would be useful.
Make s
Tried that, same result. looks like I am going to have to strip off the
php from that page and change it to shtml
Gary
Nikola karoviæ wrote:
> you could try using require(/cgi-bin/folder/program.pl); instead
> -
> volim popit, volim zagalamit
> - Original Message -
> Fr
check your php.ini and look for /tmp dir and change it for c:\php or
c:\temp or c:\windows\temp or whatever you want
- Original Message -
From: "p.whiter" <[EMAIL PROTECTED]>
To: "PHP - GENERAL" <[EMAIL PROTECTED]>
Sent: Tuesday, October 30, 2001 11:20 AM
Subject: [PHP] Win98 + Apache + P
> > I teach law at a university .. I also run the website here ...
>
> Thankfully Tasmania is not considered part of Australia. :)
>
> *troll bait away*
=but are you trolling for bad lawyer jokes to wind up brendan, or inviting the rest to
take on the Aussies?
=Tasmania advertises itself as
Remember, those functions have return values. Gotta assign the return to a
variable!
$variable = [replacement_function]($args ... );
They don't change the value of the variable in the argument list, they take
that value and put a new value in a new memory space. Unfortunately, they
don't throw
Well, you could use exec(); or system(); to call a command line zipping
application to compress the directory.
--
Julio Nobrega.
Um dia eu chego lá:
http://sourceforge.net/projects/toca
"Stefan Rusterholz" <[EMAIL PROTECTED]> wrote in message
003701c1614b$2ab8cc40$3c01a8c0@quasimodo">news
Use Emacs, I think this is the best IDE.
On Thu, Oct 25, 2001 at 11:10:36PM -0500, Ray Todd Stevens wrote:
> I ahve been using go-live (4.0) to edit pages containing php scripts.
> this is not really working well. Is there a better way or a better editor
> to use for this?
> -
Thanks for the replies, I think it has more to do with configuration
settings than anything else as all the scripts work fine on remote Linux
server, it is just on my win98 set-up the problem occurs..
I am looking in the php.ini, file the only reference to a tmp directory I
can see is for
No, use VIM :) There are PHP highlight rules available for it, look on the
VIM site (www.vim.org)
On Tuesday 30 October 2001 08:43, EDUMEXICO wrote:
> Use Emacs, I think this is the best IDE.
>
> On Thu, Oct 25, 2001 at 11:10:36PM -0500, Ray Todd Stevens wrote:
> > I ahve been using go-live (
Well, I would do that but I don't know such an application.
Please, can you suggest me one?
Stefan Rusterholz, [EMAIL PROTECTED]
- Original Message -
From: "Julio Nobrega" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 30, 2001 4:40 PM
Subject: [PHP] Re: Zipping a fol
> Thanks for the replies, I think it has more to do with configuration
> settings than anything else as all the scripts work fine on remote Linux
> server, it is just on my win98 set-up the problem occurs..
>
> I am looking in the php.ini, file the only reference to a tmp directory I
> c
> Well, I would do that but I don't know such an application.
> Please, can you suggest me one?
>
pkzip of course :)
M:
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administr
Hello folks.
I am yet another person having difficulty with 4.0.6 and GD graphic
support. It has been a while since I have been on this list so I want to
search the archives of this group.
Where are the archives? I remember some archive last year with a black
background.
Thanks.
***
Having successfully uploaded my PHP4+MySQL site finally to Fatcow (and the
MySQL stuff IS there--thanks for the help), I'm now left with making it
actually work online. One curious problem:
For every page in the site ("*.php4"), I include three parts, a header.inc
(common to all), a body.inc (un
http://www.progressive-comp.com/Lists/?l=php3-general&r=1&w=2
M:
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
Hiya
I need to be able to automatically change the format and size of an image
when a user uploads it and using imagemagick's tools seems like the way to
go about it.
Unfortunately the server I'm using is Windows based and it doesn't have
imagemagick installed. I downloaded the Windows imagemag
Well, (things are going pretty good, aren't they ;-))
Oh, old Dos memories coming
Got it, pkzip was the name:
http://www.google.com/search?sourceid=navclient&q=pkzip
--
Julio Nobrega
A hora está chegando:
http://toca.sourceforge.net
"Stefan Rusterholz" <[EMAIL PROTECTED]> wrote
These lines will do what you asked, but I am unsure if they will resolve
your problem (since I don't know Fatcow and how they configured the server).
Anyway, here it is:
header ('Expires: Mon, 26 Jul 1997 05:00:00 GMT');// Date in the past
header ('Last-Modified: ' . gmdate('D, d M Y H:i:s
Hello,
Alberto wrote:
>
> Any1 knows about a good class for DB abstraction? I need some scripts to
> work with mysql/pgsql.
If you are looking for a database abstraction package that lets you
write applications that are absolutely database independent, ie, you
don't need to handle database diff
On Tue, 30 Oct 2001 16:05:42 -, Brian Aitken wrote:
>Hiya
>
>I need to be able to automatically change the format and size of an
>image
>when a user uploads it and using imagemagick's tools seems like the
>way to
>go about it.
>
>Unfortunately the server I'm using is Windows based and it doesn
Ok, it works fine for me, i can redirection, but I don't want the browser to
load another page, I want to IF A THEN RUN A.PHP, IF B THEN RUN B.PHP, I
know i can use include('a.php') or require('a.php') but I'm sure theres a
way to say php parser to run one or another script without "changing URL"
Thanks for the help, but I'm afraid it hasn't solved the caching problem, at
least not with respect to the PHP random function... It's not as if the
entire page get's cached, since there is an SQL query that selects a random
row from a table--and that is random. But the PHP part of it--that is,
Here is my problem once again... =P I am wondering if I should change the
date table to something other than date... maybe something like date_1?
Would doing that resolve my issue, because of the fact that the date
variable in php is function? Thanks in advance...
Jason
/* Form to supply variable
I have a download script on IIS 5 and Php 4.0.6 as cgi:
$filename=PDF_PATH.$codfile.".pdf";
$fp=fopen($filename,"rb");
if ($fp)
{
header("Content-type: application/octet-stream\n" );
header("Content-transfer-encoding: binary\n");
header("Content-length: " . filesize($filename) . "
[EMAIL PROTECTED] (Alberto) wrote:
> Ok, it works fine for me, i can redirection, but I don't want the browser to
> load another page, I want to IF A THEN RUN A.PHP, IF B THEN RUN B.PHP, I
> know i can use include('a.php') or require('a.php') but I'm sure theres a
> way to say php parser to r
On Tuesday, October 30, 2001, at 11:41 AM, Henrik Hansen wrote:
> [EMAIL PROTECTED] (Alberto) wrote:
>
>> Ok, it works fine for me, i can redirection, but I don't want the
>> browser to
>> load another page, I want to IF A THEN RUN A.PHP, IF B THEN RUN
>> B.PHP, I
>> know i can use include('a
Hello,
I have problems compiling libiodbc-3.0.5
I have tried to compile being root and being a normal user and I get the same
error.
I execute
$ ./configure --prefix=/usr/local --exec-prefix=/usr/local
--with-iodbc-inidir=/etc --build=i686
and it works properly (I
Hi,
You should compile --with-iodbc pointing to the odbcsdk directory, not just
the libiodbc file.
The SDK is available at www.iodbc.org.
You will also need your LD_LIBRARY_PATH varible set to include the directory
where libiodbc is.
Best regards,
Andrew Hill
Director of Technology Evangelism
O
I am trying to pass a variable to a popup window, to do a search in a
database, and display an image based on the results... Here is what I have
messed up so far (this is the 1st time I have used php/mysql no
userID/Pswd on local host)
The script that passes the variable (variable does pass
On Tuesday 30 October 2001 10:13 am, turtle wrote:
> $link = mysql_connect('localhost')or die ("Could not connect");
> mysql_select_db('img760')or die ("Could not select database");
> $query = "select ('imglocation','height','width') from img where
> imgname=$getimg";
> $imglocation = 'imglocati
Good day!
I try to wrote Web-interface for DNS. Only simple test version now. I'd like
to listen your comets to make real good and useful thing. mail me you
coments
please
Galkov Vladimir
ICQ 84873967
begin 666 dns.zip
M4$L#!!0``@`(`+)V7BN5U&O5OP(```4%```';6%N+G1X=(U4RV[;,!"\
M"] _[*F)`9
Hi. Is there an array function that deletes an array element (that's not at the
beginning or the end of the array) and return the resultant array? E.g. this is what
I want to do:
$a = array(1, 2, 3, 4, 5);
$b = array_element_delete_function($a, 2);
$b now has 4 elements with the following v
Well, my first comment would be to not send attachments to mailing lists.
--kurt
On Tuesday 30 October 2001 11:40 am, Galkov Vladimir wrote:
> Good day!
>
> I try to wrote Web-interface for DNS. Only simple test version now. I'd
> like to listen your comets to make real good and useful thing.
Just found this in the manual notes
http://www.php.net/manual/en/ref.array.php
To delete an element from an array in an easy way, use
unset($array["element"]);...
Funny those... manuals
M:
> -Original Message-
> From: David Yee [mailto:[EMAIL PROTECTED]]
> Sent: 30 October 2001 19:03
That doesn't seem to do what I want. That would only unset the value for
the element, but the element is still there. E.g.
$a = array(1,2,3,4,5)
unset($a[2]);
$a now = (1, 2, NULL, 4, 5), but I want (1, 2, 3, 4).
David
- Original Message -
From: "Matt Williams" <[EMAIL PROTECTED]>
T
Got it- thanks Philip.
David
- Original Message -
From: "Philip Olson" <[EMAIL PROTECTED]>
To: "David Yee" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, October 30, 2001 11:27 AM
Subject: Re: [PHP] Quick array question
> Check out this post:
>
> http://marc.theaimsgroup.
Well for that example I'm using 0 as the index for the first element of the
array, so deleting element #2 results in 3 being deleted. BTW to correct
myself in the second example I gave I want:
$a = (1,2,4,5) instead of (1,2,3,4).
> $a = array(1,2,3,4,5)
>
> unset($a[2]);
>
> $a now = (1, 2, NUL
.
No reading that section of the manual did me no good. I do not understand
other than I cannot store the results as a variable.
Is there any of what I have done that is usable?
A recommendation for a book that covers this would be helpful... the manual
on this area is way to abbreviated for s
On Tuesday 30 October 2001 11:58 am, turtle wrote:
> No reading that section of the manual did me no good. I do not understand
> other than I cannot store the results as a variable.
yes, you can.
> Is there any of what I have done that is usable?
yes, there is. see below. It's probably not
Hi,
Has anybody a snippet or something to build a treeview with data from a
MySQL table ?
Thanks,
Ing. Gustavo A. Edelstein
Tech. Mgr.
Equiplus Argentina S.A.
__
Visit us On Line at www.equiplus.com
Email addresses:
Operations: [EMAIL PROTECTED]
Consulting: [EM
Check www.zend.com in the code gallery...
On Tue, 30 Oct 2001, Ing. Gustavo Edelstein wrote:
> Hi,
> Has anybody a snippet or something to build a treeview with data from a
> MySQL table ?
> Thanks,
>
> Ing. Gustavo A. Edelstein
> Tech. Mgr.
> Equiplus Argentina S.A.
> __
Good day!
;-) does array sorted like you show in example?
then the shortest way will be:
$a = array_element_delete_function($a, 2);
...
function array_element_delete_function($a, $ind)
{
$a[$ind] = $a[0];
unset($a[0]);
return sort($a);
}
ofcourse if count($a) not criticaly large.
no wait, try require or but not using apsolute path like
require(../../cgi-bin/folder/program.pl); for eg.
-
volim popit, volim zagalamit
- Original Message -
From: Gary <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: 30. listopad 2001 16:30
Subject: Re: [PHP] vi
Hi. I'm new to PHP, and forgive me if I sound ridiculous but I have to ask.
I'll be as clear as possible.
I'm trying to do mail handling in php. I know already about the mail( )
function, but what it does isn't exactly what I need.
I have an html form that posts the contents of it's field to a p
On Tuesday 30 October 2001 01:56 pm, Reggie White wrote:
> Now here's where I'm stuck. When the user is finished previewing the html
> letter, I want two things to happen: When the user submits, I want the page
> itself (with the variable in it) to be emailed to a specified recipient. I
> also wan
Good day!
my fingersrun faster my head ;-) ofcourse... MUST be (not in one string...)
function array_element_delete_function($a, $ind)
{
$a[$ind] = $a[0];
unset($a[0]);
sort($a); //
return $a; //
}
-
Galkov Vladimir
[EMAIL PROTECTED]
ICQ 8487396
--
PHP
Create a template file with the letter text in it and something like
%%variable%% where the variable text would go.
After you've done that, set up your preview page like:
If you set the HIDDEN tags to individual variables as opposed to $contents,
remember that you still need to do
I heard google does follow links with the ?var=value part, others don't.
So some people now work with
page.html/var/value/var2/value2
don't ask me how it works though
-- C.Hayes Droevendaal 35 6708 PB Wageningen the
Not sure if you have seen this, it has been around for a while:
http://www.phpbuilder.com/columns/tim2526.php3
Regards,
Joseph
-Original Message-
From: Andy [mailto:[EMAIL PROTECTED]]
Sent: Saturday, 27 October 2001 3:44 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Searchengine friendly
.
It is starting to make sense. I see the correlation between the manual
example and the code you show. Surprisingly (and equally confusing) the
book I have also uses a while loop with mysql_fetch_array to display a list.
The &getimg variable comes in from the javasript function on the other pa
On Tue, 30 Oct 2001 19:13, Morten Winkler Jørgensen wrote:
> NV> Hi !
>
> NV> I'm making a web site which allows user to add his own news, or
> other data to the page NV> via the form. The user inputs the data into
> the and the data is placed into a NV> table. The problem is
> that all the text
I am having problems with inserting single quote's
into an oracle 8.1.7 database through a form.
When inserting 'its' it works fine.
When inserting 'it's' I get this error:
"OCIParse: ORA-01756: quoted string not properly
terminated in blah..."
So then I try 'it''s' (which works in SQL*Plus) I
Hi All
I configured the php with thelibrary GD, zlib, jpeg and libpng, I hae a
program that generate a image, I can to save this png image but in my
borwser I can't to see this image, the browser send me to save to my hard
disk this image.
I need to show this image in the browser, How can I d
It might just be your browser. I've viewed png's in IE before and it tried
to make me download them instead of displaying them.
Tyler
- Original Message -
From: "Luz Lopez" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, October 31, 2001 12:38 AM
Subject: [PHP] show png in
On Tuesday 30 October 2001 02:53 pm, you wrote:
> It is starting to make sense. I see the correlation between the manual
> example and the code you show. Surprisingly (and equally confusing) the
> book I have also uses a while loop with mysql_fetch_array to display a
> list.
You would use a whi
Hi;
i keep getting an error of: Warning: Supplied argument is not a valid MySQL
result resource in /datascripts/insertdata.php on line 17...
Line 17 is: $row = mysql_fetch_assoc($test);
and here is the rest of it (not all of it though):
for ($p = 1; $p <= 24; $p++) {
$test = mysql_db_query("me
On Wed, 31 Oct 2001 11:01, Kevin Dewsnup wrote:
> I am having problems with inserting single quote's
> into an oracle 8.1.7 database through a form.
>
> When inserting 'its' it works fine.
>
> When inserting 'it's' I get this error:
> "OCIParse: ORA-01756: quoted string not properly
> terminated i
On Wed, 31 Oct 2001 11:08, Luz Lopez wrote:
> Hi All
>
> I configured the php with thelibrary GD, zlib, jpeg and libpng, I hae a
> program that generate a image, I can to save this png image but in my
> borwser I can't to see this image, the browser send me to save to my
> hard disk this image.
>
Hi;
i keep getting an error of: Warning: Supplied argument is not a valid MySQL
result resource in /datascripts/insertdata.php on line 17...
Line 17 is: $row = mysql_fetch_assoc($test);
and here is the rest of it (not all of it though):
for ($p = 1; $p <= 24; $p++) {
$test = mysql_db_query("me
Hi;
i keep getting an error of: Warning: Supplied argument is not a valid MySQL
result resource in /datascripts/insertdata.php on line 17...
Line 17 is: $row = mysql_fetch_assoc($test);
and here is the rest of it (not all of it though):
for ($p = 1; $p <= 24; $p++) {
$test = mysql_db_query("me
On Wed, 31 Oct 2001 11:25, sc wrote:
> Hi;
>
> i keep getting an error of: Warning: Supplied argument is not a valid
> MySQL result resource in /datascripts/insertdata.php on line 17...
>
> Line 17 is: $row = mysql_fetch_assoc($test);
>
> and here is the rest of it (not all of it though):
>
> for
Or the single quotes around the table name in the sql string
> Your query is probably broken - do some error checking after your
> database call with mysql_error() and see what the problem is.
>
> Guess; the table name.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-
Yeah sorry about that, didn't mean to send out 3...
Ok i got it working... thanks for all the replys...
-sc
"David Robley" <[EMAIL PROTECTED]> wrote in message
01103111392904.28397@www">news:01103111392904.28397@www...
> On Wed, 31 Oct 2001 11:25, sc wrote:
> > Hi;
> >
> > i keep getting an er
On Wed, 31 Oct 2001 11:47, Jason Brooke wrote:
> Or the single quotes around the table name in the sql string
>
> > Your query is probably broken - do some error checking after your
> > database call with mysql_error() and see what the problem is.
> >
> > Guess; the table name.
That's what I mean
Hi David, of course, I send of header: header("Content-type: image/png");
But the send me to save the file
Thanks,
Regards,
>From: David Robley <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: "Luz Lopez" <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
>Subject: Re: [PHP] show png in the browser
ok i thought it would be working, but on testing it more it still isn't
going for me i took off the ' ' from the table name and its still coming
up with an error on line 17 with the same error message... the mysql_error()
isn't echoing anything that has gone wrong.. (did before)..
Any ideas?
what type of browser are you using to view this image?
jim
- Original Message -
From: "Luz Lopez" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, October 31, 2001 1:56 AM
Subject: Re: [PHP] show png in the browser
> Hi David, of course, I send of header: header("Content-typ
mysql_error() and mysql_errno() return the value.
$error = mysql_error($dblink);
$errno = mysql_errno($dblink);
or
echo mysql_error($dblink);
echo mysql_errno($dblink);
jim
- Original Message -
From: "sc" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 30, 2001 6:01
mysql_error returns nothing, mysql_errno returns 0
"Jim Lucas" <[EMAIL PROTECTED]> wrote in message
03ad01c161b0$026caee0$[EMAIL PROTECTED]">news:03ad01c161b0$026caee0$[EMAIL PROTECTED]...
> mysql_error() and mysql_errno() return the value.
>
> $error = mysql_error($dblink);
> $errno = mysql_err
For reference:
OS: OpenBSD 2.9
Web Server: Apache1.3.19
PHP Version: 4.0.6
My problem is that date() and all the other time functions return GMT instead
of localtime. system("date") returns the correct localtime. Those functions
used to return localtime since GMT. The problem seems to have s
1 - 100 of 134 matches
Mail list logo