In article
[EMAIL PROTECTED],
[EMAIL PROTECTED] says...
Hi! This is the ezmlm program. I'm managing the
[EMAIL PROTECTED] mailing list.
I'm working for my owner, who can be reached
at [EMAIL PROTECTED]
To confirm that you would like
[EMAIL PROTECTED]
added to the
You could do it this way:
Put the content of the file into a variable:
?php
$fp = fopen($filename, r);
$content = !-- Insert Start --;
if($fp) {
while(! feof($fp)) {
$content .= fread($fp, 1024);
}
}
?
Insert the variable into a div tag:
div id=content
?php
echo $content;
?
/div
So you don't want the form data to be encoded in the url?
Something like this would probably do it:
form action=input.php method=post enctype=multipart/form-data
name=form
input name=Stock type=hidden value=$var
input name=button type=submit value=Click to add
/form
That'll just display a
Hi all,
I'm looking for a tool that will parse an xml doc into somthing like an
associative array for me. Basically somthing to make life simple when
dealing with Amazon XML docs.
I have been all thru hotscripts and even tried doing it myself but my
time is limited and the tools out there are
Hi all,
If I wanted to store an array for future use in a MySQL TEXT Column
(dont ask, it's complicated... hehe!) how would I go about it?
I thought of just putting the results of print_r($myarray); into the
text field and using eval() to get at it later... is that the right way
to go?
Many
[snip]
I did RTFM...I always RTFM first. That was the example in the F Book!.
Mark Roberts, Roberts Computing Systems
Webmaster Services $29.50/mo
$reccount = @mysql_query(select count(*) from mytable where user =
'testuser');
I try this from mysql and get the correct response ( 1 ).
However,
[snip]
I'm looking for a tool that will parse an xml doc into somthing like an
associative array for me. Basically somthing to make life simple when
dealing with Amazon XML docs.
I have been all thru hotscripts and even tried doing it myself but my
time is limited and the tools out there are
[snip]
If I wanted to store an array for future use in a MySQL TEXT Column
(dont ask, it's complicated... hehe!) how would I go about it?
I thought of just putting the results of print_r($myarray); into the
text field and using eval() to get at it later... is that the right way
to go?
[/snip]
* and then Jay Blanchard declared
[snip]
If I wanted to store an array for future use in a MySQL TEXT Column
(dont ask, it's complicated... hehe!) how would I go about it?
I thought of just putting the results of print_r($myarray); into the
text field and using eval() to get at it
At 11:10 24-2-04, you wrote:
Hi all,
If I wanted to store an array for future use in a MySQL TEXT Column
(dont ask, it's complicated... hehe!) how would I go about it?
you could consider serialize()
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
hi -
i don't know much about php, but somehow i managed to install a simple
php-guestbook on my website:
http://www.maanzand.be/guestbookk/readbook.php
unfortunately, i cannot get it to work
everything seems fine, but i can't manage to write to the guestbook.txt
file
(permissions are
You are bad
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
could it be that this is an old script that requires register_globals to be
turned ON or so?
if you can read Dutch, read http://www.phpfreakz.nl/artikelen.php?aid=88
At 12:25 24-2-04, you wrote:
hi -
i don't know much about php, but somehow i managed to install a simple
php-guestbook on my
Hi,
I want to be able to manipulate files that are on my samba file server from
my PHP application. These shares are not normally mounted on my web server
and it would be inconvenient and yet another administative maintenance task
to do so.
So... I want to be able to present a form to the user
Hi,
I want to be able to manipulate files that are on my samba file server from
my PHP application. These shares are not normally mounted on my web server
and it would be inconvenient and yet another administative maintenance task
to do so.
So... I want to be able to present a form to the user
Hi (again),
I need to unzip (in/from PHP) files that have been zipped using pkzip on a
windows machine using a password.
Has anybody any thoughts on how to do this. I was just going to call a
command line program (if I can find one!), but thought I would ask if there
is something cleverer.
Sadly, none of your tips works.
__FILE__ shows the script filename, not to the path of the current dir.
Where can I find out more about this kind of constants? Can't see it
anywhere in the manual.
The problem is this:
DocumentRoot (/): D:/Web/htdocs/
Users (/~x/): D:/Web/users/
Stuff1
Hello Karl,
Tuesday, February 24, 2004, 5:11:40 AM, you wrote:
KT I am using fsockopen with fputs to send some headers to a HTTP server,
KT and I say I accept gzip encoding. The data gets returned and I put it
KT in a variable. However, whichever gzip command I try using in PHP to
KT decompress
Howard Miller wrote:
Hi (again),
I need to unzip (in/from PHP) files that have been zipped using pkzip on a
windows machine using a password.
Has anybody any thoughts on how to do this. I was just going to call a
command line program (if I can find one!), but thought I would ask if there
is
On 20 February 2004 22:29, Ed Lazor wrote:
PHP include statements default to the current directory. If
the path to
my PHP files is /home/osmosis/public_html, why would users visiting my
site occasionally get an error that the include file wasn't found in
/home/budguy/public_html?
It's
On 24 February 2004 06:58, adwinwijaya wrote:
input name=image type=file
$uploadfile = $uploaddir . $_FILES['userfile']['name'];
Array
(
[image] = Array
Hint: image!=userfile
Cheers!
Mike
-
Mike
Hi All,
function extractFieldsets($subject)
{
$regexp=/fieldset([^]*)[^(\/fieldset)]*/i;
$replacement;
$matches=array();
preg_match_all($regexp, $subject, $matches);
return ($matches);
}
$result=extractFieldsets('testfieldset attribute=hellocontent of
var_dump($_FILES);
Mike Ford [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
On 24 February 2004 06:58, adwinwijaya wrote:
input name=image type=file
$uploadfile = $uploaddir . $_FILES['userfile']['name'];
Array
(
[image] = Array
Hint:
Hi All,
I don't actually think regexp is fault. But if anyone could explain this or
give me some example code that will extract the attributes and data between
a fieldset tag pair I would be appreciated.
Henry
Henry Grech-Cini [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi All,
Simon Fredriksson wrote:
Sadly, none of your tips works.
__FILE__ shows the script filename, not to the path of the current dir.
Where can I find out more about this kind of constants? Can't see it
anywhere in the manual.
The problem is this:
DocumentRoot (/): D:/Web/htdocs/
Users (/~x/):
Hello,
I want to know how to control php program connect to MySQL Database
System ( another computer machine ) ?
Thank a lots.
Ed.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
You have to make the code yourself,
After session_start you should check the session for some
variable you use to check if the user is logged in
eg:
?php
session_start();
if( !isset($_SESSION['logged_in']) || $_SESSION['logged_in'] == 0) {
snip
I want to know how to control php program connect to MySQL Database
System ( another computer machine ) ?
/snip
http://www.php.net/manual/en/function.mysql-connect.php
http://www.php.net/manual/en/function.mysql-pconnect.php
--
PHP General Mailing List (http://www.php.net/)
To
Hello,
How can we connect to MS-SQL Server ?
What tools ( where can we download ) must be installed ?
Thank a lots.
PS : the php programs under Linux / Unix...
Ed.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[snip]
How can we connect to MS-SQL Server ?
What tools ( where can we download ) must be installed ?
Thank a lots.
PS : the php programs under Linux / Unix...
[/snip]
I usually connect to my servers using cables, but YMMV. Might I suggest
that you read some manuals and books? The questions
mysql_connect(IP, username, password);
[EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]
Hello,
I want to know how to control php program connect to MySQL Database
System ( another computer machine ) ?
Thank a lots.
Ed.
--
PHP General Mailing List (http://www.php.net/)
To
As Jay said, check through the manual. The answers you're looking for
may be found right here:
http://www.php.net/mssql
Jay Blanchard wrote:
[snip]
How can we connect to MS-SQL Server ?
What tools ( where can we download ) must be installed ?
Thank a lots.
PS : the php programs under Linux /
I know there is a package for Linux / Unix :
php-mysql
But, I want to know is there any tools similar with php-mssql for php
connect with MS-SQL ?
Any other can help ?
Thank for your help !
Ed.
Jay Blanchard wrote:
[snip]
How can we connect to MS-SQL Server ?
What tools ( where can we
Make sure you have the dll or so loaded.
mssql_connect(IP#, username, password);
[EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]
Hello,
How can we connect to MS-SQL Server ?
What tools ( where can we download ) must be installed ?
Thank a lots.
PS : the php programs under
Hi,
Here is the problem:
The session gc runs and deletes the session data. This is good,
but calling session_start in PHP obviously creates a new session.
How can I know if the session was created after an old one was
deleted because gc has invalidated it or it is a
depending how long you want to keep it, wrap the array in a object and
then serialize the object in a session variable.
Nick Wilson [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
* and then Jay Blanchard declared
[snip]
If I wanted to store an array for future use in a MySQL
rather just serialize() it. didnt read your question properly
Jakes [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
depending how long you want to keep it, wrap the array in a object and
then serialize the object in a session variable.
Nick Wilson [EMAIL PROTECTED] wrote in
What do you need this for.? You session is only suppose to last for one
browser session
Catalin Trifu [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi,
Here is the problem:
The session gc runs and deletes the session data. This is good,
but calling
snip
But, I want to know is there any tools similar with php-mssql for
php
connect with MS-SQL ?
Any other can help ?
/snip
1. look at the manual http://php.net/mssql
2. try google
3. search the list archives
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
On 24 February 2004 12:40, Henry Grech-Cini wrote:
Hi All,
function extractFieldsets($subject)
{
$regexp=/fieldset([^]*)[^(\/fieldset)]*/i;
This: [^(\/fieldset)]
will match any *single* character except the ones listed -- i.e. any character that
isn't one of: ()/defilst
So this:
in the first page of your website, or when you connect for the firs
time to it
$_SESSION['first_session_value'] = session_id();
others pages
if($_SESSION['first_session_value'] != session_id()){
echo The session has a new value;
}
Seba
Il mar, 2004-02-24 alle 15:16, Jakes ha
Does older than php 4.2.2 support with this function ?
Matt Matijevich wrote:
snip
I want to know how to control php program connect to MySQL Database
System ( another computer machine ) ?
/snip
http://www.php.net/manual/en/function.mysql-connect.php
Henry Grech-Cini schrieb:
...
$regexp=/fieldset([^]*)[^(\/fieldset)]*/i;
...
$result=extractFieldsets('testfieldset attribute=hellocontent of
hello/fieldsetemblah/emfieldset
attribute=goodbyegoodbye/fieldset');
...
And it produced;
(0)=
(0)=[fieldset attribute=hellocon]
(1)=[fieldset
Hi!
Been trying all day to be able to fire off a load data local infile
using php, but haven't yet succeded
The setup is as follows: the client should upload a .csv-file to the
webserver. Here, php shall issue a load data local infile-statement to
load the data into a mysql-database.
The
Thanks Sven,
You are quite right with your some probs comment.
Do you know what the the switch is that catches only the least result?
I now get
(0)=
(0)=[fieldset attribute=hellolegendhello legend/legendcontent of
hello/fieldsetemblah/emfieldset
attribute=goodbyegoodbye/fieldset]
(1)=
(0)=[
On Tuesday 24 February 2004 22:47, [EMAIL PROTECTED] wrote:
Does older than php 4.2.2 support with this function ?
As has already been suggested, could you try reading the manual? Please?
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web
Thanks for that Mike,
I was getting lost.
Is there anyway to say
Any characters excluding the sequence /fieldset
so I could do something like
/fieldset([^]*)(.* whilst not \/fieldset)\/fieldset/i
Or alternatively is there a switch to say get the smallest sequence
Thanks
Henry
Mike Ford
http://www.freetds.org
Enjoy.
On Tue, 2004-02-24 at 08:53, [EMAIL PROTECTED] wrote:
Hello,
How can we connect to MS-SQL Server ?
What tools ( where can we download ) must be installed ?
Thank a lots.
PS : the php programs under Linux / Unix...
Ed.
--
Adam Voigt
[EMAIL PROTECTED]
Why can't you just mount the share on-the-fly when they enter the
username and pass?
On Tue, 2004-02-24 at 06:11, Howard Miller wrote:
Hi,
I want to be able to manipulate files that are on my samba file server from
my PHP application. These shares are not normally mounted on my web server
Hi,
I have an update statement that tries to update a number of values - these values have
unique value constraint so when I do the update it will either succeed or fail. If it
fails how can I determine where the update failed. i.e. pinpoint the value that was
not unique?
At the moment I am
[snip]
How can I improve on the above to give specific error information.
[/snip]
Use mysql_error() http://www.php.net/mysql_error
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
You can't
well, not via PHP anyway. You would need to do a select first to establish
if any of these values exist in the database. Something like...
select first,last,email from mytable where first=x or last=y or email=z;
then check which one of first,last,email is non-empty.
BUT.. do you
I am prepared to be wrong (but I'm too lazy to go and try it)...
does MySql return a detailed enough error message to detect *which* field
caused the problem. IIRC, I don't think it does.
Anyway *if* it does it will be in here...
http://www.mysql.com/doc/en/Error-returns.html
DUP UNIQUE I
I came accross this link
a href=
http://www.alpha-geek.com/2003/12/31/do_not_do_not_parse_html_with_regexs.html
http://www.alpha-geek.com/2003/12/31/do_not_do_not_parse_html_with_regexs.html /a
Do we all agree or should I keep trying?
Henry
--
PHP General Mailing List (http://www.php.net/)
Well, mainly because PHP doesn't (I think) have a mount function. It would
mean executing an external command. I always regard that as living a bit
dangerously - it can be difficult to write robust code that will recover
from a problem that way.
Adam Voigt wrote:
Why can't you just mount the
Henry Grech-Cini schrieb:
Thanks Sven,
You are quite right with your some probs comment.
hi,
think i found it. try this:
?php
$rx = '/fieldset.*(.*)\/fieldset/iU';
?
the '/U' stands for 'ungreedy'. also note the change in the attribs-regex.
hth SVEN
--
PHP General Mailing List
Henry Grech-Cini [EMAIL PROTECTED] skrev i meddelandet
news:[EMAIL PROTECTED]
Thanks for that Mike,
I was getting lost.
Is there anyway to say
Any characters excluding the sequence /fieldset
so I could do something like
/fieldset([^]*)(.* whilst not \/fieldset)\/fieldset/i
Or
Hi,
I want to redirect my users to a session expired page and not directly
to
a blank login page based on wheter this is just a gc colected session.
In case the user goes to sleep but leaves the browser open and then in
the
morning he comes back and does something the browser will
Gary Sanders wrote:
Charlie,
Can you make the submit target be the PHP script and have the PHP script
call the Perl script to send the email?
Sure, that would definitely work; I just don't know how to
call the Perl script and pass the data (and
uploaded/attached files) to it.
--
Charlie
The tool named freetds ?
Adam Voigt wrote:
http://www.freetds.org
Enjoy.
On Tue, 2004-02-24 at 08:53, [EMAIL PROTECTED] wrote:
Hello,
How can we connect to MS-SQL Server ?
What tools ( where can we download ) must be installed ?
Thank a lots.
PS : the php programs under
__FILE__ shows the script filename, not to the path of the current dir.
Where can I find out more about this kind of constants? Can't see it
anywhere in the manual.
Yeah, that's what it does. The point is that your current dir (upon
execution) will be the location of your DirectoryIndex script.
If you're running PHP as an Apache module, this may solve it:
http://php.net/apache_lookup_uri
Neat - I learn something new everyday!
-
michal migurski- contact info and pgp key:
sf/ca
When I go from a normal php page (mod) to a cgi-based php page (stand
alone), the session_start() function generates an error
Warning: open(/tmp/sess_be0b03b8eb0ed759b10792d823099678, O_RDWR)
failed: Permission denied (13) in (filename) on line 3
Is there a way to carry sessions across the
Catalin Trifu wrote:
I want to redirect my users to a session expired page and not directly
to
a blank login page based on wheter this is just a gc colected session.
In case the user goes to sleep but leaves the browser open and then in
the
morning he comes back and does something the
Henry Grech-Cini schrieb:
I came accross this link
a href=
http://www.alpha-geek.com/2003/12/31/do_not_do_not_parse_html_with_regexs.html
http://www.alpha-geek.com/2003/12/31/do_not_do_not_parse_html_with_regexs.html /a
Do we all agree or should I keep trying?
Henry
hi henry,
this could be an
Hello all,
I am having a problem with getting multiple socket reads working in a
simple socket server!
The writes appear to be working but the reads seam to only allow one read?
I know i am missing something. Could even be my approach is totally wrong
Currently I have:
$input =
Hello bill,
Tuesday, February 24, 2004, 4:17:42 PM, you wrote:
b When I go from a normal php page (mod) to a cgi-based php page (stand
b alone), the session_start() function generates an error
b Warning: open(/tmp/sess_be0b03b8eb0ed759b10792d823099678, O_RDWR)
b failed: Permission denied (13)
Thanks for the response.
Indeed it seems this is the only way to achieve what I want.
It would be nice if the PHP guys would implement such functionality.
Catalin
Stuart [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Catalin Trifu wrote:
I want to
Hi,
Thanks for the reply.
The method you suggest does not work. Have you tested it somewhere ?
Catalin
Seba [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
in the first page of your website, or when you connect for the firs
time to it
Catalin Trifu wrote:
Thanks for the response.
Indeed it seems this is the only way to achieve what I want.
It would be nice if the PHP guys would implement such functionality.
Why? You're the first person I've ever heard ask for this. I don't think
it's something that
On Tue, 2004-02-24 at 10:49, Henry Grech-Cini wrote:
http://www.alpha-geek.com/2003/12/31/do_not_do_not_parse_html_with_regexs.html
Do we all agree or should I keep trying?
The important thing to keep in mind here is to use the right tool for
the job. If you are parsing an HTML document
Stanley chan wrote:
Dear Listmates,
I am using PEAR::MAIL and my code includes the below;
// Send Email Out
$mailCfg = array(
host = 127.0.0.1,
port = 25,
auth = false
);
$mailRecipient = $hashValue[emailaddress];
Nicole wrote:
I'm not having much luck explaining what I want here ... a drawback of
emailing. I know how to include files, I just wanted to include it in such
a way that my body text still wrapped around it.
I think I need to tackle this using HTML.
Robert Sossomon [EMAIL PROTECTED] wrote in
I have a submit field that may have an address formatted like:
1234 main st
or may just be the street name:
main
I need to split the number off if present so I can test against
database fields.
I need a eregi, split or preg_split that could do that. I've tried a
few and either
Hi folks. Has anyone encountered any problems parsing large log files
with PHP?
I've got a log file that's about 1.2 gig that I need to parse.
Can PHP handle this or am I better of breaking this down into 12 100mb
chunks and processing it?
Any advice is appreciated.
Cheers,
Pablo
--
PHP
That was a really nice one to find out, thank you Stuart.
Now, to another question (within the same scope). Is it possible for PHP
to know if the attribute Indexes is in the list of allwed options? For
right now, the script can list folders that are not supposed to be
listed. Any ideas?
Terry Romine wrote:
I have a submit field that may have an address formatted like:
1234 main st
or may just be the street name:
main
I need to split the number off if present so I can test against database
fields.
I need a eregi, split or preg_split that could do that. I've tried a
Hi,
What kind of a log file are we talking here? regardless what processing
you need to do generally working on a 1.2GB file with out RAID and/or
lots of memory is going to be slow.
Pablo Gosse wrote:
Hi folks. Has anyone encountered any problems parsing large log files
with PHP?
I've got
Are you getting an error when trying to read/parse your log file? If
so, what is that error?
--Sam
Pablo Gosse wrote:
Hi folks. Has anyone encountered any problems parsing large log
files with PHP?
I've got a log file that's about 1.2 gig that I need to parse.
Can PHP handle this or
snip
What kind of a log file are we talking here? regardless what processing
you need to do generally working on a 1.2GB file with out RAID and/or
lots of memory is going to be slow.
Pablo Gosse wrote:
Hi folks. Has anyone encountered any problems parsing large log files
with PHP?
I've got a
$emails = array([EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED]);
$addresses = explode(,,$emails);
for ($i=0; $i count($addresses); $i++) {
echo $i . ': ' . $addresses[$i] . 'br';
if ($i == count($addresses) - 1)
$form['recipient'] .= $addresses[$i];
else
If you want to see the contents of an array, use the print_r function:
http://www.php.net/print_r
HTH!
--Sam
Donpro wrote:
$emails =
array([EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED]);
$addresses = explode(,,$emails);
for ($i=0; $i count($addresses); $i++) {
echo $i . ':
Hi,
IMHO bad idea to use a web script to process log files of these size
(please ignore this comment if you are using the command line version).
There are several good open source tools for parsing the apache log
files (analog, webalizer, awstats to name a few). These are very fast
and
On Tue, 2004-02-24 at 12:51, Donpro wrote:
$emails = array([EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED]);
$addresses = explode(,,$emails);
for ($i=0; $i count($addresses); $i++) {
echo $i . ': ' . $addresses[$i] . 'br';
if ($i == count($addresses) - 1)
Hi,
Haven't had enough coffee to look through your code. But i can tell you
the number 1 problem with socket reads is 'blocking' what you might want
to search for is 'non blocking' or 'non blocking reads'
all the best
Dev wrote:
Hello all,
I am having a problem with getting multiple
On Tue, 2004-02-24 at 12:39, Pablo Gosse wrote:
I've got a log file that's about 1.2 gig that I need to parse.
Can PHP handle this or am I better of breaking this down into 12 100mb
chunks and processing it?
PHP has a very rich set of functions to read in files, it all depends on
what you
Hello,
Does any one how to get cybercash dynamically? I have a host which
allows dl().
Everywhere it is given that I have to recomplie PHP --with cybercah=DIR,
but I dont have that permission.
One more Question (you can consider as the dumbest question)
If I get the permission to complie PHP
snip
IMHO bad idea to use a web script to process log files of these size
(please ignore this comment if you are using the command line version).
/snip
Yes, this will be a script run from the command line.
snip
There are several good open source tools for parsing the apache log
files (analog,
Donpro mailto:[EMAIL PROTECTED]
on Tuesday, February 24, 2004 9:52 AM said:
$emails =
array([EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED]);
$addresses = explode(,,$emails); for ($i=0; $i count($addresses);
$i++) { echo $i . ': ' . $addresses[$i] . 'br';
if ($i ==
Hi,
You might already be fed up with my posts but I'm a complete PHP newbie and find these
groups are the best way to learn! Anyway I have the database date in the format:
-mm-dd hh:mm:ss e.g. 2004-02-24 07:57:59 but when in some situations I only want
to show the user the date in the
Is there a way to check a folder on the server to make sure a specified
folder has write permissions? I'm writing an upload script, but I need to
make sure the user gave the destination directory write permissions before I
can copy the files to the new folder. Anyone got any ideas?
Thanks,
snip
You might already be fed up with my posts but I'm a complete PHP newbie
and find these groups are the best way to learn! Anyway I have the
database date in the format: -mm-dd hh:mm:ss e.g. 2004-02-24
07:57:59 but when in some situations I only want to show the user the
date in the format
I'm not actually looking for stats in this case. We had a very strange
occurrence yesterday wherein we had a few reports of porn links
appearing on one of our websites. So basically I'm going to be looking
for all log entries relating to that one specific section of our site
(which won't be a
Depending on your database engine (which you didn't mention in your
post), some allow you to format the date however you want it as you pull
it out of the database in your sql query. I always find this to be the
easiest way to do it. That way you don't have to worry about formatting
the data
Yes, you would infact have to issue an outside command, and to do so,
you are correct in the fact you would have to write a good amount of
code to check the validity of the string being executed. However, unless
you actually install PHP on the samba server, and run it off that,
there's not really
Hi,
A small problem, a pal of mine is hosting with a company that has PHP
configured to run only
with the .php extention and not the .php3 extention...
Where will he have to make the changes so that his scripts will run if its
.php or .php3 ?
Thanks,
-Ryan
--
PHP General Mailing List
Obviously links would have to be changed to point to the .php pages, but
that's easily done with a good text editor. What would be of more
concern is, what is the difference between the old version of PHP your
running, and the version the hosting company is running. I.E., has
function behavior
On Tue, 2004-02-24 at 13:29, Matthew Oatham wrote:
You might already be fed up with my posts but I'm a complete PHP
newbie and find these groups are the best way to learn! Anyway I have
the database date in the format: -mm-dd hh:mm:ss e.g. 2004-02-24
07:57:59 but when in some situations I
In each file that has a link to a file ending with .php3 or use URL
rewrites.
Ryan A wrote:
Hi,
A small problem, a pal of mine is hosting with a company that has PHP
configured to run only
with the .php extention and not the .php3 extention...
Where will he have to make the changes so that his
Hello,
On 02/24/2004 08:11 AM, Howard Miller wrote:
I want to be able to manipulate files that are on my samba file server from
my PHP application. These shares are not normally mounted on my web server
and it would be inconvenient and yet another administative maintenance task
to do so.
So... I
1 - 100 of 155 matches
Mail list logo