On Fri, Jul 11, 2003 at 02:21:42PM -0400, Phil Powell wrote:
>
> $booleanNonFormVars = array('hasSelectedLetter', 'hasEnteredProfile',
> 'hasSelectedProfile',
...
> $booleanVars = array('profileID', 'showemail', 'showbirthday', 'season',
> 'profilememberid');
> $profileVarArray = array('firstna
Hi,
Saturday, July 12, 2003, 12:45:26 PM, you wrote:
JF> What about sessions? Depends on your circumstances and the flow of
JF> pages, but storing all these vars in a session, then only passing the
JF> session id around in the URL could be an alternative
JF> Justin
Yes you can do it with se
Wouldn't it be easier to use something like the following?
while (!feof ($handle)) {
$buffer = fgets($handle, 4096);
echo $buffer;
}
This will read until there's nothing more to read. Isn't that what
you're trying to do?
Read more about it at http://se2.php.net/manual/en/function.fgets.p
If that's the case I recommend using multiple files instead of one big.
Just come up with some structure for them. I'd say 10-20MB text is
pretty much.
//Simon
Jason Giangrande wrote:
Thanks for your help guys. The checkboxes thing is working great.
Michael, regarding using files instead of a
What about sessions? Depends on your circumstances and the flow of
pages, but storing all these vars in a session, then only passing the
session id around in the URL could be an alternative
Justin
On Saturday, July 12, 2003, at 12:21 PM, Tom Rogers wrote:
Hi,
Saturday, July 12, 2003, 4:05
Thanks for your help guys. The checkboxes thing is working great.
Michael, regarding using files instead of a database, in your opinion,
eventually having a 10-20 MB text file isn't going to cause any server
problems if more than a few people are accessing the site at a time?
I'm not talking mil
Hi,
Saturday, July 12, 2003, 4:05:34 AM, you wrote:
J> How can I hide this link so value can't be changed?
J> I don't want to change anything at the server level, and its not from a
J> form so I cant do a post -vs- a get.
J> http://www.abcd.com/SearchSet.php?searchby=cust_no&search=1&value=WOR03
Hi,
Saturday, July 12, 2003, 9:47:29 AM, you wrote:
JN> Hi!
JN> I want to know if anyone knows about a good mailing list manager that has
JN> got a PHP administration frontend
JN> I've found many PHP scripts for sending newsletters and announcementes, but
JN> that's it's not what I want
JN> I wan
1. Text file or DB
My answer -> Learn how to use a database, it will make things much
easier
2. Checkbox
Try this:
then after submission, you could do the dump, or
foreach ($_POST["sports"] as $val)
echo $val;
On Fri, 2003-07-11 at 20:10, Jason Giangrande wrote:
> First question
First question: I'm creating a custom content manager for a small site.
It will basically be used to store short articles (several paragraphs
each). Now my question is, is storing these to a text file going to
work or am I going to have problems later on when the file gets to be a
reasonable size
Hi to both of you,
What is happening here is that there is a separate namespace for private
elements in PHP 5. You can have both a private $Name and a public
$Name if it is defined at runtime. I don't know if this is a feature or
a bug, I'd call it a bug since redeclaration of a variable is
I think that is what he was meaning.
IT SHOULDN'T WORK THAT WAY, BUT IT DOES!!!
Re-Read his first email a little closer.
Jim Lucas
- Original Message -
From: "Michael Smith" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 11, 2003 3:44 PM
Subject: Re: [PHP] Private and pro
Michael,
Er, if you're saying that my private variable example shouldn't work, then I
agree - that's the reason I'm confused. Or am I misunderstanding what you're
saying?
--Paul
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Just thought I'd let everyone know: you can run php5 and php4 on the
same machine (--with-apxs for example) but, I don't know if you can
AddType application/x-httpd-php4 .php4 .php
AddType application/x-httpd-php5 .php5
or not... Is that possible? I know you can load both modules, but
whiche
Hey,
private vars are not accessible that way. This is the way it works...
private $var is only usable by the class. You can't access it through
$object->var.
protected $var is only usable by the class if it was called directly,
but not by any objects that are classes that are extended from the
Alan,
Yes, those are the same results I'm getting. I'm running the latest CVS.
AFAIK, printing "Poppy" shouldn't happen - the variable should be private.
--Paul
On Friday 11 Jul 2003 11:19 pm, Alan D'Angelo wrote:
> Hello,
> In my PHP5 installation the first example print Poppy,
> but the se
On Jul 10, 2003, "Jacob C" claimed that:
|Hello All,
|
|I just want to survey the list and see what kind of solutions people are using
|for the storage and reuse of SQL queries.
|
|Right now I am working on an application that has native SQL queries as well
|as custom queries that can be added by
Hello,
In my PHP5 installation the first example print Poppy,
but the second return
Fatal error: Call to protected method dog::bark() from context '' in
c:\appserv\www\test\mailingphp50.php on line 18
In my previous installation oh PHP5, private variable worked well ...
PHP 5 is one beta, try with
Hi,
I'm pretty new to regular expressions. Before, I used to write long-winded
and buggy segments of code with PHPs string functions to extract text. But I
want to learn how to use perl reg-ex as it seems useful to know so I ordered
"Mastering Regular Expressions". But it hasn't come yet so I'm as
All,
I'm toying with the new stuff available in PHP 5 (latest CVS), but I've hit a
brick wall: both private and protected don't seem to work as I'd expect them
to.
Here's an example script:
Name = "Poppy";
print $poppy->Name;
?>
For some reason, that script works fine - PHP doesn't object
On Jul 11, 2003, "Pete Morganic" claimed that:
|Anyone know of a class or function that converts numbers to readable text
|
|eg inputing the number would output text as in
|
|120 = one hundred and twenty
|3600 = three thousand six hundred
|
|
|tia
|
|pete
|
How about http://pear.php.net/package-i
On Fri, 11 Jul 2003 16:41:06 -0400
"Mike Mannakee" <[EMAIL PROTECTED]> wrote:
> I am running a query in mysql :
> ... WHERE
> visitors.created > DATE_SUB( CURRENT_DATE, INTERVAL 1 HOUR )
> AND > id = pixeldata_.remote > GROUP BY > visitors.id
CURRENT_DATEnow( ) DATE_S
Thanks for the help guys.
Jason
On Fri, 2003-07-11 at 15:43, David Nicholson wrote:
> Hello,
>
>
> This is a reply to an e-mail that you wrote on Fri, 11 Jul 2003 at 20:37,
> lines prefixed by '>' were originally written by you.
> > Any ideas on how I can print the lines of my file in reverse o
I am running a query in mysql :
SELECT DISTINCT (id) AS visitor_id,
MAX(date_time) AS last,
MIN(date_time) AS first,
UNIX_TIMESTAMP( MAX(date_time)) -
UNIX_TIMESTAMP( MIN(date_time)) AS diff
FROM visitors, pixeldata_
WHERE
visitors.created > DATE_SUB( CURRENT_DATE, INTERVAL 1 HOUR )
AND
id = pixel
From: "Frank Keessen" <[EMAIL PROTECTED]>
> Maybe is this what you want;
>
> http://www.eternalmart.com/
nope, I had already seen it..
that's the kind of software I found lots, it's for sending announcements via
a web form to subscribed users, but it's not a mailing list server
thanks anyway
J
Hi,
Maybe is this what you want;
http://www.eternalmart.com/
Regards,
Frank
- Original Message -
From: "Juan Nin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, July 12, 2003 1:47 AM
Subject: [PHP] Mailing list server with PHP frontend
> Hi!
> I want to know if anyone kn
Hello,
This is a reply to an e-mail that you wrote on Fri, 11 Jul 2003 at 20:37,
lines prefixed by '>' were originally written by you.
> Any ideas on how I can print the lines of my file in reverse order,
> then?
How about...
$fp = fopen("yourfile.txt","r");
$filecontents = "";
while(!feof($fp)
Hi!
I want to know if anyone knows about a good mailing list manager that has
got a PHP administration frontend
I've found many PHP scripts for sending newsletters and announcementes, but
that's it's not what I want
I want a system like Mailman, Sympa or Majordomo (the mailing list server
may be p
You could try using the file() function. Then loop backward through the
array or use array_reverse.
-- Rob
"Jason Giangrande" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Any ideas on how I can print the lines of my file in reverse order,
> then? Does fgets() always proce
> Any ideas on how I can print the lines of my file in reverse order,
> then? Does fgets() always process from the beginning of the file even
> if you open the file with the pointer at the end? I tried to get the
> line count of the file and go through each line of the file backwards
> but that d
Any ideas on how I can print the lines of my file in reverse order,
then? Does fgets() always process from the beginning of the file even
if you open the file with the pointer at the end? I tried to get the
line count of the file and go through each line of the file backwards
but that doesn't see
Hello,
This is a reply to an e-mail that you wrote on Fri, 11 Jul 2003 at 19:56,
lines prefixed by '>' were originally written by you.
> Is there a way to write to a beginning of a file without it
> overwriting
> data that's already there or do I have to write to the end of the file
> in order to
You have almost everything correct here
change that last line to this.
$arrayListArray = compact('booleanNonFormVars', 'booleanVars',
'profileVarArray',
'profileNonFormVarArray');
notice the use of compact()
Jim Lucas
- Original Message -
From: "Phil Powell"
[snip]
... all of it ...
[/snip]
required installing the jpeg library first, png second, then gd
Thanks!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Is there a way to write to a beginning of a file without it overwriting
data that's already there or do I have to write to the end of the file
in order to preserve data? I ask because it would be much easier to
print the lines of the file out in order of last added first if I could
add lines at th
Could you give an example of what you want/expect to get back?
Seairth
"Phil Powell" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
$booleanNonFormVars = array('hasSelectedLetter', 'hasEnteredProfile',
'hasSelectedProfile',
'hasEditedProfile', 'hasDeleted
- Original Message -
From: "Kevin Stone" <[EMAIL PROTECTED]>
To: "Phil Powell" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, July 11, 2003 12:33 PM
Subject: Re: [PHP] Mind exploded on this one!
> - Original Message -
> From: "Phil Powell" <[EMAIL PROTECTED]>
> To: <[EMAI
- Original Message -
From: "Phil Powell" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, July 11, 2003 12:21 PM
Subject: [PHP] Mind exploded on this one!
$booleanNonFormVars = array('hasSelectedLetter', 'hasEnteredProfile',
'hasSelectedProfile',
$booleanNonFormVars = array('hasSelectedLetter', 'hasEnteredProfile',
'hasSelectedProfile',
'hasEditedProfile', 'hasDeletedProfile',
'willDeleteProfile',
'willDeletePic');
$booleanVars = array('profileID', 'showemail', 'showbirthday', 'se
As someone mentioned earlier, put them into a session (or a cookie).
Is this a repost, or is it a duplicate?
--- Joey <[EMAIL PROTECTED]> wrote:
> How can I hide this link so value can't be changed?
> I don't want to change anything at the server level, and its not
> from a
> form so I cant do a
How can I hide this link so value can't be changed?
I don't want to change anything at the server level, and its not from a
form so I cant do a post -vs- a get.
http://www.abcd.com/SearchSet.php?searchby=cust_no&search=1&value=WOR032
Thanks !
--
PHP General Mailing List (http://www.php.net/)
To
It shouldn't take a lot of code to put results into an array:
$query = "select * from table";
$r = mysql_result($query);
while ($row = mysql_fetch_object($r))
$hold[] = $row;
(OR, to index by some id field in the database:)
$hold[$row->id] = $row;
mysql_free_result($r);
Total of 5 lines.
--
> Is it possible to determine who the htaccess user logged in is? If so,
> how?
> Can you point me at some articles?
>
> Johnny
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
$_SERVER['PHP_AUTH_USER']
--
Thanks,
Dean E. Weimer
Try this
$str = "here is some php" .
"here is more" .
"here is even more";
Just a plain '.' will do the trick.
Jim Lucas
- Original Message -
From: "Alvaro Rosales R." <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 11, 2003 7:11 AM
Subject: [PHP] Long lines
Argh!
I am ready to pull out my hair on this. I have made sure that jpeg-6b is
installed, libpng is installed, zlib etc. I can configure with
./configure --with-apxs=/usr/local/sbin/apxs
--with-config-file-path=/usr/local/etc --enable-versioning
--with-system-regex --disable-debug --enable-track-
i'm not sure if you want to "code in multi line, display in single line" or
"code in single line, display in multi line"
here gives an example:
This will give:
123456789
another example:
This will give :
abc
def
xyz
another one:
this also gives the same as above
hope this helps
--
-
And nevermind, problem solved in another thread.
--
Matt Grimm
Web Developer
The Health TV Channel, Inc.
(a non - profit organization)
3820 Lake Otis Parkway
Anchorage, AK 99508
907.770.6200 ext. 686
907.336.6205 (fax)
E-mail: [EMAIL PROTECTED]
Web: www.healthtvchannel.org
"Matt Grimm" <[EMAIL PR
I have an open socket that I am reading from. The code looks like the
following:
$contentLength = 0 + $this->response['headers']['content-length'];
do{
$status = socket_get_status($this->socket);
if( $status['eof'] == 1 ) {
if( $this->clientOptions['debug'] & DBGSOCK ) echo("DBG
Is it possible to determine who the htaccess user logged in is? If so, how?
Can you point me at some articles?
Johnny
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thanks to all who explained it to me. Sorry if I inadvertently
hijacked the thread.
--- Jason Wong <[EMAIL PROTECTED]> wrote:
> File and directory permissions (so that people searching the
> archives have
> something to look for).
>
> > That is correct. According to the docs, if the directory is
I use the PEAR db http://pear.php.net/manual/en/package.database.php
This returns arrays - examples here
http://pear.php.net/manual/en/package.database.db.intro-fetch.php
look at the Quick data retreaval down the page
pete
Larry Brown wrote:
Is there any php function to pull a query into an arra
On Fri, 11 Jul 2003, CPT John W. Holmes wrote:
> > Is there any php function to pull a query into an array? I know there is
> a
> > way to get the first row of the results in an array, but I'm having to
> loop
> > through each row pushing the row onto an array to get the result I'm
> looking
> >
Indeed that works thank you very much :)
-Original Message-
From: CPT John W. Holmes [mailto:[EMAIL PROTECTED]
Sent: 11 July 2003 15:50
To: Gary Ogilvie; [EMAIL PROTECTED]
Subject: Re: [PHP] Capturing Windows Login Details
> Well here is some more information so you can understand what I
> Is there any php function to pull a query into an array? I know there is
a
> way to get the first row of the results in an array, but I'm having to
loop
> through each row pushing the row onto an array to get the result I'm
looking
> for and it seems like a lot of code for something that I would
Is there any php function to pull a query into an array? I know there is a
way to get the first row of the results in an array, but I'm having to loop
through each row pushing the row onto an array to get the result I'm looking
for and it seems like a lot of code for something that I would think i
> -Why the concern about letting that user have execute permissions,
> and then prevent anyone (except those that have valid reasons) from
> having write/execute permission to the webroot.
The permissions are Read, Write, and Execute. Read and Write are self
explanatory (for directories Write mea
File and directory permissions (so that people searching the archives have
something to look for).
> That is correct. According to the docs, if the directory is not
> executable, you can't even get the permissions on the files in it.
> I'm confused, though.
1) To be able to _access_ a directory
> Well here is some more information so you can understand what I am
> trying to do:
>
> I need to display their username in html/php document. This document has
> a form which they fill out. It is to stop people changing who they are
> when they fill out the form (for example joe bloggs filling ou
--- Burhan Khalid <[EMAIL PROTECTED]> wrote:
> On Friday, July 11, 2003, 5:07:49 PM, Mark wrote:
>
> [ snip ]
>
> M> That is correct. According to the docs, if the directory is not
> M> executable, you can't even get the permissions on the files in
> it.
> M> I'm confused, though.
>
> M> Let m
On Friday, July 11, 2003, 5:07:49 PM, Mark wrote:
[ snip ]
M> That is correct. According to the docs, if the directory is not
M> executable, you can't even get the permissions on the files in it.
M> I'm confused, though.
M> Let me state at the begining that I'm not a linux guy. Learning, but
M>
Alvaro Rosales R. wrote:
Thank you but ,(I come from microsoft vb world, and line breaks of code could be
divided with a character(&_), so the compiler could parse it and where it finded that
character it knew that it was a line break), is there something similar in php?
No. Just put a line b
--- Daniel Guerrier <[EMAIL PROTECTED]> wrote:
> Umm..
> Maybe you should use sessions.
Oh sure, come up with the EASY way ;-)
>
> --- Mark <[EMAIL PROTECTED]> wrote:
> > --- Jeff Harris <[EMAIL PROTECTED]> wrote:
> > > On Jul 10, 2003, "Joey" claimed that:
> > >
> > > |How can I hide this li
Well here is some more information so you can understand what I am
trying to do:
I need to display their username in html/php document. This document has
a form which they fill out. It is to stop people changing who they are
when they fill out the form (for example joe bloggs filling out a
timeshe
can you tell me How can I set a line
break in longs line of my code?.
I think you want to use \n
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
CPT John W. Holmes wrote:
CPT John W. Holmes wrote:
You can get the username, that's it.
$_SESSION['LOGON_USER']
Don't you mean $_SERVER['LOGON_USER']?
Yeah :) See what I get for giving up caffeine...
---John Holmes...
Ughwhy torture yourself?!?!?!
--
PHP General Mailing List (http://ww
--- Mark <[EMAIL PROTECTED]> wrote:
> --- Jeff Harris <[EMAIL PROTECTED]> wrote:
> > On Jul 10, 2003, "Joey" claimed that:
> >
> > |How can I hide this link so value can't be changed?
> > |I don't want to change anything at the server level, and its not
> > from a
> > |form so I cant do a post -v
Hi guys,I am new to PHP and I am writing my first scripts, so maybe this question
is a kinda stupid, but it is driving me crazy, can you tell me How can I set a line
break in longs line of my code?.
thanks in advance!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: htt
Alvaro Rosales R. wrote:
Hi guys,I am new to PHP and I am writing my forst scripts, so maybe this quesetion
is a kinda stupid, but it is driving me crazy, can you tell meHow can I set a line
break in long line of my code?.
More of a text editor question than a PHP question. In most text
edit
Umm..
Maybe you should use sessions.
--- Mark <[EMAIL PROTECTED]> wrote:
> --- Jeff Harris <[EMAIL PROTECTED]> wrote:
> > On Jul 10, 2003, "Joey" claimed that:
> >
> > |How can I hide this link so value can't be
> changed?
> > |I don't want to change anything at the server
> level, and its not
>
I have found out that all I actually need is the username. That is all -
either the windows login username or the firewall username. How do I
grab either?
Gary
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> Everything I try I get "undefined index" what does this mean? It is
> vital also that I can grab the user and the pass before somebody can
> access a certain part of the website, like the authentication dialogs
> that appear in Internet Explorer.
Like Lief said, it's $_SERVER['LOGON_USER']...
T
> CPT John W. Holmes wrote:
>
> >You can get the username, that's it.
> >
> >$_SESSION['LOGON_USER']
> >
> Don't you mean $_SERVER['LOGON_USER']?
Yeah :) See what I get for giving up caffeine...
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://w
--- Steve Jackson <[EMAIL PROTECTED]> wrote:
> As part of a CMS I wanted to get the user to:
> 1) Create a new recordset via a form (with a uniqueid).
> 2) Press submit whereupon php gets the ID of the record just
> created in
> the DB, writes a new page to the server with that unique id and
> sav
If it is REALY needed ask the user. You might want to search for NTLM
authentication.
Gary Ogilvie wrote:
OK - is there any other way of grabbing both the username and password
from somewhere else? For example the login details used to login onto
the Intranet through the firewall, or IIS?
Thanks
Hi guys,I am new to PHP and I am writing my forst scripts, so maybe this quesetion
is a kinda stupid, but it is driving me crazy, can you tell meHow can I set a line
break in long line of my code?.
thanks in advance!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
Leif K-Brooks wrote:
CPT John W. Holmes wrote:
You can get the username, that's it.
$_SESSION['LOGON_USER']
Don't you mean $_SERVER['LOGON_USER']?
I have no variable for either, and I'm authenticated thru a NT domain.
We were doing this at the last place I worked for. Users had to logon
to t
Everything I try I get "undefined index" what does this mean? It is
vital also that I can grab the user and the pass before somebody can
access a certain part of the website, like the authentication dialogs
that appear in Internet Explorer.
Gazza
--
PHP General Mailing List (http://www.php.net/
CPT John W. Holmes wrote:
You can get the username, that's it.
$_SESSION['LOGON_USER']
Don't you mean $_SERVER['LOGON_USER']?
--
The above message is encrypted with double rot13 encoding. Any unauthorized attempt
to decrypt it will be prosecuted to the full extent of the law.
--
PHP General
OK - is there any other way of grabbing both the username and password
from somewhere else? For example the login details used to login onto
the Intranet through the firewall, or IIS?
Thanks :)
-Original Message-
From: CPT John W. Holmes [mailto:[EMAIL PROTECTED]
Sent: 11 July 2003 14:3
--- Jeff Harris <[EMAIL PROTECTED]> wrote:
> On Jul 10, 2003, "Joey" claimed that:
>
> |How can I hide this link so value can't be changed?
> |I don't want to change anything at the server level, and its not
> from a
> |form so I cant do a post -vs- a get.
> |
>
|http://www.abcd.com/popup_SearchRe
> I need to capture the username and password used to login to Windows
> 2000/XP with PHP. Does anybody know how to do this?
You can get the username, that's it.
$_SESSION['LOGON_USER']
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.ne
I Found this on the PHP.net site, maybe it will clear things up. Thanks for
your help everyone.
Example Name Result
$a == $b Equal TRUE if $a is equal to $b.
$a === $b Identical TRUE if $a is equal to $b, and they are of the
same type. (PHP 4 only)
$a != $b Not equal TRUE i
Hello,
We get many "child pid [xxx] exit signal Segmentation fault (11)" in
out error_log. tracing the pids and shows seg faults on different
funtions, most if not all related to php. Thats probably a bug somewhere
on our system, I need help with pin pointing the trouble.
here are the tails of w
two equal signs means 'equal to'
so '!==' means 'not equal to'
one equal sign sets a value.
ie...
x = 2; // x is set to the value of 2
if(x!==3) // checks if the value of x is not equal to 3
as for != i've never seen it with just one equal sign...
"Chris Morrow" <[EMAIL PROTECTED]> wrote in mes
Chris Morrow wrote:
Does anybody recognize this:
!==
with 2 '='
Ive known != to mean not equal to but i'm just looking at someone elses
script and they use this instead. Does anyone know if this works or any
problems with it?
Not identical. Negative ===.
http://us2.php.net/manual/en/language.o
On Fri, Jul 11, 2003 at 01:56:46PM +0100, Chris Morrow wrote:
> Does anybody recognize this:
>
> !==
>
> with 2 '='
>
> Ive known != to mean not equal to but i'm just looking at someone elses
> script and they use this instead. Does anyone know if this works or any
> problems with it?
>
> Cheer
[snip]
Just wondering if there's a clear screen function in PHP like the
clrscr()
in 'C'.
[/snip]
If you are running PHP from the command line on a *nix or BSD box you
could...
exec("clear");
HTH!
Jay
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/u
Hello,
This is a reply to an e-mail that you wrote on Fri, 11 Jul 2003 at 13:55,
lines prefixed by '>' were originally written by you.
> Does anybody recognize this:
> !==
> with 2 '='
> Ive known != to mean not equal to but i'm just looking at someone
> elses
> script and they use this instead.
Does anybody recognize this:
!==
with 2 '='
Ive known != to mean not equal to but i'm just looking at someone elses
script and they use this instead. Does anyone know if this works or any
problems with it?
Cheers
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http:
I'm pretty sure its not in an endless loop and php is 4.3, im still nowhere
closer to fixing this.
I'm sure its not hardware and I thought I was sure its not networkl related
but I think im going to have to rethirnk my ideas.
Cheers.
Chris
"Fejes Jozsef" <[EMAIL PROTECTED]> wrote in message
new
As part of a CMS I wanted to get the user to:
1) Create a new recordset via a form (with a uniqueid).
2) Press submit whereupon php gets the ID of the record just created in
the DB, writes a new page to the server with that unique id and saves it
as a filename determined by the user.
No way around
thanks a million
"Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> www.php.net/gettext
>
> Dallas Goldswain wrote:
>
> > Hi All,
> >
> > looking throught the source of squirrelmail, I see he calls a function
> > _("somevalue")
> > What is this and where can i get mor
Hi All,
I need to capture the username and password used to login to Windows
2000/XP with PHP. Does anybody know how to do this?
Many thanks
Gary Ogilvie
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Steve Jackson wrote:
You *are* using the correct user/pass? It should be the same
as what you use to upload files to your webroot.
If you can't get this to work then try the ftp functions.
Yes I am.
Alternatively, you could consider storing them in a DB.
Yes that's what I was thinking
> You *are* using the correct user/pass? It should be the same
> as what you use to upload files to your webroot.
>
> If you can't get this to work then try the ftp functions.
Yes I am.
>
> Alternatively, you could consider storing them in a DB.
Yes that's what I was thinking they only need
www.php.net/gettext
Dallas Goldswain wrote:
Hi All,
looking throught the source of squirrelmail, I see he calls a function
_("somevalue")
What is this and where can i get more info about it?
Thanks
--
Dallas Goldswain
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
> >?> just not even be bothered with Google
> I did but didnt find any
to be fair... nor did I when i was looking :\ :)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi All,
looking throught the source of squirrelmail, I see he calls a function
_("somevalue")
What is this and where can i get more info about it?
Thanks
--
Dallas Goldswain
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
You are not that far away. It seems to me you have allow_url_fopen off.
Then you need to store your file in a temporary location, use ftp
functions to upload it (the example in the manual is all you need), and
then remove the temporary file. But this again needs the ftp extenssion
enabled.
Ste
On Friday 11 July 2003 18:54, Steve Jackson wrote:
> Same error.
> Warning: fopen("ftp://[EMAIL PROTECTED]/misc/webpage/cms/test.txt","w") -
> Inappropriate ioctl for device in
> /home/stephenj/public_html/misc/webpage/cms/generator.php on line 51
You *are* using the correct user/pass? It should b
1 - 100 of 118 matches
Mail list logo