It's for classes. A site called http://www.php.net has some great
documentation on it.
$object->property (or function whatever the case may be)
On Friday 10 October 2003 01:57, Tom Ray [Lists] wrote:
> I'm wondering if someone can explain something for me. I've never used
> this before but have s
I thought that might work but the Apache docs don't list LoadModule as a
supported directive in VirtualHost. I did try it today however and it seems I
ended up with a runaway server. It wouldn't respond to any request, it would
say it couldn't be found and I couldn't stop the server. I had to ki
Copy the configuration directory to another one, change Listen and Port
directive to another port of your choice, set up php and instruct apache
to use this configuration:
httpd -f /etc/httpd/confPHP5/httpd.conf -DHAVE_PHP5
Ryan Thompson wrote:
I thought that might work but the Apache docs
On Friday 10 October 2003 11:02, Robert Cummings wrote:
> If you've been following a thread then you'll have read everything
> anyways. If you bottom post I gotta scan through all the crap I've
> already read, and that often involves employing the down arrow or mouse.
One of the bad habits that to
On Friday 10 October 2003 15:10, Ryan Thompson wrote:
> It's possible to run to web servers simultaneous off the same computer
> isn't it? Each handling different IP address? or at least host names
> Maybe I'll try that tomorrow unless someone stops me and says it's a waste
> of time. :)
You
guys, anyone had successfull projects relating on my subject?.
im full of overflowing ideas on my head right now.
its like form to fax, but this time form to printer.
i mean printer servers w/ ip.
-- -
Louie Miranda
http://www.axishift.com
--
PHP General Mailing List (http://www.php.net/)
To u
one way i found is, connecting to php socket and going to printer port to
send the data.
-- -
Louie Miranda
http://www.axishift.com
- Original Message -
From: "Louie Miranda" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, October 10, 2003 4:12 PM
Subject: [PHP] form to printe
Manisha Sathe wrote:
Client's site will be on PHP/Linux. They want to add Videos on site. But
they say they want to make use of Video Straming. I am very new to this
part. I searched web, I found some third party softwares (one of this is
videolan which is open source). But not sure how to integra
I would execute lpr (man lpr).
Louie Miranda wrote:
one way i found is, connecting to php socket and going to printer port to
send the data.
-- -
Louie Miranda
http://www.axishift.com
- Original Message -
From: "Louie Miranda" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, Octo
Is there a way to let PHP generate the necessary AuthUserFiles for use with
.htaccess?
I don't allow my clients the ability to use .htpasswd in the command line.
>From what I see, the user file is just a text file with the username and the
encrypted password.
TIA
+---
On Fri, 10 Oct 2003 03:10:53 -0400, you wrote:
>> > Is it possible to load two different PHP modules in apache having them
>> > linked to different virtual hosts? I'm hoping I can run one site with PHP
>> > 5 and another with 4.3.x
>I thought that might work but the Apache docs don't list LoadMod
On Fri, 10 Oct 2003 06:34:43 -0400, you wrote:
>Is there a way to let PHP generate the necessary AuthUserFiles for use with
>.htaccess?
>
>I don't allow my clients the ability to use .htpasswd in the command line.
>
>From what I see, the user file is just a text file with the username and the
>enc
Hi,
I have a string with the format: "field_value1:field_value2:field_value3"
Is there any PHP string manipulation function to extract this values from the
string ?
Greetings.
---
Carles Xavier Munyoz Baldó
[EMAIL PROTECTED]
http://www.unlimitedmail.net/
---
--
PHP General Mailing List (http://
Hi,
Check this : php.net/explode
didou
Carles Xavier Munyoz Baldó wrote:
Hi,
I have a string with the format: "field_value1:field_value2:field_value3"
Is there any PHP string manipulation function to extract this values from the
string ?
Greetings.
---
Carles Xavier Munyoz Baldó
[EMAIL PROTEC
I've just published a new website and something is wrong. I suspect the
PHP.ini on the server but I can't seem to find anything.
The line:
Doesn't seem to work. If I look at the "view source" from the web
browser I see this..
On the development server I see this...
On the dev server "EC
NONONONONOONO ITS MINE, BACK AWAY !
grr
From: Kevin Bruce <[EMAIL PROTECTED]>
To: Nathan Taylor <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>,
<[EMAIL PROTECTED]>
Subject: Re: [PHP] Congratulations You Win
Date: Wed, 08 Oct 2003 14:40:25 -0400
WOW! who's ALREADY j
-Original Message-
From: Mehdi Achour [mailto:[EMAIL PROTECTED]
Sent: 10 October 2003 12:28
To: Andrew R. Woolley
Cc: [EMAIL PROTECTED]
Subject: Re: PHP Installation Problems
Hi Andrew,
Please ask support questions at [EMAIL PROTECTED]
didou
> I use php a lot myself but have only eve
NO I CAN AFFORD MICRO$OFT ! WELL KINDA
From: "Dan Joseph" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: RE: [PHP] Congratulations You Win
Date: Wed, 8 Oct 2003 14:39:03 -0400
Excellent! We all win again! Retirement here I come!
-Dan Joseph
> -Original Message-
> Fro
Hello,
Here we go again ;)
[EMAIL PROTECTED] (Jeff McKeon) wrote
> I've just published a new website and something is wrong. I suspect the
> PHP.ini on the server but I can't seem to find anything.
register_globals is on off. Which is a good idea, keep it there!
> On the dev server "ECHO $PHP_
Hi Gurus,
(B
(BI am using PHP4 on linux.
(B
(BI am reading the filename from querystring and display it in the browser.
(BBefore displaying , I am checking the existance of the file by using
(Bfile_exists.
(BIf the file name contains japanese characters, such as $BI4?M0l
thanks, now that I know what it's for I know where to find it on php.net
Ryan Thompson wrote:
It's for classes. A site called http://www.php.net has some great
documentation on it.
$object->property (or function whatever the case may be)
On Friday 10 October 2003 01:57, Tom Ray [Lists] wrote:
Is the codepage of filesystem and of the string the same? What do you
(Bsee if you list the files in the directory using php?
(B
(Bumesh wrote:
(B
(B> Hi Gurus,
(B>
(B> I am using PHP4 on linux.
(B>
(B> I am reading the filename from querystring and display it in the browser.
(B> Before
What is the codepage for Japanese, that mysql uses?
(B
(BPayne
(B
(BMarek Kilimajer wrote:
(B
(B>Is the codepage of filesystem and of the string the same? What do you
(B>see if you list the files in the directory using php?
(B>
(B>umesh wrote:
(B>
(B>
(B>
(B>>Hi Gurus,
(B>>
(B>>I a
So you're saying I had register_globals set to ON on my dev server!?
CRAP!!! I thought I was working with it off!
Now I have to redevelop it all and change all my $variables from forms
to $_POST['variable']? Even when they post to the same page with
"action=''"??
Jeff
> -Original Messag
Hi,
(B
(BIf I list out all filkes in the directory using php, it shows garbage
(Bfilenames (those which have japanese).
(B
(BUmesh.
(B
(B-Original Message-
(BFrom: Marek Kilimajer [mailto:[EMAIL PROTECTED]
(BSent: Friday, October 10, 2003 6:04 PM
(BTo: umesh
(BCc: [EMAIL PROTECTE
Mysql uses default-character-set setting in my.cnf, but this is used for
(Bthings like sorting and cases. Generaly it will accept any input you
(Bgive it. So codepage depends on the source of the input.
(B
(BPayne wrote:
(B
(B> What is the codepage for Japanese, that mysql uses?
(B>
(B> Pa
Can you be a bit more explicit about errors? I´ve got some apache+PHP
running on W2K Server box...
-Original Message-
From: Andrew Woolley [mailto:[EMAIL PROTECTED]
Sent: viernes, 10 de octubre de 2003 14:11
To: [EMAIL PROTECTED]
Subject: [PHP] PHP Installation Problems
-Original M
Then you have codepage problem. How did you get the files there in the
(Bfirst place?
(B
(BYou can try to set the codepage of the html page to each possible
(Bjapanese coding and find out which one is used.
(B
(Bumesh wrote:
(B
(B> Hi,
(B>
(B> If I list out all filkes in the directory us
try to use $_SERVER['PHP_SELF'] instead of.
-Original Message-
From: Jeff McKeon [mailto:[EMAIL PROTECTED]
Sent: viernes, 10 de octubre de 2003 14:09
To: php
Subject: [PHP] Echo $PHP_SELF not working
I've just published a new website and something is wrong. I suspect the
PHP.ini on the
$s_array1 = serialize($results);
echo "";
What's the problem with this code? I am trying to pass an array to create
graph but instead of the pic i get this in my browser. Probably do to bad
HTML syntax. Can I urlencode in a get or does it have to be a hidden
variable in a post?
echo "";
Also here's some functions to help.
function Array2URLString($array_in) {
$ser = serialize($array_in);
$ser = urlencode($ser);
return $ser;
}
function URLString2Array($url_string_in) {
$ser1 = stripslashes($url_string_in);
$arr1 = urldecode($ser1);
$arr1
On Fri, 2003-10-10 at 07:41, Donaldson Sgt Michael J wrote:
> $s_array1 = serialize($results);
>
> echo "";
>
> What's the problem with this code? I am trying to pass an array to create
> graph but instead of the pic i get this in my browser. Probably do to bad
> HTML syntax. Can I urlencode in a
Gregory Kornblum wrote:
function URLString2Array($url_string_in) {
$ser1 = stripslashes($url_string_in);
// $arr1 = urldecode($ser1);
urldecoding is done by php.
$arr1 = unserialize($arr1);
return $arr1;
}
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, vis
> If I have a form that POSTS a textarea that contains PHP
> code. Say some
> code that contains legitimate escapes \ like:
>
> echo "http://somewhere.com\";>Click";
>
> When the data is posted and received in the destination
> script, additional
> escapes \ are added. So how do I get to the
is there a function to convert a number that has less than two digits into a
number with a leading zero?
for instance, to convert a "5" to "05" but to leave a "11" as "11"
thanks,
Diana
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Fri, 2003-10-10 at 03:43, Jason Wong wrote:
> On Friday 10 October 2003 11:02, Robert Cummings wrote:
> > If you've been following a thread then you'll have read everything
> > anyways. If you bottom post I gotta scan through all the crap I've
> > already read, and that often involves employing
The way I have done it is to check the length of the number and if it is 1
then add the 0 myself.
my $len = length($mm);
if ($len eq 1) { $mm = "0$mm"; }
Susan
-Original Message-
From: Diana Castillo [mailto:[EMAIL PROTECTED]
Sent: Friday, October 10, 2003 10:45 AM
To: [EMAIL PROTECTED]
Hi,
Saturday, October 11, 2003, 12:44:38 AM, you wrote:
DC> is there a function to convert a number that has less than two digits into a
DC> number with a leading zero?
DC> for instance, to convert a "5" to "05" but to leave a "11" as "11"
DC> thanks,
DC> Diana
$num = sprintf("%02d",$num); is wh
str_pad -- Pad a string to a certain length with another string
Diana Castillo wrote:
is there a function to convert a number that has less than two digits into a
number with a leading zero?
for instance, to convert a "5" to "05" but to leave a "11" as "11"
thanks,
Diana
--
PHP General Mailing L
$d = 5;
$dd = sprintf("%0d", $d);
will do -- $dd = "05";
- Original Message -
From: "Diana Castillo" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, October 10, 2003 10:44 AM
Subject: [PHP] pad numbers
> is there a function to convert a number that has less than two digits int
Sorry,
it should be
$dd = sprintf("%02d", $d);
will generate $dd = "05";
If you want 005;
use
$dd =sprintf("%03d", $d);
if you want XXX5;
use
$dd = sprintf("%X4d", $d);
- Original Message -
From: "Diana Castillo" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, October 10, 2003
Hello everyone.
In this line
preg_match("/[^a-z0-9'\?!-]", $item)
i can´t find de way to add vowels with accent (á,é,í,ó,ú,ñ,Ñ) and other
characters to the preg_match function.
Can anyone help me?
The documentation of this function is not very clear (or complete) to me.
Thank you.
--
PHP Gener
I have a var:
$test = 'echo \'test\';';
If I display this in a textearea like so:
echo "\n"
.$test
."\n";
In the browser and in the HTML source I see (no slashes):
echo 'test';
Even if I do an htmlentities($test); I see no slashes and the single-quotes
are not shown in the HTML source as "
Is t
"Shawn McKenzie" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I have a var:
> $test = 'echo \'test\';';
>
> If I display this in a textearea like so:
> echo " name=\"action\">\n"
> .$test
> ."\n";
>
> In the browser and in the HTML source I see (no slashes):
> echo 'test';
>
> Eve
"Ben Duffy" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> "Shawn McKenzie" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > I have a var:
> > $test = 'echo \'test\';';
> >
> > If I display this in a textearea like so:
> > echo " > name=\"action\">\n"
> > .$test
>
Hi All,
A script that has been running successfully for over 18 months has suddenly
stopped working due to ftp_connect() failing. I have been assured that
nothing has changed on the ftp server so now need to try and find out why
this is happening. ftp_connect seems to only return true or false, no
Hello Everyone,
I am trying to display a JPG image to a use, who has logged in. Some
research on google revealed a way to do this. I am using the following
code to display it.
if (session_is_registered("valid_user")){
if(session_is_registered("cmi")){
On Friday 10 October 2003 22:44, Robert Cummings wrote:
> > *Most* bottom posters are savvy enough to trim posts adequately to ensure
> > that there is no crap to wade through whilst maintaining some kind of
> > continuity within a thread.
>
> I'll call this premise one, which is by no means a tau
[EMAIL PROTECTED] (Phil Ewington - 43 Plc) wrote
> A script that has been running successfully for over 18 months has
> suddenly stopped working due to ftp_connect() failing. I have been
> assured that nothing has changed on the ftp server so now need to try
> and find out why this is happening. ft
On Fri, 2003-10-10 at 12:12, Jason Wong wrote:
> On Friday 10 October 2003 22:44, Robert Cummings wrote:
>
> > > *Most* bottom posters are savvy enough to trim posts adequately to ensure
> > > that there is no crap to wade through whilst maintaining some kind of
> > > continuity within a thread.
>
-Original Message-
From: Pushpinder Singh Garcha [mailto:[EMAIL PROTECTED]
Sent: 10 October 2003 17:06
To: [EMAIL PROTECTED]
Subject: [PHP] Display a JPG Image
Hello Everyone,
I am trying to display a JPG image to a use, who has logged in. Some
research on google revealed a way to
try image/jpeg
cheers
.b
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
from php manual str_pad function
pete
Diana Castillo wrote:
is there a function to convert a number that has less than two digits into a
number with a leading zero?
for instance, to convert a "5" to "05" but to leave a "11" as "11"
thanks,
Diana
--
PHP General Mailing List (http://www.php.net/)
On Saturday 11 October 2003 00:01, Phil Ewington - 43 Plc wrote:
> A script that has been running successfully for over 18 months has suddenly
> stopped working due to ftp_connect() failing. I have been assured that
> nothing has changed on the ftp server so now need to try and find out why
> this
Unless you do an extract($_POST); in a main include somewhere before your
form.
For $PHP_SELF just do $PHP_SELF = $_SERVER['PHP_SELF']; or to get all of the
$_SERVER vars, do extract($_SERVER);
-Shawn
"Jeff McKeon" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
So you're saying I h
Hi Fellas!
Did anyone have success with making the required function work if using
this sample code. It didn't work for me.
--snip--
require("$_REQUEST['PDF_LIB_PATH']");
--snip--
But I have success if I do this instead...
--snip--
$PDF_LIB_PATH = $_REQUEST['PDF_LIB_PATH'];
On Friday 10 October 2003 23:16, Omar wrote:
> In this line
> preg_match("/[^a-z0-9'\?!-]", $item)
>
> i cant find de way to add vowels with accent (���,,,� and other
> characters to the preg_match function.
> Can anyone help me?
> The documentation of this function is not very clear (or complete)
Hi,
I'm building a form where a user can enter text. When the form is submitted
I'm doing some validation before continuing. If the form isn't filled
correctly, then the user has to correct it before continuing. However, I
want to save the data that has been entered (some of it may be lengthy), so
Hi,
More of a general HTML question, but thought I'd ask here:
I'm doing form validation and if something needs to be corrected, then the
user is informed and allowed to make changes. So, they don't have to retype
what they entered in the , I'm displaying it again with:
But, when the form is r
Is there a simple way (a built in function) to get the elapsed time
between two given timestamps (-MM-DD HH:MM:SS)?
Thanks,
Jeff
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Fri, 10 Oct 2003, Bertrand Moulard wrote:
> try image/jpeg
>
> cheers
>
> .b
>
>
--
http://jon.shoberg.net
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Fri, 10 Oct 2003 13:09:16 -0400, Scott Fletcher <[EMAIL PROTECTED]> wrote:
Hi Fellas!
Did anyone have success with making the required function work if using
this sample code. It didn't work for me.
--snip--
require("$_REQUEST['PDF_LIB_PATH']");
--snip--
When you access an array inside of a s
[snip]
Is there a simple way (a built in function) to get the elapsed time
between two given timestamps (-MM-DD HH:MM:SS)?
[/snip]
http://www.php.net/strtotime
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I do not know if this is the right list, but if someone could help me with
the following
I need a function that does this:
function phone($num) {
take num and remove anything that is not a number
ex: () - /
If there is not 1 at the start, add a one to the start of the number.
make sure that
On Fri, 10 Oct 2003, MIKE YRABEDRA wrote:
> Is there a way to let PHP generate the necessary AuthUserFiles for use with
> .htaccess?
http://pear.php.net/package/File_HtAccess
http://pear.php.net/package/File_Passwd
--
Mika Tuupola http://www.appelsiini.net/~
Untested:
function fixhisnumber($str){
//remove all but numbers
$str = preg_replace("/[^0-9]/","",$str);
//append 1, unless it's already there
$str = $str[0] == '1'? $str:"1".$str;
if (strlen($str) == 10) return $str;
else return -1;
}
Mohamed~
On Fri, 2003-10-10 at 14:01, Lists wrote:
> I
Hi-
I *finally* got imagepsloadfont() to work on my Mac OS X box (it
helps if you actually have a .pfb file). Now I'm having problems
with another aspect of imagepsloadfont(). The docs say it should
return an int, however it's returning a resource.
I'm guessing this is why imagestring and im
Delete the line with header("Content-disposition: ... "). Just set the content type
and output the file.
-Kevin
"Pushpinder Singh Garcha" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
Hello Everyone,
I am trying to display a JPG image to a use, who has logged in. Some
resear
Hello all,
I am using a PHP application called modernbill, which uses iocube
encoder... PHP very frequently dies with SIG fault... 4.3 dies
systematically
While working on this problem I stumbled on this behavior :
In my code, I have something like this:
$table_customer="customer";
$sql="select
Hello list,
I got this project, I'm writing it in PHP of course. What I
would like to do is create a simple an efficient way to work on it from
a couple different locations/workstations. I'm throwing around the idea
of a CVS repository, but am not sure if this is the best way. Does
anyon
> I got this project, I'm writing it in PHP of course. What I would
>like to do is create a simple an efficient way to work on it from a
>couple different locations/workstations. I'm throwing around the idea of
>a CVS repository, but am not sure if this is the best way. Does anyone
>have s
When I used apache 1.3 I could call a file with an extension of .phps and
it would display formatted source.
In apache 2.0 it does not do this
Here is my config from apache 2.0
LoadModule php4_module modules/libphp4.so
#
# Cause the PHP interpreter handle files with a .php extension.
#
S
Mohamed Lrhazi wrote:
I am using a PHP application called modernbill, which uses iocube
encoder... PHP very frequently dies with SIG fault... 4.3 dies
systematically
While working on this problem I stumbled on this behavior :
In my code, I have something like this:
$table_customer="customer";
$s
Try using the function view_source(string filename)
That's off the top of my head. Might be wrong. It's in the documentation
On Friday 10 October 2003 15:41, Lists wrote:
> When I used apache 1.3 I could call a file with an extension of .phps and
> it would display formatted source.
>
> In apache
I do not understand why this line does not work :
$info[$element] = $content;
but yet this works: echo $content;
why? what is the trick?
--
$xml_comment_file = basename($svg_file, '.svg.xml') .'.info.xml';
if (file_exists($xml_comment_file)) {
$file = $xml_comment_file;
$info = array
On Fri, 10 Oct 2003 14:01:00 -0400 (EDT), Lists <[EMAIL PROTECTED]> wrote:
I do not know if this is the right list, but if someone could help me
with the following
Sure, I'll be glad to help.
I need a function that does this:
I'm not sure if you want me to write the code that does this for you,
On Fri, 10 Oct 2003 12:40:30 -0700 (PDT), Mike Migurski <[EMAIL PROTECTED]>
wrote:
I got this project, I'm writing it in PHP of course. What I would
like to do is create a simple an efficient way to work on it from a
couple different locations/workstations. I'm throwing around the idea
of
a C
On Fri, 2003-10-10 at 16:18, Curt Zirzow wrote:
> On Fri, 10 Oct 2003 14:01:00 -0400 (EDT), Lists <[EMAIL PROTECTED]> wrote:
>
> > I do not know if this is the right list, but if someone could help me
> > with the following
>
> Sure, I'll be glad to help.
>
>
> > I need a function that does th
Hi,
I'm getting so frustrated with this.
I have put some error trapping code in my site with the following code (an
included file):
I have a page that hits the database to display the records. One of the
columns is 'startDate'. I format this for display like this:
The page returns the f
I want to start up a program through a php page. For example, gedit.
I found that the user is apache by running this:
- passthru('whoami');
since apache might not have access to run a certain command, I'll use
sudo. I edited the sudoers file in /etc/sudoers and underneath the
line: #
On Fri, 10 Oct 2003 13:27:59 -0700, James Johnson <[EMAIL PROTECTED]>
wrote:
I have a page that hits the database to display the records. One of the
columns is 'startDate'. I format this for display like this:
The page returns the following error:
[ERROR][8][Undefined index:
startDate][/home/.p
On Fri, 10 Oct 2003 13:24:49 -0700, Steve <[EMAIL PROTECTED]> wrote:
I want to start up a program through a php page. For example, gedit.
I found that the user is apache by running this:
- passthru('whoami');
since apache might not have access to run a certain command, I'll use
sudo. I
Hi,
does anyone know how to handle file and directory paths on a IIS 5.0
server? Problem is that the server has multi-domain and each domain has
an
associated 'root' dir below e:\webspaces.
So if one uses relative path strings, an opendir() for example will fail.
One has to use "e:\\webspaces
Curt Zirzow wrote:
What is gedit? it looks like the gnu text editor command. most X
applications
wont run from the webserver in most cases.
gedit is a simple text editor - I think it stands for Gnome Edit
echo shell_exec("sudo gedit");
might give some answers,
Curt.
Tried echo shell_exec("sudo
Hi all,
Does anybody knows how to make a CSV (comma separated values) file with
PHP based on results fetched from MySQL? I need it to import it with
Microsoft Outlook Express.
Thanks in advanced,
Cesar Aracena
www.icaam.com.ar
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, v
Hi,
Just a quick question... What user does php run as on linux? Is it the
Apache user? Is there some way to tell? I need to be able to set a
directory so that only PHP can access it.
Thanks,
Grant
--
Grant Rutherford
Iders Incorporated
600A Clifton Street
Winnipeg, MB
R3G 2X6
http://www.id
I a newbie to cvs itself. I'll take a look at the link Thanks!
> -Original Message-
> From: Mike Migurski [mailto:[EMAIL PROTECTED]
> Sent: Friday, October 10, 2003 2:41 PM
> To: Jeremy Russell
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP] Need advice, hopefully on topic.
>
> > I got
Hello mailing list, I have a question about the use of XML / XLS
application, I am introducing myself in this technology, What is useful XML
/ XLS for? , I need a basic example, basic application of it, because I
don't find the use of it. I know that XML is used to interchange data
between every sy
On Fri, 10 Oct 2003 18:38:04 -0300, Cesar Aracena <[EMAIL PROTECTED]>
wrote:
Hi all,
Does anybody knows how to make a CSV (comma separated values) file with
PHP based on results fetched from MySQL? I need it to import it with
Microsoft Outlook Express.
csv file format as follows:
value,"value\
Hello mailing list, I want to use Oracle function in PHP parser in Win32 OS,
but I don't know how to install it, in the official documentation tell this:
Installation
You have to compile PHP with the option --with-oracle[=DIR], where DIR
defaults to your environmment variable ORACLE_HOME.
I th
You could do something like:
$result = mysql_query($query) or die(mysql_error()); // don't display
errors on production machines
$first = TRUE;
while ($line = mysql_fetch_array($result))
{
if ($first)
{
foreach ($line as $key => $value)
{
if ($first)
{ fwrite($f
> Just a quick question... What user does php run as on linux?
It all depends on how PHP is set up. Do something like:
$fff = fopen ("./temp","w");
fwrite($fff,"testing");
fclose($fff);
in a directory chmod 777. Look at the user id.
(For what it's worth on my system its UID 518).
-Dan
-
On Fri, 10 Oct 2003 16:44:37 -0500, Grant Rutherford <[EMAIL PROTECTED]>
wrote:
Hi,
Just a quick question... What user does php run as on linux? Is it the
Apache user? Is there some way to tell? I need to be able to set a
directory so that only PHP can access it.
You can figure who apache/
As an apache module it runs as the apache user.
On Friday 10 October 2003 17:44, Grant Rutherford wrote:
> Hi,
>
> Just a quick question... What user does php run as on linux? Is it the
> Apache user? Is there some way to tell? I need to be able to set a
> directory so that only PHP can access
On Fri, 10 Oct 2003 18:09:14 -0400, Dan Anderson <[EMAIL PROTECTED]>
wrote:
while ($line = mysql_fetch_array($result))
{
if ($first)
{ foreach ($line as $key => $value)
{ if ($first)
{ fwrite($file_handle, $key); $first = FALSE; }
else
{ fwrite($file_handle, ", $key"); }
}
fwrite ($file_handle
Hello,
I'm trying to login to a cvs repository and upload/download files from a
php script utilizing the 'cvs' command. I'm trying to avoid the use of
external libraries, etc...
Is it possible to do this with popen, or more likely with proc_open?
I'd prefer to do it with the former so as to
On Fri, 10 Oct 2003 18:09:18 -0400, <[EMAIL PROTECTED]> wrote:
Hello mailing list, I have a question about the use of XML / XLS
application, I am introducing myself in this technology, What is useful
XML
/ XLS for?
XML - data storage
XLS - language to display define how to display XML.
HTML - XML
Hi,
I'm trying to track down some issues with my site, and am trying to decide
if it's a session variable issue. On a random basis, it appears that session
vars are being dumped, deleted, or unset, as the site will break. Queries
based on session vars don't work, session vars not being displayed,
How can I cause PHP to fire off a unix program and NOT wait for a reply.
Basically I want to use the "&" love the unix provides, but it seems that
exec, passthrough, system and even ` ` all wait for a return despite my
putting something like exec("/bin/scan &"); or `/bin/scan &`
*sigh*
The sitch
Put a ";" [no quotes] after such as: echo $PHP_SELF;
Jeff McKeon wrote:
I've just published a new website and something is wrong. I suspect the
PHP.ini on the server but I can't seem to find anything.
The line:
Doesn't seem to work. If I look at the "view source" from the web
browser I
1 - 100 of 127 matches
Mail list logo