I really hope someone can help me. I select mulitiple values from a
dropdown list and then display them 3 at a time on a next page. They're
displayed as hyperlinks so the one I click on gets displayed on the next
page with it's details. Then I need to be able to move forward and backward
throug
Hello,
I have a simple question when connecting through mysql. It seems that php
is trying to connect to /tmp/mysql.sock, but it's not in the /tmp directory.
It's in /var/lib/mysql/mysql.sock. I can connect throught mysql through the command
line just fine, but php functions cannot. It gives t
I really hope someone can help me. I select mulitiple values from a dropdown list and
then display them 3 at a time on a next page. They're displayed as hyperlinks so the
on I click on get displayed on the next page with it's details. Then I need to be
able to move forward and backward throu
Hi there,
I have a problem. I am trying to use a simple php script to display a JPEG
from a "protected" catalog (the image files are out of the web tree). It's
called from an IMG tag, like this:
--- main file ---
...
";
?>
---
In viewer.php I use session_start() to resume the current sessi
In article <148501c0bcad$35052e70$6501a8c0@workstation7>,
[EMAIL PROTECTED] ("Steve Werby") wrote:
> "Justin French" <[EMAIL PROTECTED]> wrote:
> > Problem is, line 88 is the last line of the file, which
> > simply has ""
> > Since the last line of the file has NO PHP CODE, and all the php code
If you "have" to you can use phpMyAdmin's dump feature to copy out your
database, along with the data inside of it.
As I don't always have access to more than the browser-based phpMyAdmin
program I often have to just do it that way. Works pretty well, though it
can become hard for very large tabl
Yup, as Chris said it's register.globals that's the entry in your php.ini
file.
In my php.ini it's on line 200 (without wordwrap), and it will probably look
like:
register_globals = Off ; Whether or not to register the EGPCS variables as
global
In yours. Change the value to On and you should b
i just test that code and i got the full string fine...check and see if
what you typed here is the same as your original code...
jack
Vlad wrote:
>
> Hi all
>
> script example:
>
> function smth(){
> $result = '1234 - the number';
> return $result;
> }
> ...
> $res = smth();
> ...
> After
On 3 Apr 2001 21:02:34 -0700, Les Neste <[EMAIL PROTECTED]> wrote:
>Correct me if I'm wrong, but isn't it possible to fake the referrer?
Quite easily, even when doing it by hand using telnet or netcat.
>This may not matter for your application -- are you writing a financial app
>or a personal
On 3 Apr 2001 20:31:28 -0700, SED <[EMAIL PROTECTED]> wrote:
>I think the latter part of the value is Unix-time in sec (right?), but what
>does the former part say like: 0.25576700 ?!?
For some reason, microtime() returns results backwards - the first part is the
decimal portion of the second par
Hi, Plutarck
Thank You for your help.
I would like to know how to turn on the feature to let PHP to separate the
variable by GET/POST
Thank You!
HK Woo
""Plutarck"" <[EMAIL PROTECTED]> wrote in message
9ae7sf$f96$[EMAIL PROTECTED]">news:9ae7sf$f96$[EMAIL PROTECTED]...
> Try using a print_r($HT
On Wed, 4 Apr 2001 04:24, Boget, Chris wrote:
> > echo date( "r h:ia" );
>
> returns:
>
> Tue, 3 Apr 2001 13:45:46 +0500 12:875903540pm
>
> What's up with the minutes? Does anyone else get
> this problem? It seems the minutes are only screwed
> up with the "r" format specifier is used...
>
> C
On Wed, 4 Apr 2001 15:44, Vlad wrote:
> Hi all
>
> script example:
>
> function smth(){
> $result = '1234 - the number';
> return $result;
> }
> ...
> $res = smth();
> ...
> After this $res takes value of 1234 not the actual string.
> Is any soolution here?
>
> Thanks, Vlad
If you do
functio
Hi all
script example:
function smth(){
$result = '1234 - the number';
return $result;
}
...
$res = smth();
...
After this $res takes value of 1234 not the actual string.
Is any soolution here?
Thanks, Vlad
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
Hi
You dont say which db you are using, but I assume MYSQL
This may work -
When you log onto the second database it must be a different user (not all
root for example)
make sure you capture the database handle in two different variables
something like
$db1=mysql_connect($blah1,$blah2,$blah3)
Hi all
How can I enclose files into my letter & send it from the php script (using
for example mail() function)
Thanks, Vlad
--
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 ad
Hi
Web pages in Xitami live at c:\Xitami\webpages\ if you installed on C:
unless you specifically installed it so they are at d:\InetPub\wwwroot (the
PWS default)
Try putting the php script in the document root - not the cgi-bin. PHP
scripts usually go in the
sub-directories under the document
> "Michael Roark" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > I've a script has many functions in it all of which hit databaseA . I've
> > added a new function which is to get data from databaseB how can I go
> about
> > this in one script when I try to
jason Tue Apr 3 21:41:02 2001 EDT
Modified files:
/php4/build buildcheck.sh
Log:
This is a temporary fix to the previous patch that breaks the build.
This keeps the functionality of searching for glibtool or libtool,
but have you checked the rest of the bui
You are right. It's painfully easy to fake the referer to make it say
anything you want it to.
I do it occasionally to screw with people's heads ;)
Making the referer become something like www.fbi.gov is always a hoot.
So using referer really isn't a very good solution, and many browsers just
Hey,
Is anyone using php and UDDI together, if so I would appreciate some
comments, insights, recommendations etc...
I really don't feel like selling my soul to Microsoft yet :-)
Regards,
Joseph
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
F
Try using a print_r($HTTP_GET_VARS) and see what comes up.
It could be that PHP has been set not to turn GET/POST variables into
seperate values.
If so you'll need to use:
echo $HTTP_GET_VARS[testing];
--
Plutarck
Should be working on something...
...but forgot what it was.
""HK Woo"" <[EM
First of all, in sessions you have two different things. You have the
session itself, which is basically a "container" for variables. Then you
have the variables themselves, which is what is inside your container.
session_unregister removes the variable from the container (you have to say
which o
Hi,
I have written a html which contains a form and then I use a "GET" method to
pass a variable to PHP program with
http://xxx.xxx.xxx.xxx/test.php?testing=testing. However, I can't get the
variable testing by using "echo $testing".
I don't know what is the problem.
Thank You!
HK Woo
--
P
Correct me if I'm wrong, but isn't it possible to fake the referrer?
This may not matter for your application -- are you writing a financial app
or a personal portfolio? -- but if you really need to authenticate the
source of data that comes from some other IP address (as is the case with a
web
Hi people
What is the different between session_unregister and session_destroy? If i want to
delete session, which one should I used?
Jack
[EMAIL PROTECTED]
"There is nothing more rewarding than reaching the goal you set for yourself"
If you want to check where your submit is comming from, then you need to
check the REFERER url. do so by useing the global $HTTP_REFERER
variable.
global $HTTP_REFERER;
if($HTTP_REFERER == "YOUR_FORM_PAGE_HERE")
{
//PROCESS CODE.
}
else
{
echo"Your a hacker, so BITE ME!!!";
}
--
On 3 Apr 2001 19:29:14 -0700, Brian Hardwick <[EMAIL PROTECTED]>
wrote:
>Im trying to optimize some php/mysql code. Does anyone know a way to
>measure the amount cpu time a php script consumes?
Check out the POSIX functions - in particular the posix_times() function, which
not only shows CPU tim
Andrew - thanks for testing it - I have done more tests, and yes it does
look like the minimal Java code does work in my setup ( Linux, Apache
1.3.19, php 4.04pl1 ) - now I have to understand why my additional Java
code to make it into a POST type connection is throwing an exception :-(
Bye,
Pet
In your code, if $PHPSESSID is set then you'll need to invoke
session_start() anyway.
session_start() initializes all session variables to what they should be so
that you can access them.
Note: If someone submits the variable $name which is "Ted", and in their
session they have a variable called
I've been trying to Install PHP 4 for Xitami Web Server. I downloaded the Windows
installer for PHP 4 and installed it. I edited the Filters for Xitami in default.cfg
so that .php=D:\Php\php.exe (which is where php exists on my server) and I made sure
that the folder which holds php.exe has exe
Hi,
I was wandering what the result from microsec() means:
I tested the time in the begin and in the end of my code and got the
following result:
Begin: 0.70278800 986354975
End:0.08970900 986354975
I think the latter part of the value is Unix-time in sec (right?)
12
--
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]
It's probably not the cause of your problem (I know little to nothing about
Interbase), but why the if... loop in your code?
Your if:
if ($val < $NumCases)
does the same thing as your for:
for ($val = 0; $val < $NumCases; ++$val)
Unless of course you wanted it that way...
--
Plutarck
Sho
Do the same thing your doing, but insert the following after where it should
be set to see if it was:
print_r($HTTP_SESSION_VARS);
If it worked, you'll see it.
If not, you'll see it. Then you can progress from there.
--
Plutarck
Should be working on something...
...but forgot what it was.
"
You might want to use the following function:
http://www.zend.com/manual/function.mysql-db-query.php
--
Plutarck
Should be working on something...
...but forgot what it was.
"Michael Roark" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I've a script has
> How do you check to make sure that any
> form submissions originate from your site?
You basically can't.
...well that was easy ;)
All you can do is assume that every single piece of data sent from the
client is an attempt to screw up your application. After stripping non-valid
characters and
Hi,
full instructions follow:
download the latest php tarball from:
http://www.php.net/do_download.php?download_file=php-4.0.4pl1.tar.gz&source_site=www.php.net
then extract it:
tar xzf php*tar.gz
then cd to it:
cd php*
then configure it:
./configure
the compile it:
make
then install it (as
I forget what it is called but I think there is an OpenSource one, check
the archives on this subject. Also chack out APC
http://apc.communityconnect.com/ , it is an OpenSource version of the
cache tool that may in the future provide encoding I believe.
Michael
On Tuesday, April 3, 2001, at
Thanks a lot, this will be a big help.
Michael
On Tuesday, April 3, 2001, at 02:58 PM, Andrew wrote:
> Hi all,
>
> In the past couple of weeks, many people have asked me about compiling
> PHP /
> Apache under Mac OS X, so I've updated my iODBC HOWTO specifically for
> Mac
> OS X.
>
> This wal
The closest I know of is using microtime at the start and end of a piece of
code to see how long it took.
You'll want to run the script through a loop, usually around 10 times at
least if it's not a big script, and then average together 10 tests.
--
Plutarck
Should be working on something...
.
Im trying to optimize some php/mysql code. Does anyone know a way to
measure the amount cpu time a php script consumes?
- Brian Hardwick
Tangible Networks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTEC
On Wed, 4 Apr 2001 11:23, Peter Houchin wrote:
> >
> >
> > $rs = "UPDATE main SET system='$system',";
> > $rs .= "part='$part',";
> > $rs .= "monthly='$monthly'";
> > $rs .= "WHERE id='$id'";
> >
> >
> > $result = mysql_query($rs,$db);
> > ?>
> >
> > > $foo = "SELECT * FR
"Justin French" <[EMAIL PROTECTED]> wrote:
> Problem is, line 88 is the last line of the file, which
> simply has ""
> Since the last line of the file has NO PHP CODE, and all the php code
> prior to that has been closed off (?>), or is it more likely a bug in my
> code, but PHP4 isn't reporting t
http://www.php.net/manual/en/function.mail.php
In article <9ad5le$p7n$[EMAIL PROTECTED]>, [EMAIL PROTECTED]
wrote:
> The subject explains all. I need to send html emails unsing php Thanks
>
>
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
F
your missing a } most likely some where in your code
-Original Message-
From: Justin French [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 04, 2001 11:14 AM
To: php
Subject: [PHP] error on last line of file (tearing hair out)
hi,
it's happened before, but it's happening a
Works for me!
I don't think PHP is the problem.
I first tried this with PHP as cgi and it worked fine, then retested
with PHP as module and still worked fine.
Platform;
NT4 SP6
Server Version: Apache/1.3.19(Win32) mod_jk PHP/4.0.4pl1 DAV/1.0.2
applet code;
==8<===
look at the PHP source code you've installed
Maxim Maletsky
PHPBeginner.com
www.phpbeginner.com
-Original Message-
From: glenn [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 04, 2001 10:47 AM
To: [EMAIL PROTECTED]
Subject: [PHP] PEAR
Does anyone know where I can get the basic pear
hi,
it's happened before, but it's happening again, and it's giving me the s**ts!!!
I get this error:
Parse error: parse error in
/home/clients/jfrench/public_html/indent/tests/simple2/login4.php on
line 88
Problem is, line 88 is the last line of the file, which
simply has ""
My question is
I think the PEAR class file comes with PHP4... si that correct?
-Original Message-
From: glenn [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 4 April 2001 11:47 AM
To: [EMAIL PROTECTED]
Subject: [PHP] PEAR
Does anyone know where I can get the basic pear class file from? I'm
using the omni
Hello,
John Lim wrote:
>
> Hi Jason,
>
> Metabase is a library that tries to hide 99% of the differences between all
> databases. In that sense
> it is a thick abstraction layer.
>
> The other school of thought is to provide a thin layer that doesn't do very
> much so that it runs fast.
That
OK,
Here is my LAST shot at this, I mean it this time
I used the code that Lindsay Adams was nice enough to give me, THANKS
AGAIN.
I have made few minor adjustments and one question.
Should I be calling out the PHOTOID field I have in my database for
storing?
It is my primary key set to auto incr
Okay,
So here's what it looks like now:
header("Content-type: application/x-quicktimeplayer");
header("Content-Disposition: attachment; filename=blah.qtl" );
print(GenerateSMILAlbum($baseURL, $directory, $mp3Array, $albumCover));
This gets me two download dialogs on windows machines if I select
thank you guys,
it worked with php4 not php3
-JUANG-
--
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]
>
>
> $rs = "UPDATE main SET system='$system',";
> $rs .= "part='$part',";
> $rs .= "monthly='$monthly'";
> $rs .= "WHERE id='$id'";
>
>
> $result = mysql_query($rs,$db);
> ?>
>
> $foo = "SELECT * FROM main";
>
> $result = mysql_query($foo);
> while ( ($myrow = mysql
rasmus Tue Apr 3 18:42:03 2001 EDT
Modified files:
/CVSROOTavail cvsusers gen_acl_file.m4
Log:
dev account for David Reid
Index: CVSROOT/avail
diff -u CVSROOT/avail:1.130 CVSROOT/avail:1.131
--- CVSROOT/avail:1.130 Tue Apr 3 12:07:22 2001
+++ CVSROOT
Does anyone know where I can get the basic pear class file from? I'm
using the omni webserver on a windows machine. It has php built into
it, but doesn't know anything about pear.
--
--
Homepage: http://www.sfu.ca/~gpalmer
ICQ#: 4930151
NH Off top
I think my php server is not good.
I did "copy($arqcliente, "/home/httpd/html/admin/$arqcliente_name");"
It didn't work. Then I tried to print both variables, and $arqcliente
printed "C:\\Augusto\\temp.txt" and the $arqcliente_name printed nothing!
echo "arqcliente =$arqcliente";
echo "arq
On Wed, 4 Apr 2001 09:27, Peter Houchin wrote:
> Hiya i've got a script that basically draws values from a db and will
> display them, as i have multiple records in there and want to display
> them all i'm using a
while ( ($myrow = mysql_fetch_array($result) ) )
> statement this is all good as
I need a way to encode my scripts so that others can not read them. But I dont want
to use the zend encoder? Is there anything else out there that can do what I need?
well, this actually worked the way i had it ie. if ($HTTP_USER_AGENT =
"Mozilla") before I added the html outputs.
-Original Message-
From: Jason Murray <[EMAIL PROTECTED]>
To: Jason Murray <[EMAIL PROTECTED]>; 'WD'
<[EMAIL PROTECTED]>; [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Tuesday
Hello,
Steve Werby wrote:
> > Only thing left is whether or not
> > the user exists on the given mailserver. But for as far as I know
> > you can't automatically check that.
>
> Renze is correct. Unless you're checking local email addresses which you
> control, there's no way to check down to t
ugh, ok, I was without php support for a bit, ok the script works, except
that it doesnt work...it prints even when browser is IE.
-Original Message-
From: Jason Murray <[EMAIL PROTECTED]>
To: Jason Murray <[EMAIL PROTECTED]>; 'WD'
<[EMAIL PROTECTED]>; [EMAIL PROTECTED] <[EMAIL PROTECTED
Hello,
Sharat Hegde wrote:
>
> Hello,
>
> I am trying to validate the email address in my PHP program using the ereg
> function. I have different combinations of regular expressions to get the
> chunks of the email substring before and after the @ symbol and the dot (.)
> character. However, th
> > > if ($HTTP_USER_AGENT = "Mozilla")
>
>^ This needs to be "=="
Actually, it needs to be " if(substr($HTTP_USER_AGENT, "Mozilla"))".
*slap.self*
Jason
--
Jason Murray
[EMAIL PROTECTED]
Web Design Team, Melbourne IT
Fetch the comfy chair!
--
PHP General Mailing L
> heres what is result in IE...which shouldnt show up at
> this code isnt parsing like I expect..
>
> if ($HTTP_USER_AGENT = "Mozilla")
^ This needs to be "=="
Jason
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additio
heres what is result in IE...which shouldnt show up at
this code isnt parsing like I expect..
\n");
print ("\n");
print ("\n");
print ("\n");
}
?>all...
\n"); print ("\n"); print ("\n"); print ("
\n"); } ?>
__
Do You Yahoo!?
Get email at your
this code isnt parsing like I expect..
\n");
print ("\n");
print ("\n");
print ("\n");
}
?>
heres what is result in IE...which shouldnt show up at
all...
\n"); print ("\n"); print ("\n"); print ("
\n"); } ?>
__
Do You Yahoo!?
Get email at your
this code isnt parsing like I expect..
\n");
print ("\n");
print ("\n");
print ("\n");
}
?>
heres what is result in IE...which shouldnt show up at
all...
\n"); print ("\n"); print ("\n"); print ("
\n"); } ?>
__
Do You Yahoo!?
Get email at your
sniper Tue Apr 3 17:37:06 2001 EDT
Modified files:
/php4/main php_variables.c
Log:
Cookies use ; as argument separator.
# And also the first step for the possible configure option
Index: php4/main/php_variables.c
diff -u php4/main/php_variables.c:1.22
I have tried putting \n and a header command with no help. My current
theory is that php is manipulating the socket options in some way,
making Java drop the connection ( since Perl or sh CGI script works with
the same Java code). I have tried to modify the applet to use read
method in place of
So close and yet so far away... is there an "odbcping" type program? If we
run "odbcping" on the SQL2000 server, it works fine (to itself of course,
but using the ODBC settings AFAIK).
[root=pts/1]2:08pm@content:{/usr/local/openlink/bin}> setenv
LD_LIBRARY_PATH=/usr/local/openlink/odbcsdk
Joseph Blythe wrote:
> hello,
>
> does anyone know if set_nonblock() works, what paramaters it takes
> and what it returns?
>
> there is only one mention of it in the manual under accept_connect,
> and I can not seem to set the socket to non block??
>
> also has anybody successfully wri
sniper Tue Apr 3 17:06:49 2001 EDT
Modified files:
/php4/ext/sockets config.m4
Log:
Cleaned up a bit. Removed some checks for header files that are
already checked in configure.in
Index: php4/ext/sockets/config.m4
diff -u php4/ext/sockets/config.m4:1.
Hiya i've got a script that basically draws values from a db and will display them, as
i have multiple records in there and want to display them all i'm using a
while ( ($myrow = mysql_fetch_array($result) ) )
statement this is all good as far as it will display them all how ever when i go to
On Tue, 03 Apr 2001 16:44:36 -0700, Brandon Orther
([EMAIL PROTECTED]) wrote:
>Hello,
>
>I have an array from an ftp nlist. Is there any way I can
>alphabetize the
>array?
sort($array);
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional c
I think you want:
exec("/path/to/mysql -p$password -u$username $database < $filename");
On Wed, 04 Apr 2001 00:35:34 +0100, Andy Warwick
([EMAIL PROTECTED]) wrote:
>I'm after some pointers on how to dump and load SQL files to and
>from mySQL
>using a PHP/HTML form.
>
>I've read the manual about "
Refer to the PHP Manual for details.
http://www.php.net/manual/en/language.variables.external.php
The Manual is worth to read :)
(Don't forget to read FAQ also, it seems FAQ is updated recently)
Regards,
--
Yasuo Ohgaki
""hi"" <[EMAIL PROTECTED]> wrote in message
9acn9h$bgp$[EMAIL PROTECTED]">
Hello.
I posted something about this a few days ago, and am
reiterating my request again. We're looking for
PHP case studies that we can use in an upcoming project.
Interested parties should contact me directly at [EMAIL PROTECTED]
and we'll give you more information at that point.
Thanks. :)
have a look on zend.com saw some Alphabetical scripts in there just b4
-Original Message-
From: Brandon Orther [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 04, 2001 9:45 AM
To: PHP User Group
Subject: [PHP] Alphabetize array,.. please?
Hello,
I have an array from an ftp
Hello,
I have an array from an ftp nlist. Is there any way I can alphabetize the
array?
thanks,
Brandon
--
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: [
wsanchezTue Apr 3 16:30:46 2001 EDT
Modified files:
/php4 ChangeLog
/php4/ext/bcmath/libbcmath/src Makefile.am
/php4/ext/informix config.m4
/php4/ext/msql config.m4
/php4/ext/odbc config.m4
/php4/sapi/apache apM
I'm after some pointers on how to dump and load SQL files to and from mySQL
using a PHP/HTML form.
I've read the manual about "LOAD DATA INFILE", but as far as I can tell that
won't help in this case. Unfortunately, CSV files are not an option
(client's demands... go figure).
What I'm after is d
Is there an PHP equivalent to the javascript:
$x= window.confirm("Click OK to continue. Click Cancel to stop.");
if ($x)
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To
<[EMAIL PROTECTED]> wrote:
> ** Reply to note from "Steve Werby" <[EMAIL PROTECTED]> Tue, 3 Apr
2001 15:24:29 -0400
> >
> >
> > I should have said there's no *reliable* way to check whether an email
> > address on an external server is valid.
>
> There is one _reliable_ way to verify the email add
I am having a problem getting php4.0.4pl1 to work will imap on my Mandrake
7.2 linux system.
I am configuriging the system using the following configure options :-
./configure --with-apxs \
--with-oci8 \
--without-mysql \
--with-pgsql \
wsanchezTue Apr 3 16:05:09 2001 EDT
Modified files:
/php4 ChangeLog
Log:
Note INSTALL_ROOT change
Index: php4/ChangeLog
diff -u php4/ChangeLog:1.666 php4/ChangeLog:1.667
--- php4/ChangeLog:1.666Mon Apr 2 18:09:16 2001
+++ php4/ChangeLog
"JCampbell" <[EMAIL PROTECTED]> wrote:
> I think it may have to do with the gethostbyaddr($REMOTE_ADDR)
Why not try commenting out the line with that function and reporting back
whether the performance changes.
> $resolvedhost = gethostbyaddr($REMOTE_ADDR);
You're not using $resolvedhost anywhe
You can use something like this:
this will change the mime type and filename of the content send to the browser.
- Frank
> On 4/3/01 12:34 PM, "Spunk S. Spunk III" <[EMAIL PROTECTED]> wrote:
>
> > I've got a script that returns a smil file in a header but I'd like to
> > change the name of
"Mauricio Junqueira" <[EMAIL PROTECTED]> wrote:
> does anyone knows how to retrive information about the columns names of a
> table?
In MySQL use mysql_field_name(), in PostgreSQL use pg_fieldname().
> I know that is possible to use show table mytable using isql but
> I need to get information a
Addressed to: "Steve Werby" <[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
** Reply to note from "Steve Werby" <[EMAIL PROTECTED]> Tue, 3 Apr 2001
15:24:29 -0400
>
>
> I should have said there's no *reliable* way to check whether an email
> address on an external server is valid.
There i
This is going to be a silly question. I have written the following form to mail
script, and it works. But it takes a good minute or so to process. Can any one shed
some light?
I think it may have to do with the gethostbyaddr($REMOTE_ADDR) but if anyone else can
help, that would be great.
Jon
dbeuTue Apr 3 15:36:27 2001 EDT
Modified files:
/php4/ext/exif exif.c
Log:
use V_STAT
Index: php4/ext/exif/exif.c
diff -u php4/ext/exif/exif.c:1.13 php4/ext/exif/exif.c:1.14
--- php4/ext/exif/exif.c:1.13 Tue Apr 3 14:39:18 2001
+++ php4/ext/exif/ex
It would help to know the database but in Mysql
you can just do this: if you connect to one databaseA, it is possible to
grab info from another databaseB by this format:
SELECT * FROM databaseA.TABLE
while at the same time running this query elsewhere in your functions
SELECT * FROM databaseB
On Thu, 29 Mar 2001 [EMAIL PROTECTED] wrote:
I'm having a problem with using cookies and flash.
When I pointed that the problem was _with_ cookie and flash, is when I
resolv the same program using a pure HTML interface.
The exact problem, is that the session number, keep on changin
I have register_globals on for some applications. This causes PHP to bring
all elements of the $HTTP_***_VARS arrays into the GLOBAL namespace.
Somehow, session_unset() does not unset these variables when it is called,
rather, it only unset()'s programmer-created session variables. I would like
to
php-general Digest 3 Apr 2001 22:17:51 - Issue 606
Topics (messages 46794 through 46900):
Global Variables
46794 by: Jon
46797 by: Renze Munnik
Re: redirecting without headers or meta tags or javascript
46795 by: Christian Reiniger
46806 by: Justin French
I've a script has many functions in it all of which hit databaseA . I've
added a new function which is to get data from databaseB how can I go about
this in one script when I try to connect to a database other than the one
defined at the beginning of the script all the functions in the script
Daniel,
Why not use virtual_filepath() always and make one case out of your code.
It also works in non VIRTUAL_DIR mode. There shouldn't really be #ifdef's
in the PHP code (TSRM takes care of it). If it's a specific problem we can
think of how to fix it.
Andi
At 09:39 PM 4/3/2001 +, Dani
dbeuTue Apr 3 14:39:18 2001 EDT
Modified files:
/php4/ext/exif exif.c
Log:
resolve realpath if in v-dir mode
Index: php4/ext/exif/exif.c
diff -u php4/ext/exif/exif.c:1.12 php4/ext/exif/exif.c:1.13
--- php4/ext/exif/exif.c:1.12 Sun Feb 25 22:06:54 20
1 - 100 of 228 matches
Mail list logo