while($result = mysql_fetch_array($query))
{
$DateAdvertised=$row["DateAdvertised"];
does that help any o would you like all the code...?
--
-
Michael Mason
Arras People
www.arraspeople.co.uk
-
"Comex" <[EMAIL PROTECTED]> wr
Following the query I have this:
wrote in message
news:[EMAIL PROTECTED]
> Hi all.
>
> Having a problem echoing a broken date. Here's where I'm at:
>
> $DateAdvertisedBroken = explode("-", $DateAdvertised);
>
> later, in a table, I use:
>
> $result[DateAdvertised]
>
> How can I change this so I c
On Wed, 1 Sep 2004 16:51, Harlequin wrote:
> Following the query I have this:
>
> {
> $DateAdvertised=$row["DateAdvertised"];
> $DateAdvertisedBroken = explode("-", $DateAdvertised);
>
> Then a little while later this:
>
> $DateAdvertisedBroken[2]-$DateAdvertisedBroken[1]-$D
thanks ...
and I'm sorry for all of the dummy question .. I'm really new at this
thanks again
Dre,
"Jason Wong" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Wednesday 01 September 2004 05:18, Dre wrote:
> > may I ask why is it inefficient ??
>
> Yes.
>
> Also you can goggle ar
I am agree with Catalin about "no property is created", that __set() and
__get() create "virtual" property.
But, for the programmer, property which was set whith __set() and
__get() ARE REAL, and must be use as real property.
Conclusion : if php provide __set() and __get() to simulate object
p
>
> > Following the query I have this:
> >
> > > {
> > $DateAdvertised=$row["DateAdvertised"];
> > $DateAdvertisedBroken = explode("-",
> $DateAdvertised);
> >
This should be like this
http://www.zasaifi.com
__
Greetings,
I'm using PHP v4.3.7 on my Windows 2000 Server machine with IIS 4.0 as web
server. When I tried to test a simple client server app (server.php and
client.php - attached), I get the warning message below: -
Warning message
===
listenfd heard something, setting up new client
Hi
All,
Can someone elaborate on How to Select multiples tables of different
database in one query, perticularly when using php as scripting
language.
Regards
TM
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Not difficult :
database db1
database db2
database db3
select db1.table3.column2, db2.table5.column1, db3.table1.column7 FROM
db1.table3, db2.table5, db3.table1;
You can use alias in FROM on table like this :
select alias1.column2, alias2.column1, alias3.column7 FROM db1.table3 AS
alias1, db2.ta
Warning 2 : it is a mysql example. Whith other DBM, i don't know how to
do that, but i think that its exactly the same thing.
PHP version : mysql_query($query).
Fred.
Tariq Murtaza wrote:
*Hi All,*
Can someone elaborate on How to Select multiples tables of different
database in one query, pertic
Hello,
I'm using PHP to export images from database blob field. Now, I need
to export all images and write them to server. How can I write image
(as .jpg) after I selected it from blob field.
TNX
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.p
On Wednesday 01 September 2004 18:56, Khan wrote:
> I'm using PHP to export images from database blob field. Now, I need
> to export all images and write them to server. How can I write image
> (as .jpg) after I selected it from blob field.
imagecreatefromstring()
imagejpeg()
--
Jason Wong
Hi everyone,
if you check this page:
http://www.chorlton.co.uk/links/add_url.php?c=20&title=testing123
(not my site)
you'll notice that the form has no value="" attributes on the input
fields. Is there some way in php, js or framing that I might be able to
produce a filled out form ready for su
[snip]
if you check this page:
http://www.chorlton.co.uk/links/add_url.php?c=20&title=testing123
(not my site)
you'll notice that the form has no value="" attributes on the input
fields. Is there some way in php, js or framing that I might be able to
produce a filled out form ready for submission
From: "Adrian Teasdale" <[EMAIL PROTECTED]>
We have a text file that is 2.2gb in size that we are trying to parse
using PHP to put the content into a mysql database. This file contains
40 million individual lines of data. Basically PHP isn't parsing it.
Any suggestions of how we could do this?
Don
Ave,
Which page do you give this code in?
For example, I have a page admin.php Therein is the link on which, when
a user clicks, a window "admin_dl.php" opens. The "admin_dl.php" contains my
force-download code and it is that window that I'm trying to close.
If I specify this following code
From: "PHP Junkie" <[EMAIL PROTECTED]>
Which page do you give this code in?
For example, I have a page admin.php Therein is the link on which,
when
a user clicks, a window "admin_dl.php" opens. The "admin_dl.php" contains
my
force-download code and it is that window that I'm trying to close.
Ave,
Oh My Gosh! You did it!! Gosh! I can't believe you solved it.
And well, I don't know when this was "explained" to everyone but if you
actually search the internet and try and lookup what I was trying to do,
you'll find, as I found, a lot, and I mean a "LOT" of people with the exact
same probl
From: "PHP Junkie" <[EMAIL PROTECTED]>
But anyhow, thanks a ton, I needed this real bad and now that I got it I
feel stupid that I didn't make this sense myself. But then again, once in
a
while you need a hit on the head with a mallet just like this.
Well, someone did say the same thing as I did s
TNX!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
We have a wierd problem that we can't seem to figure out, maybe it's something you
guys can help out with or have seen before.
HTML pages generated with php are displayed correctly in all browsers, but when you
try to view the source of the html page in IE, the default source code viewer never
Clue?..not...but it've seen this problem.This may be another bug in IE
this is what I do...(remember it happens to me only in little scripts):
and look your phperror.log
On Wed, 1 Sep 2004 08:36:18 -0500, Brent Clements
<[EMAIL PROTECTED]> wrote:
> We have a wierd problem that we can't seem to
Yeah, IE bugs... Clear your cache, if that doesn't work, go into the file
system, and manually delete the cache files. That'll fix it, for a while.
-Dan Joseph
> -Original Message-
> From: Brent Clements [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 01, 2004 9:36 AM
> To: [EMAI
We are currently experiencing issues with HTTP streams within PHP scripts. The
following will present sample code that produces the error, error messages, and system
information.
Code that produces errors:
http://somewebhost.domain.gTLD/index.html";, "r");
$httpfile = file_get_contents("http://
Let me add: Clear your cache, delete cached files, reboot, reinstall
ie, format your hard disk
On Wed, 1 Sep 2004 09:50:23 -0400, Dan Joseph <[EMAIL PROTECTED]> wrote:
> Yeah, IE bugs... Clear your cache, if that doesn't work, go into the file
> system, and manually delete the cache files. T
From: "Tim Wolgemuth" <[EMAIL PROTECTED]>
Code that produces errors:
fopen("http://somewebhost.domain.gTLD/index.html";, "r");
$httpfile =
file_get_contents("http://somewebhost.domain.gTLD/index.html";);
include 'http://somewebhost.domain.gTLD/index.html';
?>
Errors:
Warning: fopen(http://somew
That's what I thought because it works fine in other browsers.
-Brent
- Original Message -
From: "Dan Joseph" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 01, 2004 8:50 AM
Subject: RE: [PHP] Html pages generated with php can't be viewed as source
in IE
> Yeah,
* and then Jay Blanchard declared
> [snip]
> if you check this page:
> http://www.chorlton.co.uk/links/add_url.php?c=20&title=testing123
> (not my site)
>
> you'll notice that the form has no value="" attributes on the input
> fields. Is there some way in php, js or framing that I might be a
I'm having a problem with PHP 4.3.8 failing to 'make' on a RedHat
Enterprise Linux ES v.3 machine. Here's the make error:
-o libphp4.la
ext/pcre/pcrelib/maketables.lo: file not recognized: File truncated
collect2: ld returned 1 exit status
make: *** [libphp4.la] Error 1
When I use '--without-pcre
Hello,
how can i connect php with an access db. I need to do it without use ODBC.
Thanks,
Juan Torres.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I tried your command:
telnet localhost 25
to see if my SMTP server was up. Obviously it is not, because this is the
response I received.
Connecting to localhost...could not open connection to host on port 25. No
connection could be made because the target machine actively refused it.
So how
Juan Torres wrote:
how can i connect php with an access db. I need to do it without use ODBC.
Try using COM: http://us4.php.net/com
It works similar to the way it does in ASP.
--
Regards,
Ben Ramsey
http://benramsey.com
---
http://www.phpcommunity.org
We do have "allow_url_fopen" set to be on. I can not find any docs. on
"allow_burl_fopen". Was that a typo or where can I find info for that
variable?
PHP is working fine if we do the includes like this:
include '/somepath/somefile.php';
The URL that we are trying to get to is on the same box.
--- Begin Message ---
Are you referring to this post:
you just want to see if mail() works try it.
if(mail(...)) echo 'yay!';
else echo 'boo!';
?>
Or this post?
Your SMTP server is the thing that actually transmits the email. On a
Windows XP box like you're using, set the SMTP server to be t
Hi,
up until now, when outputing XML I've been constructing the output as a continous
string-soup in such ways like
[...]
$xml .= printf('%s', makeXmlSave($name),
makexmlSave($contentOfItem));
[...]
makeXmlSave() makes sure that quotes, ampersand, < and > are properly escaped with
their entity r
LOL... Formatting my drive didn't help, it came back eventually. :) This
has been an issue since IE 4.0. Go Microsoft!
-Dan Joseph
> -Original Message-
> From: Pablo Rivas [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 01, 2004 10:04 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [P
I did some research and found out that my ISP's SMTP server is
smtp.comcast.net.
If I configure my mail functions to connect to this should my script be able
to send e-mails?
Research and Experimentation (yes, I did some!):
I tried connecting to it using this telnet command:
telnet smtp.comca
From: <[EMAIL PROTECTED]>
So how do I get my SMTP server working? How do I stop the target machine
(my
computer I assume) from refusing the connection? Oh, and if I do fix this,
it
should make my e-mailing stuff work right?
Offtopic for a PHP list and depends on what kind of SMTP server you're
r
From: "Tim Wolgemuth" <[EMAIL PROTECTED]>
We do have "allow_url_fopen" set to be on. I can not find any docs. on
"allow_burl_fopen". Was that a typo or where can I find info for that
variable?
sorry, that was a typo. Apparently my spell checker thinks "burl" is a
better word than "url". :)
PH
This is the way that the customer waits to do it. Here is the sample
code that is being included:
print "this is a test2";
?>
Tim
John Holmes wrote:
From: "Tim Wolgemuth" <[EMAIL PROTECTED]>
We do have "allow_url_fopen" set to be on. I can not find any docs.
on "allow_burl_fopen". Was that a
Hello,
You can find some rpms here :
http://www.filesearching.com/cgi-bin/s?q=php5+5.0.1+rpm&t=f&d=&l=en
They are for Mandrakelinux. I think you can try to rebuild them from src
(rpm --rebuild ...).
Krzysztof Gorzelak
>
> Hello all,
>
> Is there any RMP package for PHP 5.0.1 available?
> (Our
I need a php server side image map script. Or rather a script that
will examine x,y coords and determine if they could fall within any of a
number of area polygon or rect tags.
Any help much appreciated.
---
[EMAIL PROTECTED] Ben T
From: <[EMAIL PROTECTED]>
Did it work? So if I put smtp.comcast.net in php.ini should my e-mail
script
work?
I don't know about you, but my magic-php-8-ball says "Yes!"
http://www.amazon.com/exec/obidos/ASIN/B1ZWV7/indrasnet/002-7362067-2944804
Make sure you restart your webserver after the ph
This has something to do with this:
http://support.microsoft.com/default.aspx?scid=kb;en-us;316431
When you are programming, you do a lot of "view source", and I imagine
you are using "pragma-nocache", or "expires..." so, IE don't care for
the "source" of the page you are asking.
And sometimes yo
On Wednesday 01 September 2004 22:50, [EMAIL PROTECTED] wrote:
> I did some research and found out that my ISP's SMTP server is
> smtp.comcast.net.
That's what we like to see.
> If I configure my mail functions to connect to this should my script be
> able to send e-mails?
>
> Research and Experi
"Markus Fischer" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> up until now, when outputing XML I've been constructing the output as a
continous string-soup in such ways like
>
> [...]
> $xml .= printf('%s', makeXmlSave($name),
makexmlSave($contentOfItem));
> [...]
>
> makeX
Problem resolved.
I set my SMTP server in php.ini to my ISP's SMTP server, smtp.comcast.net,
and now everything works.
Thanks everyone who helped me with this even though it is sort of off-topic.
-Andrew
From: "Tim Wolgemuth" <[EMAIL PROTECTED]>
This is the way that the customer waits to do it. Here is the sample code
that is being included:
print "this is a test2";
?>
Well tell the customer he's wrong! ;)
Seriously... what if you try something like
include('http://www.google.com'), does that
Holla friends,
I have a code which separates phpBB forums, but
run into problems because of cookies when
*switching between forums*. Should I get rid of
cookies entirely (I am rewriting entire code to
passing $forum variable) or something may be done
(still I am learning php :)
Code below:
if ($
Markus Fischer wrote:
Hi,
up until now, when outputing XML I've been constructing the output as a
continous string-soup in such ways like
[...]
$xml .= printf('%s', makeXmlSave($name),
makexmlSave($contentOfItem));
[...]
makeXmlSave() makes sure that quotes, ampersand, < and > are properly
esc
* Thus wrote Ben Ramsey:
> I'm having a problem with PHP 4.3.8 failing to 'make' on a RedHat
> Enterprise Linux ES v.3 machine. Here's the make error:
>
> -o libphp4.la
> ext/pcre/pcrelib/maketables.lo: file not recognized: File truncated
> collect2: ld returned 1 exit status
> make: *** [libphp4
I'm developing a web-based framework ("the application") and would like to
implement an ncurses-based realtime monitoring facility ("the console").
The application currently writes events to a database history table, but I
don't think having a console that constantly requeries that table would be
Still having the same problem with PCRE. Here's the error I get now:
-c /usr/src/php/php_4_3_8/ext/pcre/php_pcre.c -o ext/pcre/php_pcre.lo
/usr/src/php/php_4_3_8/ext/pcre/php_pcre.c: In function `php_pcre_match':
/usr/src/php/php_4_3_8/ext/pcre/php_pcre.c:413: `PCRE_INFO_NAMECOUNT'
undeclared (fir
omg. what a bad phishing attempt. perhapse someone should try to php
or sql inject the phishing site ;)
On Tue, 31 Aug 2004 19:45:24 -0400, Paypal Services <[EMAIL PROTECTED]> wrote:
> Sign Up | Log In | Help
>
> Dear PayPal Customer
>
> This e-mail is the notification of recent innovations tak
I need some help...I am helping a local business with a site which
needs to connect to a mssql db, my webhost uses linux and compiled php
with the freetds library and when I go to the info page..it does show
Microsoft SQL Server under dbx yet I still get the errors "called to
undefined function mss
From: "Btew" <[EMAIL PROTECTED]>
I need a php server side image map script. Or rather a script that
will examine x,y coords and determine if they could fall within any of a
number of area polygon or rect tags.
Then you'll have $_REQUEST['myimage_x'] and $_REQUEST['myimage_y'] as the
coordinates
If freetds has been compiled and installed in the default location for
it (/usr/local), then php needs to be configured --with-mssql=/usr/local
Blackwater Dev wrote:
I need some help...I am helping a local business with a site which
needs to connect to a mssql db, my webhost uses linux and compil
That still makes no sense..
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Catalin Trifu wrote:
Hi,
Is this really a bug. I think not.
There is no variable $o->a or $a->b in the class OO
there is only the variable $elem and $a and $b is a member
of that array
So ...
The fact that PHP5 provides __set and __get magic
functions does not mean that the
Me again with same thing.
I added to
.htaccess php_flag register_globals off
but it still doesn't work.
When I list phpinfo() it shows me Master value for register_global: On
On my local computer (localhost) it shows me Off.
I need it to be Off.
I tryed with:
php_value register_globals 0
doesn't
All right, so I did something smart for a change...
I went to ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/ and
grabbed pcre 4.5 and installed it. My distro has the RPMs for pcre 3.9
installed, so I don't know what the problem was, but I configured PHP
--with-pcre-regex=/usr/local after
The Master value will remain On since it's On in php.ini and the Local
value (the value for the directory in which phpinfo() is run) will be
Off since that directory has an .htaccess file turning register_globals Off.
If you want to affect all of your sites, change the setting in php.ini
or in
Actually, I think I read your message wrong... it should be:
php_flag register_globals Off
Ben Ramsey wrote:
The Master value will remain On since it's On in php.ini and the Local
value (the value for the directory in which phpinfo() is run) will be
Off since that directory has an .htaccess file
Hi,
You should compile php with this option --with-mssql or
--with-mssql=/path/to/freetds.
This will enable the mssql extension. Enabling the DBX extension is not
enough. DBX is just a wrapper arround other extensions. You still need to
compile each of these extensions.
- Frank
> I need some h
blackwater dev wrote:
I need some help...I am helping a local business with a site which
needs to connect to a mssql db, my webhost uses linux and compiled php
with the freetds library and when I go to the info page..it does show
Microsoft SQL Server under dbx yet I still get the errors "called to
-- Original message from blackwater dev : --
> I need some help...I am helping a local business with a site which
> needs to connect to a mssql db, my webhost uses linux and compiled php
> with the freetds library and when I go to the info page..it does show
> Microsoft
From: "blackwater dev" <[EMAIL PROTECTED]>
I need some help...I am helping a local business with a site which
needs to connect to a mssql db, my webhost uses linux and compiled php
with the freetds library and when I go to the info page..it does show
Microsoft SQL Server under dbx yet I still get t
Hmm, I do see the MS SQL listed under DBX, but I don't see the --with=mssql
in the configure line. Only psql and mysql. Does that need to be in there
also?
-Dan Joseph
> -Original Message-
> From: blackwater dev [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 01, 2004 1:19 PM
> T
How do I get an xml tag to work with a php script?
php is trying to parse that.
-Josh
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Wed, 2004-09-01 at 12:37, Afan Pasalic wrote:
> Me again with same thing.
> I added to
> .htaccess php_flag register_globals off
> but it still doesn't work.
> When I list phpinfo() it shows me Master value for register_global: On
> On my local computer (localhost) it shows me Off.
> I need it
- Original Message -
From: "jarell" <[EMAIL PROTECTED]>
To: "John Holmes" <[EMAIL PROTECTED]>
Sent: Wednesday, September 01, 2004 2:05 PM
Subject: Re: [PHP] stream wrappers
Does the stream_open function in your example actually check if the file
has already
been downloaded?
No... I don'
From: "Afan Pasalic" <[EMAIL PROTECTED]>
Me again with same thing.
I added to
.htaccess php_flag register_globals off but it still doesn't work.
When I list phpinfo() it shows me Master value for register_global: On
an .htaccess change would show up in the Local Value column, not the Master
Value
That's exactly what I did. I overwrite the existing .htaccess with "my"
(that has php_flag register_global off) in root directory of my web site
(actually: /client/home/afan/docs/.htaccess - place where my web site is
stored). And I have a permission and it really overwrote the existing
.htacce
In Local Value column is shown Off.
that means it is Off ?
Aha.
Sorry, didn't know that one. Thanks John.
Afan
John Holmes wrote:
From: "Afan Pasalic" <[EMAIL PROTECTED]>
Me again with same thing.
I added to
.htaccess php_flag register_globals off but it still doesn't work.
When I list phpi
Sorry guys, my mistake:
This thing doesn't work:
if(isset($HTTP_POST_VARS['SubmitForm']) == 'Submit')
i added isset() on wrong place.
Thanks to everybody!
Afan
Afan Pasalic wrote:
That's exactly what I did. I overwrite the existing .htaccess with
"my" (that has php_flag register_global off) in roo
Here's my db_update function then your code with some mods:
function update_db($location) {
require_once('/usr/home/doc/mysqlconnect.php');
$query = "SELECT dl_count FROM downloads WHERE filelocation = '$location'";
$result = mysql_query($query);
$dl_count = mysql_result($result, 0, "dl_count");
$
No, I was using the mssql functions which I want to use.
I tried the dbx functions example:
$link = dbx_connect('mssql', $mssqldbhost,"",$mssqldbuser,$mssqldbpass);
but go the error that the mssql module isn't loaded.
On Wed, 1 Sep 2004 14:06:55 -0400, John Holmes <[EMAIL PROTECTED]> wrote:
> Fr
Josh Close wrote:
How do I get an xml tag to work with a php script?
php is trying to parse that.
-Josh
turn OFF short_open_tag in php.ini, or using the
PHP_FLAG short_open_tag Off in your apache .htaccess file (if you're
using that).
--
PHP General Mailing List (http://www.php.net/)
To unsubscr
I think I am a little bit "confused" about $HTTP_POST_VARS and $_POST.
php.net manual: Note that $HTTP_POST_VARS and $_POST are different
variables and that PHP handles them as such
http://us4.php.net/reserved.variables
?
And the example I wrote still doesn't work:
name
After submittin
Like I and others have said, you need to compile PHP --with-mssql
Blackwater Dev wrote:
No, I was using the mssql functions which I want to use.
I tried the dbx functions example:
$link = dbx_connect('mssql', $mssqldbhost,"",$mssqldbuser,$mssqldbpass);
but go the error that the mssql module isn't l
I was hoping there was another way around it. if not, I could do
that I guess.
-Josh
On Wed, 1 Sep 2004 14:06:18 -0500, Brent Clements
<[EMAIL PROTECTED]> wrote:
> The simplest answer is to either turn off short tags or change the short tag
> which php uses.
>
> You can do either by editin
On Wed, 2004-09-01 at 14:05, Afan Pasalic wrote:
> I think I am a little bit "confused" about $HTTP_POST_VARS and $_POST.
>
> php.net manual: Note that $HTTP_POST_VARS and $_POST are different
> variables and that PHP handles them as such
> http://us4.php.net/reserved.variables
>
> ?
>
>
How do I get an xml tag to work with a php script?
php is trying to parse that.
' ?>
ugly, huh?
I'm not sure if there is a better way, but I use the above to prevent
erroneous PHP parsing of xml declarations regardless of short_open_tags
setting, and to keep my text editor's syntax highlighting
Afan Pasalic wrote:
I think I am a little bit "confused" about $HTTP_POST_VARS and $_POST.
php.net manual: Note that $HTTP_POST_VARS and $_POST are different
variables and that PHP handles them as such
http://us4.php.net/reserved.variables
This just means that they don't occupy the same space
Just do it like this:
';
?>
Josh Close wrote:
How do I get an xml tag to work with a php script?
php is trying to parse that.
-Josh
--
Regards,
Ben Ramsey
http://benramsey.com
---
http://www.phpcommunity.org/
Open Source, Open Community
Visit for mor
How do I get an xml tag to work with a php script?
php is trying to parse that.
Either turn off the Short Tags setting in your php.ini file or have PHP
echo out that line.
Larry
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
At 1:08 PM -0500 9/1/04, Josh Close wrote:
How do I get an xml tag to work with a php script?
php is trying to parse that.
-Josh
You probably want to turn the short-open-tags option off, so PHP
doesn't recognize the
As they say on
http://us4.php.net/basic-syntax
the use of short-tags i
I'll do something similar to this. I don't want to have to turn short
tags off :P
-Josh
On Wed, 1 Sep 2004 12:21:29 -0700, Michal Migurski <[EMAIL PROTECTED]> wrote:
>
>
> > How do I get an xml tag to work with a php script?
> >
> >
> >
> > php is trying to parse that.
>
> ' ?>
>
> ugly, huh
On Sep 1, 2004, at 12:01 AM, raditha dissanayake wrote:
charles kline wrote:
On Aug 31, 2004, at 9:18 PM, raditha dissanayake wrote:
rogue wrote:
Sorry if this is the wrong place for this post. I am having
problems where PHP templates that I modify via ftp are not showing
changes for like 1 minut
From: "M. Sokolewicz" <[EMAIL PROTECTED]>
Josh Close wrote:
How do I get an xml tag to work with a php script?
php is trying to parse that.
-Josh
turn OFF short_open_tag in php.ini, or using the
PHP_FLAG short_open_tag Off in your apache .htaccess file (if you're
using that).
or
echo '';
or
'?>
'?>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
When I run it from the command line it works. But if I run it through
Apache it does not work.
Tim
John Holmes wrote:
From: "Tim Wolgemuth" <[EMAIL PROTECTED]>
This is the way that the customer waits to do it. Here is the sample
code that is being included:
print "this is a test2";
?>
Well
From: "Afan Pasalic" <[EMAIL PROTECTED]>
After submitting $HTTP_POST_VARS['SubmitForm'] has value 'Submit' and
$POST['SubmitForm'] is empty.
Because it's $_POST and not $POST? If that's just at typo, check your code
for typos, too. Did you ever tell us what version of PHP you're using?
---John H
From: "Ben Tew" <[EMAIL PROTECTED]>
So what I essentially need is a PHP client side image map script, because
the final data will go to other PHP scripts.
No, what you need is a client side image map which is unrelated to PHP.
People actually use image maps? Do you really think you're hiding the
We just tried again with the -mssql switch but it still doesn't seem
to be therethe -mssql isn't on the info page...I don't have a
clue...
http://mwvre.ht-tech.net/info.php
On Wed, 01 Sep 2004 15:08:41 -0400, Ben Ramsey <[EMAIL PROTECTED]> wrote:
> Like I and others have said, you need to com
From: "jarell" <[EMAIL PROTECTED]>
Here's my db_update function then your code with some mods:
function update_db($location) {
require_once('/usr/home/doc/mysqlconnect.php');
$query = "SELECT dl_count FROM downloads WHERE filelocation =
'$location'";
$result = mysql_query($query);
$dl_count = mys
Afan Pasalic wrote:
I think I am a little bit "confused" about $HTTP_POST_VARS and $_POST.
php.net manual: Note that $HTTP_POST_VARS and $_POST are different
variables and that PHP handles them as such
http://us4.php.net/reserved.variables
?
And the example I wrote still doesn't work:
nam
On Wed, 1 Sep 2004 13:08:11 -0500, Josh Close <[EMAIL PROTECTED]> wrote:
> How do I get an xml tag to work with a php script?
>
>
>
> php is trying to parse that.
you could just echo it at the top
';?>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.ne
$_POST, not $POST
Afan Pasalic wrote:
I think I am a little bit "confused" about $HTTP_POST_VARS and $_POST.
php.net manual: Note that $HTTP_POST_VARS and $_POST are different
variables and that PHP handles them as such
http://us4.php.net/reserved.variables
?
And the example I wrote still
I have tried recompiling with --with-mssql and --with-mssql=/usr/include/freetds
It all appears to compile correctly, except the info page does not
reflect the config was done with mssql at all. below is a snippet of
the config switches that were used.
--enable-ftp \
--enable-magi
1 - 100 of 144 matches
Mail list logo