Actually, I couldn't find the article number for that tutorial. I did,
however, place a comment directly into that specific web page with the fix.
Here is a direct link to the tutorial (I left the frames out):
http://www.weberdev.com/ViewArticle.php3?ArticleID=30. Thanks.
Navid
-Original
Hi,
I started running MacOSX beta on my mac, and noted that apache what
present (and used as web sharing extention).
The configuration made to apache from MacOSX beta out of the box is
pretty basic, BUT I noticed that their where plenty of modules
(mod_ssl, mod_perl, mod_dav, mod_php4,
Hi guys!
I'm using a form that refreshes itself when submitting it!
however when it's submitted i make a condition on the value of $submit so as
to make some instructions but the problem is that the $submit is always
empty but i can see that the page is reloaded when i submit the form.
Thanks
Hey
This is my first question and mail to this list...hope u treat me decent =)
My earlier work have been lasso/filemaker (mac)
Ive been heard that PHP is coming strongly and I have no reason not to
join. How is the relation between PHP/Filemaker?
--*
[knaSen]
icq #23830427
davidg Fri Feb 23 01:22:09 2001 EDT
Modified files:
/php4/ext/midgard midgard.c
Log:
Removed constants registration, added a conversion table $midgard-types[$objtype]
try var_dump($midgard) for more details
Index: php4/ext/midgard/midgard.c
diff -u
gluke Fri Feb 23 02:34:49 2001 EDT
Modified files:
/php4/ext/mnogosearch php_mnogo.c php_mnogo.h
Log:
Added ispell loading routines and date search limits in mnogosearch module.
Index: php4/ext/mnogosearch/php_mnogo.c
diff -u
gluke Fri Feb 23 02:53:06 2001 EDT
Modified files:
/php4/ext/mnogosearch test.php
Log:
mnogosearch example updated.
Index: php4/ext/mnogosearch/test.php
diff -u php4/ext/mnogosearch/test.php:1.13 php4/ext/mnogosearch/test.php:1.14
---
davidg Fri Feb 23 03:55:57 2001 EDT
Modified files:
/php4/ext/midgard config.m4
Log:
Added --with-mgd-experimental option to compile experimental stuff (off by defeult)
Index: php4/ext/midgard/config.m4
diff -u php4/ext/midgard/config.m4:1.7
Get an SQL database engine and off you go. MySQL is a good place to start,
and it comes in a Mac OS/X flavour that you can download at
http://www.mysql.com/Downloads/MySQL-3.23/mysql-3.23.33-apple-rhapsody5.5-po
werpc.tar.gz.
Check out www.mysql.com for more info.
HTH
Jon
-Original
It was the latter, which was very strange, but the problem seems to have
gone away now. How odd.
Thanks for your prompt help!! Much appreciated.
Hunter
"Hoover, Josh" wrote:
Do you mean that index.php3 does not work when you access that page as the index for
the directory
Hola a todos
Mi consulta es la siguiente
He bajado la versin php-4.0.4pl1-Win32 para Windows 2000
como utilizo esto, es decir como ejecuto un archivo php4?
Estoy utilizando Internet informaton server 5
Ojala alguien pueda ayudarme
Does anyone know where I can download some compiled binaries of the latest
PHP snapshot (Win32)?
Have you got somewhere you can let me put them and Ill build you some
otherwise Ill set you up an FTP account later and let you have them.
James
--
James Moore
PHP QA Team
[EMAIL PROTECTED]
--
On Friday 23 February 2001 15:46, Hardy Merrill wrote:
Look up the "split" and "explode" functions - they both do basically
the same thing.
$token_list = split(",", $string_to_parse);
.. and if that doesn't suffice I can send you a nice'n'powerful CSV
parser class :)
--
Christian
I've tried and tried and tried ;-)
I have this array;
$bikes = array(
"Road" = array(
"Trek" = array(
"Trek 5200" = "road.php?brand=t5200"
),
"Schwinn" = array(
"Schwinn Fastback Pro" =
On Friday 23 February 2001 16:57, Don Johnson wrote:
Yup, the data's correct. The new records all have the
DownloadedDateTime as '-00-00 00:00:00'
It works if you execute only the SELECT (without the UPDATE) ?
SELECT * from db_table WHERE (DownloadedDateTime = '-00-00
00:00:00')
As the PHP manual indicates, we can use Mcrypt to do the encrypt and decrypt work in
PHP, but that needs to download the encrypt module and recompile PHP. Is there any
other way to encrypt and decrypt the string in standard PHP4.0.4 without any extension
module?
Thank you very much!
--
On Friday 23 February 2001 17:02, Jeff wrote:
Is there better performance/speed instantiating an array with a
specified size and then adding elements versus adding elements to an
array with no size?
Uh, you can't specify the size when instatiating an array ...
--
Christian Reiniger
LGDC
The MacOS X Developer Tools (free from Apple's site with a developer
registration) have all the necessary tools.
Best regards,
Andrew
--
Andrew Hill - OpenLink Software
Director Technology Evangelism
eBusiness Infrastructure Technology
Yes... you can use the explode function.
Example:
?
$parts = explode(",",$item);
?
if $item where "Hello,There", $parts[0] would = "Hello" and $parts[1]
would = "There".
Thanks,
Mike Ridinger
On Fri, 23 Feb 2001, Todd Cary wrote:
I have a comma delimited string that I need to
Thanks all!!
split() works like a champ!!
Todd
--
Todd Cary
Ariste Software
[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
I am using PHP4 + MySQL + PWS + Windows 98.
We are trying to port over a web site to a laptop for remote use.
However, when we execute a SQL query on a DB in which a filed of the record
contains a NULL value, we get an error.
The code is as follows:
$GetQuery = mysql_query ("SELECT *
This is the first time I have used a new socket connection to send
header data *and* then retireve the echoed string. This works fine. I
get the result string and I am able to parse out the first element,
which is the status code.
Now here is where I am stuck! I cannot go to another page! I
Someone said it already, ODBC would be the best way to go. BUT, keep in
mind that ODBC support in FileMaker is not by any means complete. Also
remember that FileMaker is always going to be your bottleneck - not PHP. I
would suggest looking at MySQL (http://www.mysql.com/) and/or PostgreSQL
sas Fri Feb 23 08:49:58 2001 EDT
Modified files:
/php4/ext/fribidi config.m4
Log:
Fix another instance of the == bug.
Index: php4/ext/fribidi/config.m4
diff -u php4/ext/fribidi/config.m4:1.2 php4/ext/fribidi/config.m4:1.3
---
Mensaje citado por: Todd Cary [EMAIL PROTECTED]:
I have a comma delimited string that I need to parse into an array. Is
there a PHP function that will do that ?
Did you check the string functions? explode for example?
Saludos... ;-)
System Administration: It's a dirty job,
but someone
Yup. Go figure.
Don Johnson
It works if you execute only the SELECT (without the UPDATE) ?
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
On Friday 23 February 2001 16:57, Don Johnson wrote:
Yup, the data's correct. The new records all have the
DownloadedDateTime as
Addressed to: [EMAIL PROTECTED]
[EMAIL PROTECTED]
** Reply to note from [EMAIL PROTECTED] Fri, 23 Feb 2001 12:20:12 -0500
I've tried and tried and tried ;-)
I have this array;
$bikes = array(
"Road" = array(
"Trek" = array(
"Trek 5200" =
Hello,
I need to take a string and remove everything from the first "" character
to the end of the line. I'm pretty sure I could do this with an
ereg_replace(), but I am horrible at regular expressions. Could anyone help
me with this?
- John Vandebreck
- Admin, GameDesign
--
PHP General
On Friday 23 February 2001 19:27, Don Johnson wrote:
Yup. Go figure.
Don Johnson
It works if you execute only the SELECT (without the UPDATE) ?
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
On Friday 23 February 2001 16:57, Don Johnson wrote:
Yup, the data's
I have a form that submits to abc.php which then calls db.php and db.php
then redirects to a new URL. I have session_start(); on all these files and
I'm registering the variables I need. It seems that the session dies or
gets lost on it's way through all the included files. I then tried to
Sorry for the other (empty) mail...
On Friday 23 February 2001 19:27, Don Johnson wrote:
Yup. Go figure.
Don Johnson
It works if you execute only the SELECT (without the UPDATE) ?
Then are you 100% sure that you execute the SELECT first (echo something
on each query and check the order)?
On Friday 23 February 2001 19:33, John Vanderbeck wrote:
I need to take a string and remove everything from the first ""
character to the end of the line. I'm pretty sure I could do this with
an ereg_replace(), but I am horrible at regular expressions. Could
anyone help me with this?
I've just built Apache 1.3.17 on Free BSD, using php-4.0.1pl2 and linking
with the postgres 7.0.3 as a shared object.
I also linked in mySQL support, which works correctly. When I try
accessing the posgres database by calling pg_Connect(), my web server
doesn't even display a page, other
Is it possible to target a frame in the Location: of
a header? Sorry if this has been brought up a
million times before.
Jeff Oien
--
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
Thank you very much :)
-Original Message-
From: Boaz Yahav [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 23, 2001 4:55 AM
To: '[EMAIL PROTECTED]'; [EMAIL PROTECTED]
Subject: RE: [PHP] Counter Help
Fixed.
Sincerely
berber
Visit http://www.weberdev.com Today!!!
To see where
I have a string of 1034 and I want to have an array that has each number in
an element.(ex: num[0] = 1, num[1] = 0, num[2] = 3 num[3] = 4) Is there a
way to explode a string by each character?
Just convert it to a string: ie. $foo = (string)$num; echo $foo[1];
-Rasmus
--
PHP General
I've been trying to get the cgi version of php working with Apache and
suexec but so far I have not had much success. I've installed the Apache
module version of php and it seems to work fine. I then installed the
cgi version of php and it too seems to work fine as long as it
doesn't run
As to the WHY, well, the file extensions are different. It's like the
difference between a .DOC file and a .TXT file and a .RTF file. They're all
different, and the parser/executable uses the extension to tell it what to
expect.
Also, after you make changes to your httpd.conf make sure that
Hmm okay that works, for most .php3 files, but for some reason,
does not work with index.php3. Very strange...
H
"Hoover, Josh" wrote:
Try doing this in your httpd.conf (replacing what you have now):
AddType application/x-httpd-php .php
AddType application/x-httpd-php .php3
AddType
Find the "DirectoryIndex" line and add "index.php3" to it in the httpd.conf
HTH,
Geordon
- Original Message -
From: "Hunter Kelly" [EMAIL PROTECTED]
To: "Hoover, Josh" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Friday, February 23, 2001 9:22 AM
Subject: [PHP-INST]
On Fri, Feb 23, 2001 at 11:47:12AM -0700, [EMAIL PROTECTED] wrote:
That might be good for a temporary solution, but not having quotes there
ia a potential bug waiting to happen. That is why it there is a warning
about it.
I agree. Since he didn't use the quotes on the live system though, I
Use number_format() :
http://www.php.net/manual/en/function.number-format.php
echo number_format($number);
Other options exist with this function, it's pretty useful.
Regards
Philip Olson
http://www.cornado.com/
On Fri, 23 Feb 2001 [EMAIL PROTECTED] wrote:
I have a string that
"Steve Kenshalo" [EMAIL PROTECTED] wrote:
I am working on a PHP script for an e-commerce site that mails out calling
card pin numbers after somebody purchases them online. Turing testing I
not
noticed that aol users were not receiving the messages. AOL seems to be
filtering them out without
Is there a way to simulate a form submission to a cgi-script using PHP? I
am trying to write a script that will replace the frontend of another CGI
script with a customized one of my own, but I need to be able to pass form
data into the next page in the cgi (including a password).
Matthew
I am opening the top level of a a directory structure with dir. I want make
a list of the subdirectories, but not the files. Is there a file test
operator like perl's -d in php? I will then have to go into the sub
directories to perform actions on non directory files
--
PHP General Mailing
During compilation of php4 I have this:
What I have to do ?
Thanks, Enrico
DXML_BYTE_ORDER=12 -g -O2 -c sapi_apache.c
sapi_apache.c:32: httpd.h: No such file or directory
sapi_apache.c:33: http_config.h: No such file or directory
sapi_apache.c:41: http_core.h: No such file or directory
Does anyone have examples of using DTD's with the xml_parse functions?
Regards
Mark
--
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]
Mark Newnham wrote:
Does anyone have examples of using DTD's with the xml_parse functions?
http://php.net/xml Example 4 uses an external DTD. Internal DTD's are
also possible.
-Egon
--
SIX Offene Systeme GmbH Stuttgart - Berlin
Sielminger Strae 63 D-70771
Hi there,
I want to download PHP from my Linux server, but I can't just type "lynx
http://www.php.net/do_download.php?download_file=php-4.0.4pl1.tar.gzsource_
site=www.php.net"
This is the link in the PHP downloads page, but the shell gets confused by
the character.
What should I do?
Best
lynx -source
http://www.php.net/do_download.php?download_file=php-4.0.4pl1.tar.gzsource_site=www.php.net
php-4.0.4pl1.tar.gz will work - also try wget
--Joe
On Fri, Feb 23, 2001 at 03:28:14PM -0600, Jorge Alvarez wrote:
Hi there,
I want to download PHP from my Linux server, but I can't
Im running php 4.0.4pl1
Fatal error: Call to undefined function: chunk_split() in
/home/httpd/vhosts/myhearingstore/mail.egn on line 33
is there a configure option im supposed to compile in ?
--
Chris Lee
Mediawaveonline.com
ph. 250.377.1095
ph. 250.376.2690
fx. 250.554.1120
I've gone through the manual and user notes on these functions, and they
tend to be highly illogical ;-) The numbers don't coincide, the x/y
values are negative when it seems they ought to be positive, etc. If
someone has already figured this out, would you post a code snippet that
will create an
I have a auth system in the works and if a session is going then they
are "logged in".
What's the best way to check to see if a session is currently in progress?
Mike
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
check if your session variable is set.
ie, lets say your session variable is called SessionID
?php
if (isset($HTTP_SESSION_VARS['SessionID']))
{
echo "SET br\n";
}
?
--
Chris Lee
Mediawaveonline.com
ph. 250.377.1095
ph. 250.376.2690
fx. 250.554.1120
[EMAIL
I want to open a html file from a php script. The problem is that the html
file is located in a password protected directory on an apache web server. I
know the user/password for that directory and I want the php script to
handle the authentification automaticly. Is there a way to acomplish this
sas Fri Feb 23 14:07:22 2001 EDT
Modified files:
/php4/ext/dbdb.c
/php4/ext/dbase dbase.c
/php4/ext/filepro filepro.c
/php4/ext/hyperwave hw.c
/php4/ext/standard dir.c file.c filestat.c image.c
/php4/ext/zlib zlib.c
some comments on sessions
- $PHPSESSID will only be set after the first page refresh.
- SID will only be set if your not using cookies.
- sessions with not transfer across multiple domain names.
- sessions without cookies will not transfer accross full urls.
?php
if (isset($PHPSESSID))
sbergmann Fri Feb 23 14:55:29 2001 EDT
Modified files:
/php4/win32 php4dll.dsp php4dllts.dsp
Log:
That should do the trick.
Index: php4/win32/php4dll.dsp
diff -u php4/win32/php4dll.dsp:1.8 php4/win32/php4dll.dsp:1.9
--- php4/win32/php4dll.dsp:1.8 Fri
Addressed to: "Kevin Beckford" [EMAIL PROTECTED]
[EMAIL PROTECTED]
** Reply to note from "Kevin Beckford" [EMAIL PROTECTED] Fri, 23 Feb 2001
15:42:26 -0500
I am opening the top level of a a directory structure with dir. I want make
a list of the subdirectories, but not the
davidg Fri Feb 23 15:14:42 2001 EDT
Modified files:
/php4/ext/midgard preparser.c config.m4
Log:
- workaround for the function mgd_eval() to return a value like the PHP eval().
- changed --with-mgd-experimental to --enable-mgd-experimental
Index:
From: "Todd Cary" [EMAIL PROTECTED]
Thanks all!!
split() works like a champ!!
Todd
--
Todd Cary
Ariste Software
[EMAIL PROTECTED]
If you're just tokenising by a comma, don't use split(), use explode().
split() accepts a regular expression for the separator, whereas explode()
davidg Fri Feb 23 16:01:00 2001 EDT
Modified files:
/php4/ext/midgard preparser-parser.y preparser-scanner.l
Log:
passing include()'ed files thru the preparser.
Index: php4/ext/midgard/preparser-parser.y
diff -u php4/ext/midgard/preparser-parser.y:1.4
ok, works now, strange stuff, cut and paste from opera and you'll get
problems like this, strange strange
--
Chris Lee
Mediawaveonline.com
ph. 250.377.1095
ph. 250.376.2690
fx. 250.554.1120
[EMAIL PROTECTED]
""Chris Lee"" [EMAIL PROTECTED] wrote in message
976kjm$8cl$[EMAIL
Help!
I am trying to post some info to my php script using the microsoft internet control:
strurl = http://www.myserver.com/test.asp
strdata = "lah=sddta=test
Inet1.Execute strurl, "POST", strdata
PHP returns HTTP_POST_VARS as being empty.
Yet, if I use PERL, I can read the posted
mail seems to be just throwing the 'extra headers' in with the body...
$email_text_body = "Hello {$people-people_name[$pos]} how are you
today?";
$email_html_body = "html";
$email_html_body .= "body";
$email_html_body .= "table";
$email_html_body .= "tr bgcolor=ee";
davidg Fri Feb 23 16:48:44 2001 EDT
Modified files:
/php4/ext/midgard mgd_preparser.h
Log:
Fixed some potential and real segfaults.
Index: php4/ext/midgard/mgd_preparser.h
diff -u php4/ext/midgard/mgd_preparser.h:1.4 php4/ext/midgard/mgd_preparser.h:1.5
Ok, I must be missing something, but does anyone have a script that will
order by the closest date in the future that hasn't been here yet. Did that
make sense?
Brian
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
Thanks for your help.
I do work with MySql and that was going to be my final option. But because I
am still in the learning stages of PHP I was hoping for a simple save
command.
Not to worry. MySql it is.
Thanks,
Yobro
""Chris Lee"" [EMAIL PROTECTED] wrote in message
9748a0$5o2$[EMAIL
To order by dates use SQL
select * from news order by PostDate DESC;
and then make sure that PostDate is a date or datetime - hell even an int with
a unix timestamp (aka time()) will work.
--Joe
On Fri, Feb 23, 2001 at 07:52:54PM -0500, Brian S. Drexler wrote:
Ok, I must be missing
Hello,
This is my first attempt, so I'm prolly doing
something stupid, but can someone tell me why this doesn't work?
All it returns is "Unable to INSERT to database"
---BEGIN---
? $time =
time(); $rand = Random_Password(5); $docid =
$time . $rand;
if (isset($email)
isset($docid)) {
On Fri, 23 Feb 2001, Brian S. Drexler wrote:
Ok, I must be missing something, but does anyone have a script that will
order by the closest date in the future that hasn't been here yet. Did that
make sense?
Brian
$plusten = mktime(0,0,0,date("m"),date("d")+10,date("Y") );
Will take
Before your VALUES you need to have a list of the fields ie:
insert into table (id,fname,lname) values ('$id','$fname','$lname')
--joe
On Fri, Feb 23, 2001 at 08:00:30PM -0500, Clayton Dukes wrote:
Hello,
This is my first attempt, so I'm prolly doing something stupid, but can someone tell
Hello, This is my first attempt, so I'm prolly doing something stupid,
but can someone tell me why this doesn't work? All it returns is
"Unable to INSERT to database"
Change : or die("Unable to INSERT to database");
To : or die(mysql_error());
And see what it tells you. Odds are
Read the http://php.net/FAQ about the NULL character problem.
I'm betting you have some funky character that confuses that browser in the
output that the other browsers just ignore.
--
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out? Like Music? Buy a CD:
Hi...anybody can help me about sending email directly using local smtp
port
(25). I've read some articles, still, i don't have a clear explanation.
i.e
: some using \n to separate between each header, but others use \r\n.
The ones using \n haven't read the spec very carefully, and are using
Does anyone know if it is possible to use PHP and cURL to auto-login into
a
site (which sets a cookie) and then fill in a form to send an sms message?
I need to do this to test a site automatically and check response times
for
sending the SMS.
I have no idea what SMS is.
You *can* probably
I wanted to know if there is some syntax in the MSSQL Select statement
which can allow me to limit the no. of records being returned. I am lookin
at functionality which is similar to LIMIT in Mysql.
Look up "cursor" in your MS SQL documentation.
It's not as mind-numbingly simple as LIMIT, but
apxs:Break: Command failed with rc=65536
Search the mailing list archives for "rc=65536"
--
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
--
PHP General
I'm trying to fopen a URL that I have no problems getting to
if I just past it into the address field of my browser. However,
when I use it in my fopen() function call, I'm getting an "Error
0" (zero) message.
I've looked all over the documentation and I could not find what
'Error 0'
I am trying to do a simple encryption on a credit card number to store in a
mysql text field.
I also have to de-crypt the number after exporting to an access db.
I tried to use xor encryption, but it seems to only work half the time, the
other half, I can't seem to de-crypt the # properly, some
if( !($fd = @fopen($ftp_url, "r")) ){
$error = true;
$error_msg = "Unable to connect to server.";
}
else {
$file_contents = fread($fd, 10);
fclose($fd);
}
if( empty($file_contents) ){
$error = true;
$error_msg = "Did not read file.";
}
The problem is that the fread
I am trying to make am admin page for a few other pages in PHP but I dont
know how to save the changes made.
ie. The page has a few checkboxes select boxes that when changed, change
some variables that are then used in other pages.
However I want the changes in the admin page to be
Can anyone tell me if trans sid is supposed to work through form posts,
It is supposed to work.
and
if so how to make it work right? It is working fine through normal links,
but we have quite a few posts, and they lose the session. :(
Use "View Source" in your browser on one of your FORM
I've created a simple form that uploads file to my server. I noticed that
I'm having problems when I use Internet Explorer 4.5 and 5.0 on the Mac (I
haven't checked it yet on the pc). It may have something to do with the
path
to the file. When I use Netscape, the entire path is displayed in
Before redirecting it will also store a cookie in the
browser named camefrom.
SO then On the login.php page a user enters username
and pasword and Submits.. if user is found then It has
to get the Cookie value like this:
$goto = $HTTP_COOKIE_VARS['camefrom'];
header ("Location: $goto");
I' m searching a way to programmatically alternate 2 schedules each sunday
at 00:00. Schedule1 start on first sunday and seven days later, schedule2
replace schedule1,and seven days later, schedule1 replace schedule2 etc...
The *easiest* thing to do would be to run a cron job every Sunday at
You may need chmod 666 instead, for the cache directory...
./menu.cache needs to be *WRITABLE*, not *exectuable*.
Seems pretty scary to me to have world-writable files in your web-site
though...
--
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out? Like Music? Buy a CD:
?php
session_start();
if( !isset( $c)) {
session_register("c");
$c = 1;
}
echo $c . "br";
?
a href="index.php"reload/A
In the new machine this code every show 1, don't save session data.
I see in /tmp and all the sess_* files are empty.
I check configuration, etc, and
I am a system administrator and currently we are playing to migrate all
our CGI (written in C) to php! But playing a little with php i got
worried about how services that need to keep username/password are
handled by php, for instance:
For starters, you *could* have PHP running as a CGI
I would like to have the authenticated user name
appear in my apache access web logs but I am not using
HTTP authentication. I am using phplib to have better
control over the authentication process.
Is there a way to set this apache api variable
from php code so that apache will log these
Why does php self always show php4/php.exe? how do i take it off?
This is a known bug under *some* Win32 installations.
Use ?php phpinfo();? to figure out which variable has what you need in it,
and use that variable.
If you need to deploy on multiple platforms, you'll have to
can someone please send me mysql.sock
( unix redhat 6.2 )
i had a crash - reinstalled the rpm 3.22.32 but this file is missing
Unless I'm grossly mistaken, that file should only exist while MySQL is
actually running, and should contain the socket number that MySQL happens to
be using at the
index.php where they log in from
?
session_start(); file://first line of file
Okay.
?
form method="POST" action="main.php"
input type="hidden" value="lrlogin" name="form_action"
Usernamenbsp;nbsp;input type="text" name="username" class="color"br
/
br/ ? You been typing too much
Now I cannot go any further.
I need to go to a page, password.php!!
All efforts give an error message.
What error message?
Would it perchance, be the one about "headers already sent"?
You need to *NOT* have *ANY* output to the browser before you attempt to do:
header("Location:
You could use popen() to execute http://gnupg.org or PGP...
It would be easier to recompile PHP, though, and performance on popen() is
going to suck.
You *might* be able to compile just the encryption module, and use
dl("mcrypt.so") in your PHP script to load it up rather than recompile all
of
Is it possible to target a frame in the Location: of
a header? Sorry if this has been brought up a
million times before.
No.
You *can* pass enough information to the FRAMESET page that it will load the
right content for each sub-FRAME.
Don't use safe-mode in your suExec PHP CGI configure.
suExec pretty much does everything safe mode does anyway, and more.
--
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time:
Search the net for Rasmus Lerdorf's "posttohost" function from long, long
ago.
--
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
- Original Message -
I am opening the top level of a a directory structure with dir. I want
make
a list of the subdirectories, but not the files. Is there a file test
operator like perl's -d in php? I will then have to go into the sub
directories to perform actions on non directory files
http://php.net/is_dir
Im running php 4.0.4pl1
Fatal error: Call to undefined function: chunk_split() in
/home/httpd/vhosts/myhearingstore/mail.egn on line 33
is there a configure option im supposed to compile in ?
What version of PHP does ?php phpinfo();? claim you are running?...
--
Visit the Zend
1 - 100 of 149 matches
Mail list logo