Hi all,
i was wondering if someone has any idea about how to register that a client has
stopped working with my site and log him/her out?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact th
In my system i have apache-1.3.17, (i probe 1.3.14 but the problem persist),
when i register a variable the session is generatet and a file sess_f5g ...
is generated under /tmp but the file is empty size=0, and no data is stored.
";
?>
reload
this example that works fine in other system with th
davidg Mon Feb 26 01:45:04 2001 EDT
Modified files:
/php4/ext/midgard snippetdir.c
Log:
fixed bug #121
Index: php4/ext/midgard/snippetdir.c
diff -u php4/ext/midgard/snippetdir.c:1.5 php4/ext/midgard/snippetdir.c:1.6
--- php4/ext/midgard/snippetdir.c:1.5
Wow. Julie is on this list!
// send note to self to modify filter and sort for good tips...
Hi Julie.
LOVED your book.
With regard to Hurricane Electronic- we (Abriasoft) use them for our
colocating, and they have always been very proffesional and fair to deal
with. They have a really nice faci
Hello everybody,
I am a newbie, so please help me out with my rather basic question.
Please take a look at the following code snippet:
class HTMLTable extends HTMLElement {
var $attributes;
function HTMLTable() {
$attributes[] = array("border", "0");
$attributes[] = arra
colin olkowski wrote:
>
> hi all,
>
> my question is this, how would one install PHP4 as a module and as a cgi?
>
> somewhere in the install notes for php4 (redhat) the docs clearly say do not
> install both, yet my old hosting company was able to do it.
>
> btw, i just moved from the world of
I'm a beginner but...I can't install php-4.o.4pl1 on my linux
mandrake..why?
When I run configure ,the program checks all the files...
there are some missing..but it never return an error
it return a warning 'you will need bison if you want to regenerate the
php parsers'
and after other check..it
> I have to ask, though, why would you want to run it as a cgi?
>
> Its slower as cgi and runs more security risks.
> I'd only run it as a cgi if that was my only choice.
It's probably less of a security risk when utilised via the cgi actually, at
least when using Apache as the webserver because
Hi all,
I changed
> function HTMLTable() {
> $attributes[] = array("border", "0");
> $attributes[] = array("cellpadding", "0");
> // and some other things
> }
to
$attributes = array(array("border", "0"),
array("cellpadding", "0"));
but am
Joe Stump <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> lynx -source
http://www.php.net/do_download.php?download_file=php-4.0.4pl1.tar.gz&source_
site=www.php.net > php-4.0.4pl1.tar.gz will work - also try wget
Why do so many people apparently not bother to
i have a situation. i hope im clear abt this.
i need to post multiple set of data elements into php.
each set consists of data elements of text, textarea, radio buttons,
checkboxes and even a file(image).
most fields are optional.
all sets are not subset of each other but belongs to the same univ
This is a correction:
I create a new dir
/usr/local/tmp with this perms:
rwxrwxrwtrootroot
and change the dir for store session data to /usr/local/tmp and works, but
in certain situation the some data aren't sotored, :(.
in /tmp don't store data why??
I set loogin to a file if i set t
>
> Hi all,
>
> I changed
>
> > function HTMLTable() {
> > $attributes[] = array("border", "0");
> > $attributes[] = array("cellpadding", "0");
> > // and some other things
> > }
>
> to
>
> $attributes = array(array("border", "0"),
> array(
On Monday 26 February 2001 10:26, Securez wrote:
> session_start();
>
> if( !isset( $c)) {
> session_register("c");
> $c = 1;
> }
>
> echo $c . "";
>
> ?>
> reload
>
> this example that works fine in other system with the same
> configuration, don't work in my machine, everytime he say 1
Hi everyone,
Can anyone tell me where can i find a place where to put my PHP/MySQL applications for
free?
Many thanks
Bye
Bruno
I can't use any filesystem function (fopen, file, fsockopen, etc.) to
open a remote file (fopen wrapper is obviously on).
For example if I try the following:
$S = file ("http://www.yahoo.com/");
I obtain the error: "Bad file descriptor"
If I use an absolute IP address:
$S = file ("http://21
snip
> questions:
> 1. if file is not declared, what does the file elements holds?... i
> sometimes get null value, sometimes get "none"
I get following output with PHP4.0.4pl1 w/ Linux
(I set php.ini to store uploaded files info to $HTTP_UPLOAD_FILES.
You will get different output if you don't)
I try to use this function to prevent that the same visitor vote for more than one
time in a hour but it don't work, the code is this:
if($vote!=1)
{
$time=time();
$time=$time + 36000;
setcookie("vote","1",$time);
}
If the visitor vote, the vote counts, than if he try to vote again the vote don'
Are you looking for a place to host your site- or a place for people to
download apps you've written?
Bruno Mário Amaral Almeida wrote:
>
> Hi everyone,
> Can anyone tell me where can i find a place where to put my PHP/MySQL applications
>for free?
> Many thanks
> Bye
> Bruno
--
-=-=-=-=-=-=-
jmoore Mon Feb 26 05:04:01 2001 EDT
Modified files:
/php4/ext/standard string.c
Log:
Fix for bug #9449 to stop infinate loop in wordwrap.
Index: php4/ext/standard/string.c
diff -u php4/ext/standard/string.c:1.191 php4/ext/standard/string.c:1.192
--- php4/ext/
Have you tried www.isamillionaire.com ?
they have php4 / mySQL support, they are free and have no banner ads.
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original Message-
From: Bruno Mário Amara
try these:
php_value include_path "/my/phpinc/path"
but why instead not to create a .htaccess file, or if you don't want it to
be modified by user to make a one single auto_prepend with:
$file = "$DOCUMENT_ROOT/my/phpinc/path";
if(file_exists($file))
include_once($file);
this wouyld w
Yes you are wrong,
what you can do is to search for the SQL queries in tutorials which will
return you that information.
also phpinfo() has some very little and necessary coverage of basic
php-mysql configurations,
if you download phpmyadmin you will have this option there (even with edit).
Si
Yes, you could use stripslashes($string) on it's output, in this way it will
be no different as it was inputted.
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original Message-
From: Clayton Duk
Could you please be more specific on your need?
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original Message-
From: Jim Lum [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 26, 2001 9:21 AM
To: [
Would
$string_new = ereg_replace("\n[ \t\r\n]*\n", "\n", $string);
work for you?
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original Message-
From: Jeff Oien [mailto:[EMAIL PROTECTED]]
Sent: M
Use SourceForge.com, in case you still are building your OpenSource
application,
you can then host it and use it there.
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original Message-
From: [EM
Mensagem Automatica do Terra [[EMAIL PROTECTED]]
Could anyone please remove this guy?
his mailbox has exceeded by size, guess he didn't know how many subscribers
are on this list
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
w
http://www.f2s.com/
is another option.
Jeff Oien
> Hi everyone,
> Can anyone tell me where can i find a place where to put my PHP/MySQL
> applications for free?
> Many thanks
> Bye
> Bruno
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additi
I need some help...
I try to do a ftp connection with php, but when i run the script it claims
that ftp_connect is "call to undefined function.
I have done a call to phpinfo, and it shows that ftp IS enabled! - Whats wrong?
Here is what i use:
$conn_id = ftp_connect("MyFtpSite");
$login_resul
> I am using php 4.0.4pl1. I added the AS400 toolkit to the JVM so I can
> interface with an AS400. but for some reason when I go to use a class in
> the JVM it says.
>
> Fatal error: Cannot instantiate non-existent class: java in
> c:\Inetpub\wwwroot/AS400/testtoolbox.php on line 11
>
> Below
PHP 4.0.4 pl1, Apache 1.3.17, BSD/OS 4.1 pl37
Good Morning!
Please forgive me if this has been covered ad nauseum, but I
have searched high and low for an answer with no luck.
After building PHP as a module, following the online
instructions, Apache complained that it could not resolve
hostn
Hi :-)
Can someone tell me how to do the equivalant of
this Perl script in PHP?
## This function prints all lines between
the dashes read in a text file###
### The file looks like this:
# -
# Somedata:
something
# Someother:
something else
# -
you have to set to path and the domain name too...
setcookie('vote', '1', $time, '/', '.someite.com');
--
Chris Lee
Mediawaveonline.com
ph. 250.377.1095
ph. 250.376.2690
fx. 250.554.1120
[EMAIL PROTECTED]
""Nuno Costa"" <[EMAIL PROTECTED]> wrote in message
000e01c09ff0$feee9570$1e01
This could be a JS issue but right now I'm really
not sure.
I have this code,
} elseif ($cat == 'bikes' && $sub_cat == 'Road') {
$i = 1;
while ( list($type,) = each($bikes[$sub_cat])) {
echo "\n";
echo "$type\n";
$i++;
}
echo "";
Which creates this (in IE),
Tre
your can use the PCRE functions in php - much better than ereg and all
that - if you know perl already...
Clayton Dukes wrote:
>
>
> Hi :-)
>
> Can someone tell me how to do the equivalant of this Perl script in PHP?
>
>
>
> ###
> ### This function prints all lines between the dashes re
How?
I don't know perl all that well, I am just trying to convert some scripts.
- Original Message -
From: "kevin1" <[EMAIL PROTECTED]>
To: "Clayton Dukes" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, February 26, 2001 10:29 AM
Subject: Re: [PHP] PERL to PHP
> your can use
kalowskyMon Feb 26 07:17:12 2001 EDT
Modified files:
/php4/ext/imap config.m4 php_imap.c php_imap.h
Log:
Correctly checks for the proper header files, and excludes the QUOTA functions
from non-imap2000 systems (unavailable for testing at this time).
First, can anyone point me to a good "mcrypt" primer or tutorial?
Second, how can I determine what type and length I should make a
database field that will hold encrypted data? Is there some table
somewhere which tells how long a resulting encrypted field will be
based on the encryption type and
kalowskyMon Feb 26 07:20:53 2001 EDT
Modified files:
/php4 NEWS
Log:
#Just adding in proper id (forgot to do it on the initial)
PR:
Submitted by:
Reviewed by:
Obtained from:
Index: php4/NEWS
diff -u php4/NEWS:1.599 php4/NEWS:1.600
--- p
hirokawaMon Feb 26 07:41:38 2001 EDT
Modified files:
/php4/ext/iconv iconv.c
Log:
ob_iconv_handler changed to use for text data only.
Index: php4/ext/iconv/iconv.c
diff -u php4/ext/iconv/iconv.c:1.6 php4/ext/iconv/iconv.c:1.7
--- php4/ext/iconv/icon
Is there a way to tell what browser is being used by the client in php?
Thanks,
Jay
--
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]
How can I make this a variable?
ie:
foreach (file("$file.txt") as $line)
{ print ("" . trim(str_replace("'", "''", $line)) .
"\n"); }
changed to:
$data = foreach (file("$file.txt") as $line)
{ print ("" . trim(str_replace("'", "''", $line)) .
"\n"); }
Simply adding the $d
The php.ini file has safe-mode = Off so I don't think that is the problem.
Suexec is checking to see that the php binary has the same uid/gid as the
virtual host user running the php script. Since the php binary is owned
by the web server user and the script is owned by one of the virtual hos
Hi. In some of my files, I have a require statement to get some global
stuff accessable. I also have some header() redirects. They don't work
(they worked before I added the requires). I moved the require under one of
the header()s and that one works now, but I can't move it under the other
on
andiMon Feb 26 07:49:38 2001 EDT
Modified files:
/php4/ext/standard string.c
Log:
- Fix whitespace
Index: php4/ext/standard/string.c
diff -u php4/ext/standard/string.c:1.192 php4/ext/standard/string.c:1.193
--- php4/ext/standard/string.c:1.192Mon Fe
you can concatentate the variable inside the foreach loop.
foreach (file("$file.txt") as $line) {
$data .= ("" . trim(str_replace("'", "''", $line)) . "\n");
}
-Original Message-
From: Clayton Dukes [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 26, 2001 8:17 AM
To: [EMAIL PROTECT
hi,
i would like to set up a script "forum" such that you can call a url
http://www.server.com/forum/general
and it will php-parse forum and pass /general as PATH_INFO. it's easy
to get done as http://www.server.com/forum.php/general, but i would
like to disclose the script name for reasons of o
Thanks!
- Original Message -
From: "Dan Olsen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 26, 2001 11:39 AM
Subject: RE: [PHP] Making a variable
>
> you can concatentate the variable inside the foreach loop.
>
> foreach (file("$file.txt") as $line) {
> $data .=
Thanks again,
Is there a way I can tell it to print all but the first 13 lines and the
last two lines of the text file?
-Clayton
- Original Message -
From: "Dan Olsen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 26, 2001 11:39 AM
Subject: RE: [PHP] Making a variab
Hi,
I downloaded the GD libary and want to enable it with PHP but I cant figure
out how to do that - can anyone tell me how to do it? Do I have to put the
path to GD-libary inside the PHP.ini and if so, where?
Regards,
Sumarlidi Einar Dadason
SED - Graphic Design
-
dbeuMon Feb 26 08:32:57 2001 EDT
Modified files:
/php4/main php.h
Log:
nuke warnings
Index: php4/main/php.h
diff -u php4/main/php.h:1.132 php4/main/php.h:1.133
--- php4/main/php.h:1.132 Sun Feb 25 22:07:31 2001
+++ php4/main/php.h Mon Feb 26 08:3
Nothing tested, just off the top of my head. The single most reliable way to
do that would be to have a page that runs JavaScript.
For instance, if the JavaScript executes, it redirects to your JavaScript
enabled page, if not, the page does a refresh to a non JavaScript enabled
page.
tester>
yes but you might want to use a for() loop instead since you know what you
want.
$arrayoflines = file($file.txt);
$arraysize = sizeof($arrayoflines);
$limit = $arraysize - 2;
for (i=0; i<$arraysize; i++) {
if ( (i>12) && (i<$limit) ) {
$output .= $
this is a function that is BUILT-IN to HTML for the last few versions.
//some script here
--
this will redirect non-javascript browsers to a non-javascript page.
DanO
-Original Message-
From: Dave Goodrich [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 26, 2001 8:56 AM
To:
php-general Digest 26 Feb 2001 17:00:56 - Issue 535
Topics (messages 41650 through 41704):
Re: Simple String Replace Question
41650 by: Jeff Oien
41679 by: PHPBeginner.com
Re: PHP4 directives in httpd.conf not working
41651 by: David Robley
41675 by: PHPBegi
Wow, I hope you all will forgive me for one last go around on this thread :)
Technically, what does "set" mean? It is not the same as "is registered" or
"has a value", right? What is "is set"? Is it "introduced to the global
namespace"?
TIA
Kirk
>Except that it will throw a warning in PHP4 if
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=sd&dta=test
Inet1.Execute strurl, "POST", strdata
PHP returns HTTP_POST_VARS as being empty.
Yet, if I use PERL, I can read the posted info j
HTTP_USER_AGENT
http://php.net/manual/en/language.variables.predefined.php
-Brian
> -Original Message-
> From: Paulson, Joseph V. "Jay" [mailto:[EMAIL PROTECTED]]
> Sent: Monday, February 26, 2001 11:16 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Browser?
>
>
> Is there a way to tell
The problem I had with this in the past is that I didn't have permission to
write to the dir mysql.sock was supposed to be in so when Mysql tried to
start it would fail.
--
phill
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands
Addressed to: "Scott Rothgaber" <[EMAIL PROTECTED]>
[EMAIL PROTECTED]
** Reply to note from "Scott Rothgaber" <[EMAIL PROTECTED]> Mon, 26 Feb 2001 09:45:42
-0500
>
> PHP 4.0.4 pl1, Apache 1.3.17, BSD/OS 4.1 pl37
>
> Good Morning!
>
> Please forgive me if this has been covered ad na
Put phpinfo() in the script to see what is going on..
On Monday, 26 February 2001, at 09:12:11 (-0800),
Chris wrote:
>
> 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=sd&dta=test
>
Dan...
You are the man, thanks! :-)
- Original Message -
From: "Dan Olsen" <[EMAIL PROTECTED]>
To: "Clayton Dukes" <[EMAIL PROTECTED]>
Sent: Monday, February 26, 2001 12:30 PM
Subject: RE: [PHP] Making a variable -Trim output
>
> clayton-
>
> the only problems were syntactic.
>
> there
Addressed to: "Jason Jacobs" <[EMAIL PROTECTED]>
[EMAIL PROTECTED]
** Reply to note from "Jason Jacobs" <[EMAIL PROTECTED]> Mon, 26 Feb 2001 11:28:37
-0500
>
> Hi. In some of my files, I have a require statement to get some global
> stuff accessable. I also have some header() red
kalowskyMon Feb 26 08:36:08 2001 EDT
Modified files:
/php4/ext/imap php_imap.c
Log:
# Bad patch job on the last commit by me. I take the BAD_CODER award for
# the day.
Removes two unnecessary REGISTER_MAIN_LONG_CONSTANT's.
# what should be do
Hello,
I am looking for a php trace route that I can have get the IP of the person
browsing the site and do a trace route from the server. Then I want to
reverse the results so It looks like they are doing a trace route on the
server rather than the server doing a trace route on them.
Thank you
How can I have an new session id without closing the browser?
session.inc contains basically the postgresql session functions (user
handler) in http://www.php.net/manual/en/ref.session.php
I have change pg_pconnect for pg_connect and I have added
pg_destroy_session.
1. There is a login/passw
On Mon, 26 Feb 2001, Chris Aitken wrote:
>
> Okay, I got a bit of a curley one that I havent been able to solve by
> looking at the archives and in the manual. Its kind of a PHP/Apache
> question.
>
> I have a system where a user logs in through .htaccess, it queries my
> mysql database, sets a co
Hi All,
I have been using PHP for the last 5 months, and it's great, Unitl now,
I have been using connections to informix and everything is OK.
Now I need to connect from a linux-apache server to a paradox db in
other machine (Windows NT), so the question is, What do I need to make
the connect
Rene,
You can use OpenLink's Multi-Tier driver. We don't directly support
Paradox, but there is a MS driver on most NT systems that we can work with,
in a 'piggyback' method.
Use the iODBC-PHP HOWTO at http://www.iodbc.org/odbc-phpHOWTO.html
Install the OpenLink Multi-Tier drivers for linux cli
At 3:47 PM +0530 2/26/01, Harshdeep S Jawanda wrote:
>Hello everybody,
>
>I am a newbie, so please help me out with my rather basic question.
>
>Please take a look at the following code snippet:
>
> class HTMLTable extends HTMLElement {
> var $attributes;
>
> function HTMLTable() {
>
andiMon Feb 26 10:14:32 2001 EDT
Modified files:
/php4 configure.in
/php4/ext/gettext php_gettext.h
/php4/ext/icap php_icap.c
/php4/ext/imap php_imap.h
/php4/ext/mcal php_mcal.c
/php4/ext/mcryptphp_mcrypt.h
/
How do you determine a user's screen size (resolution)? Isn't there a
variable/function for this?
--
Focus Design Group, Inc.
http://www.focusdesigngroup.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL P
> How do you determine a user's screen size (resolution)? Isn't there a
> variable/function for this?
I doubt you could do this in PHP, since your browser doesn't normally
include screen size information in the headers it sends across to web
servers.
However, JavaScript can do this -- there's a
What is the newsgroup archive location ?
marc.themaesgroup.something ?
Jerry Lake- [EMAIL PROTECTED]
Web Designer
Europa Communications - http://www.europa.com
Pacifier Online - http://www.pacifier.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [E
Hello everyone,
I know this is a bit of an deviation from the normal type of email this list
gets, so I'll keep it short. If you are reading this, then you have probably
judged by the title that this has to do with a user group, in Atlanta. If
you live in Atlanta, GA (or close enough that you tel
Hi everyone,
First, let me explain I am a very knowledgable php developer. I'm not
someone trying to write their first script. I have been working on a
very large and complex problem for some time now when it suddenly
stopped working. I did not change anything in any configurations or
e
Use passthru to run traceroute on the ip of interest, then output the
results of that command, line by line, starting with the last line.
J
on 2/26/01 9:48 AM, Brandon Orther at [EMAIL PROTECTED] wrote:
>
> Hello,
>
> I am looking for a php trace route that I can have get the IP of the perso
Another neat trick is to use ftp to upload, avoiding the need to change
permssions.
- Original Message -
From: "Dhaval Desai" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, February 24, 2001 12:25 AM
Subject: [PHP] Change dir mode to writable for uploading..
> Hi!
>
> I have
sas Mon Feb 26 10:34:07 2001 EDT
Modified files:
/CVSROOTcvsusers
Log:
update email address of eskaly
Index: CVSROOT/cvsusers
diff -u CVSROOT/cvsusers:1.228 CVSROOT/cvsusers:1.229
--- CVSROOT/cvsusers:1.228 Sun Feb 25 16:25:35 2001
+++ CVSROOT/cvsu
On Monday 26 February 2001 14:38, PHPBeginner.com wrote:
> > Yes, you could use stripslashes($string) on it's output, in this way
it
> will be no different as it was inputted.
> -Original Message-
> From: Clayton Dukes [mailto:[EMAIL PROTECTED]]
> Sent: Monday, February 26, 2001 9:57 A
On Monday 26 February 2001 18:07, Johnson, Kirk wrote:
> Wow, I hope you all will forgive me for one last go around on this
> thread :)
>
> Technically, what does "set" mean? It is not the same as "is
> registered" or "has a value", right? What is "is set"? Is it
> "introduced to the global namesp
rasmus Mon Feb 26 11:34:09 2001 EDT
Modified files:
/CVSROOTavail cvsusers gen_acl_file.m4
Log:
Doc account for Julio Cesar Carvalho Rocha
Index: CVSROOT/avail
diff -u CVSROOT/avail:1.103 CVSROOT/avail:1.104
--- CVSROOT/avail:1.103 Sun Feb 25 16:25:35 2
Hi there,
We are currently using 3.0.16 (I know :().
I have a form action pointing to $PHP_SELF. After submitting the form
information, $userfile contains what I expect in $userfile_name. I have
had all sorts of troubles with file uploads lately, but eventually they
start working. Not this time.
Hi again. :) Does anyone know how to reference a value in an array or
object if the returned table has 2 fields of the same name. IE, I am
querying 2 tables and returning an id value from each. On both tables, the
id fieldname is "id". I know I can access the vals like $array[0] and
$array[1],
Greetings -
FYI: I have WinNT + Apache + PHP
Does anyone know the difference between the cgi version of php4 (php.exe) as
opposed to setting up php4 as a server's module?
I have both versions installed its just that I do not know what is the
difference when it comes to functionality. Does the c
Hello,
Is there a way to remove the first numbers of a string? Here is an example:
$string1 = "12 this is number twelve";
when done: " this is number twelve";
$sting1 = "123 this is number one twenty three"
when done: " this is number one twenty three";
Thank you,
---
Hi,
I need a way to walk through mail headers and search for a specific string
in the subject. If the message contains the string, it will be forwarded to
a different account, otherwise it will trigger an autoresponse with a
certain message to the sender. Does anyone have any infomation on doing
On the surface this sounds like a job for procmail (www.procmail.org).
On Mon, 26 Feb 2001, Jason wrote:
> Date: Mon, 26 Feb 2001 11:58:53 -0800
> From: Jason <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: [PHP] Walking Through Mail Headers
>
> Hi,
>
> I need a way to walk through ma
Hello,
I am attempting to install php4.04 and apache1.3.14
php configure commands:
./configure --with-apache=../apachessl-1.3.14 \
--with-jpeg-dir=/usr/local/lib --with-pgsql --with-gd \
--with-ttf=/usr/local/lib --with-t1lib=/usr/local/lib \
--enable-gd-imgstrttf --with-pfpro=/usr/local/lib
a
Jason Jacobs wrote:
>
> Hi again. :) Does anyone know how to reference a value in an array or
> object if the returned table has 2 fields of the same name. IE, I am
> querying 2 tables and returning an id value from each. On both tables, the
> id fieldname is "id". I know I can access the val
sas Mon Feb 26 12:26:07 2001 EDT
Modified files:
/php4/ext/standard basic_functions.c
Log:
Provide proper function aliases, if the sendmail functions
don't exist.
Submitted by: Nadir Amra <[EMAIL PROTECTED]>
Index: php4/ext/standard/basic_functio
On Mon, 26 Feb 2001 11:57:04 -0800, Brandon Orther
([EMAIL PROTECTED]) wrote:
>Hello,
>
>Is there a way to remove the first numbers of a string? Here is an
>example:
>
>$string1 = "12 this is number twelve";
>when done: " this is number twelve";
>
>$sting1 = "123 this is number one twenty three"
hi all,
thanks for the replies. many of you asked why I want to use php4 as a cgi.
basically it boils down to this, using PHP as CGI you can run PHP scripts
via cron tab, which eliminates the need for shell scripting (yeah baby).
i did some investigation a few months ago (when I was on a virtu
I just installed php as an apache DSO module
on the first try of a phpinfo(); it worked
just as it should, then I loaded phpmyadmin
and now when I make a request for a php file
it tries to download, my httpd.conf file seems
to be in order...any ideas?
Jerry Lake- [EMAIL PROTECTED]
Web
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Maybe this will help:
Break the query up into a variable so PHP can string it together
better.
Exec. the query, check the result, if good,
check the results for rows, if results, display results,
else, do nothing, if query faield, set err to 1 and set
also sprach Fredrik Arild Takle (on Mon, 26 Feb 2001 10:34:11PM +0100):
> did you get answers to your problem?
not from the list. but i found two solutions, both of which require
modification of httpd.conf, and both of which are ergo
apache-specific:
http://www.zend.com/tips/tips.php?id=145&sing
Hi all, This is probably something dumb I'm missing, but I am using the
following code:
echo "\n";
echo "\n";
$photocount = 0;
while($row = mysql_fetch_array($result)) {
$smallpic = $row['smallpic'];
if (($photocount % 3) == 2) {
echo "\n\n";
}
echo "$smallpic\n";
$photocount++
Is it because 1 % 3 is 0 with a remainder of 2? Looks like the code is doing
just what it is written to do. The "if" evaluates to true on the second
picture.
Kirk
-Original Message-
From: James, Yz [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 26, 2001 2:55 PM
To: [EMAIL PROTECTED]
S
Yes, try lib cURL it supports authentification and even SSL.
http://www.php.net/manual/en/ref.curl.php
Mike
-Original Message-
From: Marius David [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 23, 2001 5:33 PM
To: [EMAIL PROTECTED]
Subject: [PHP] php and apache protected directories
1 - 100 of 169 matches
Mail list logo