Can I user php to create IMAP mailboxes? I'm using Cyrus and php and apache
are running on the same computer as Cyrus. Thanks!
-Greg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
When trying to imap_connect to my local imap server, I get this error:
Warning: Couldn't open stream {localhost:143} in /var/www/html/user/mail.php
on line 2
can't connect:
Any ideas? Thanks
"Greg" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news
Hi-
Does anyone have any PHP code to check if a uid exists in a LDAP directory
before it is entered? I can't quite get ldap_search to work. Thanks!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi-
Is there a built in way, besides using exec and system, to get the output
from commands like 'uptime' and 'df' on a linux system? Thanks!
-Greg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I just want to display the output of 'uptime' and 'df' on a php page
/Greg
"Andy Turegano" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Well, what do you want them to do?
>
>
> On Wed, 18 Dec 2002, Ma
OK, I lied :) I don't want the raw output, I want to be able to pick the
parts of the output that I want and display that. Thanks
-Greg
"Martin Towell" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> in that case, try pass
er", the third "0.09", the fourth "0.02", and the fifth "0.00".
Any easy way to do this? Thanks very much in advance!
-Greg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
If I have 3 checkboxes labeled "user", but each one has a seperate value,
how do I get the values of each checkbox? For example, how would I tell if
the following checkboxes are checked?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
l
the checkboxes are called "Mid". Any ideas?
/Greg
"Edward Peloke" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> why would you give them all the same name? I can see this for radio
buttons
> but not checkboxes.
>
&
Ah, that's exactly what I was looking for. Thanks! I had the right PHP
code, just didn't have the right html :)
/Greg
"1lt John W. Holmes" <[EMAIL PROTECTED]> wrote in message
00a201c2c3e8$6e2431d0$a629089b@TBHHCCDR">news:00a201c2c3e8$6e2431d0$a629089b@TBHH
$var = $_GET["varName"];
"Tim Haskins" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I am crossing over from ASP to PHP and was wondering how to get the same
> affect as request.questring ? Thanks!
>
>
--
PHP General Mailing List (http://www.php.net/)
To
Hi, I have a form with an IFRAME nested in it. When the form is submitted,
I can't get the values of the checkboxes in the IFRAME, is there any way to
do this? Thanks!
-Greg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
t; wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> --- Greg <[EMAIL PROTECTED]> wrote:
> > Hi, I have a form with an IFRAME nested in it. When
> > the form is submitted, I can't get the values of the
> > checkboxes in the IFRAME, is there a
Unfortunatly, that gets rid of the reason I have the iframe in there to
begin with. I need a scrollable iframe with a set of buttons that perform
certain actions at the top, that have to always be at the top.
-Greg
"Sean Burlington" <[EMAIL PROTECTED]> wrote in message
[EMAIL
But the buttons are outside of the iframe, so that no matter how large the
frame gets, the buttons are always in the same place :/
-Greg
"John W. Holmes" <[EMAIL PROTECTED]> wrote in message
000501c2c629$f98c8590$7c02a8c0@coconut">news:000501c2c629$f98c8590$7c02a8c0@coc
Thank you guys for all the help, I'll try a few of these things, if not I'll
just redesign the page.
-Greg
"Adrian [EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote in
message 00e001c2c631$b402e160$1a8f43d9@ADE2">news:00e001c2c631$b402e160$1a8f43d9@ADE2...
> hmm.
Hi-
I'm having a problem with deleting a Cyrus IMAP mailbox. I can create the
mailbox just fine. Any ideas on why I can't delete the mailbox? Here is
some code that I got off this newgroup a few months ago:
function deleteMailbox ($mailbox) {
$existing_boxes = imap_listmailbox($this->
code that
performs operations on it. Is there any way around this? I'm looking for
either a PHP or a JavaScript solution.
Thanks,
Greg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thank you so much, that worked perfectly...I know it's off topic, but do you
know how to automatically select all elements of a select multiple box and
then submit the form using a submit button? Thanks!
-Greg
"John Nichel" <[EMAIL PROTECTED]> wrote in message
[EMAIL PR
I believe you need to have mcrypt installed.
-Greg
"Anthony Ritter" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Using MS Win98 / PHP /Apache
>
> I'm getting a undefined function error - crypt()
>
> The following
Is there any way to check if a file has been included / required already,
and if not include / require it?
Thanks!
-Greg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thanks, forgot about that :) I'm a converted ASP programmer...ASP has no
such ability.
-Greg
"Rick Emery" <[EMAIL PROTECTED]> wrote in message
013b01c2d6a1$2a599d70$0500a8c0@honeybee">news:013b01c2d6a1$2a599d70$0500a8c0@honeybee...
> can you use: include_once(
I'm using PHP to add users to my ldap directory. When I create a user they
can be added to 1 or more groups. When that user is deleted, I want to
remove them from all groups. The code I wrote only removes them from the
first group, then gives an error for any other group. Here is the code,
foll
Is there any way that I can have a form submit to different pages depending
on the submit button that is pressed? Thanks!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I'm horrible at javascript, does anyone have a script that will do this?
Thanks again!!
"Oliver Witt" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Greg schrieb:
>
> > Is there any way that I can have a form submit to different pages
depending
rably ntpassword.
Thanks!
-Greg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi, is there an easy way to get the lanman and md4 hash of a string in PHP?
I know there's a md5() function, but can't find anything else. Thanks!!
-Greg
--
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thanks everyone :)
-Greg
"John W. Holmes" <[EMAIL PROTECTED]> wrote in message
news:001f01c289b9$bebdf3b0$7c02a8c0@;coconut...
> > Hi-
> > Can I use both _GET and _POST in the same php file? Thanks!!
> > -Greg
>
> Yes, you can use both in your code, bu
Hi-
Does anyone know how I can craete md4 and lanman hashes with php? Thanks!!
-Greg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Does anyone know of a way to add cyrus users through php? I've looked at
web-cyradm but that relies on mysql...Thanks again!
-Greg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi-
Is there a way in PHP to execute a program and then have it pass its output
back to PHP? Say I wanted to return the value that running "df" produced
and put it in a web page? Thanks!!
-Greg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://w
exec() worked jsut fine. Is there any drawback to using this?
-Greg
"Adam Williams" <[EMAIL PROTECTED]> wrote in message
news:Pine.LNX.4.33L2.0211121138370.5968-10@;roark.mdah.state.ms.us...
> actually, look up system() I think it would be better in your case.
>
>
Hi-
Is there return a string with it's first 10 characters stripped? Thanks.
_Greg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi-\
Is there an easy way in PHP to parse a comma delimited text file that could
be uploaded in a form? Thanks!
-Greg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Great, thanks...didn't see that one :)
-Greg
"Kevin Stone" <[EMAIL PROTECTED]> wrote in message
news:176401c28c32$11cf7fe0$6601a8c0@;kevin...
> You bet there is..
>
> fgetcsv();
> http://www.php.net/manual/en/function.fgetcsv.php
>
> -Kevin
>
&g
I have an app that worked with mySQL, but now I'm trying to make it use
SQL Server. The function that connected to to the mySQL was:
mysql_pconnect($db_host, $db_user, $db_pass) or die("Unable to connect
to SQL server");
I tried to change it to "sql_pconnect($db_host, $db_user, $db_pass) or
di
I have a function which takes an integer (the id field for a record) and
returns the corresponding full name of the person whose id matches the
integer.
The function constructs the full name by querying a table for the row which
matches the id and then concatenating firstname, middlename, and las
Just testing guys :)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ignore please, just testing connection :)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Vincent Dupont wrote:
Simple question : do readdir and opendir support opening HTTP urls ??
RTFM ! No it doesn't.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Good luck, welcome to oop :)
PHP 5 is great ! :D
My favorites are __get() and __set()
It allows a very flexible programmation and a very simple programmation
when using huge objects correctly implemented.
Greg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
Each time I post a message on p.general, i receive two strange mails
from ADVANCE CREDIT SUISSE BANK.
What's this spam ? It looks like an auto-responder is subscribed on the
newsgroup. Spammers really s*x !
Greg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
uot; as expected
?>
Is it a bug or is it normal ?
I didn't find anything about it in documentation (php4 / php5).
Greg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ss in that case !
Greg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Greg wrote:
Hello,
I've just performed a few tests when using PEAR::DB and
the results weren't good at all.
If I compare a script using PEAR::DB with a script using
standard functions (and which supports mysql, pgsql and
sqlite databases), the script using PEAR::DB is 10 times
slowe
uest often.
Am I the only one annoyed by this loss of performance ?
Because this is a huge loss in that case !
Greg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
seems to be
30 seconds, pretty low for 300 emails:
>cat `locate php.ini`|grep max_execution_time
max_execution_time = 30 ; Maximum execution time of each script, in
seconds
--
Greg Donald
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
:/opt/cvsroot co phpdoc
Take care,
Greg Beaver
--
phpDocumentor 1.2.0beta due out this week!
http://www.phpdoc.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
In addition to the other errors pointed out...
I assume you want a loop. change
while($row = mysql_fetch_array($response));
to
while($row = mysql_fetch_array($response))
{
Take care,
Greg
--
phpDocumentor
http://www.phpdoc.org
> while($row = mysql_fetch_array($response));
>
>
Hi all,
open cvs has been fixed. Use at will
Take care,
Greg
"Jesus M. Castagnetto" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> It does not seem to be working at the moment.
>
> --- Greg Beaver <[EMAIL PROTECTED]
essential for the new version of a complex data-access project I'm working
on constantly (http://calendar.chiaraquartet.net)
Take care,
Greg
--
phpDocumentor
http://www.phpdoc.org
"Sean Malloy" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Con
Use sessions, you can save the result of the previous form in a server-side
variable, and it will still be there even if the user has a modem
disconnect.
http://php.net/session
Take care,
Greg
--
phpDocumentor
http://www.phpdoc.org
"Stephen" <[EMAIL PROTECTED]> wrote in mess
If it were possible, it would likely be a javascript
function, rather than PHP, because it would be
controlled by the browser. Check the JavaScript
navigator or window objects.
# # #
Hi all,
I have a PHP page that returns products. My client
wants to have a
button
beside each product that says
urned by the phpDocumentorTParser is an array of
tokens from the tokenizer, so the code will already be split up, if that is
useful. If not, you can easily join the code back into a string using:
$total = '';
foreach($source as $item) {
if (is_array($item)) $item = $item[1]; // $it
Hi Justin,
You have to specify the list of tags you want preserved in an array, but
this function from phpDocumentor will do it:
/**
* smart htmlentities, doesn't entity the allowed tags list
* Since version 1.1, this function uses htmlspecialchars instead of
htmlentities, for international sup
Hi Jean-Christian,
see:
http://www.php.net/manual/en/features.connection-handling.php
Take care,
Greg
--
phpDocumentor
http://www.phpdoc.org
"Jean-Christian Imbeault" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Timothy Hitch
connection_aborted, there appear to be issues to take
into account.
Take care,
Greg
--
phpDocumentor
http://www.phpdoc.org
"Jean-Christian Imbeault" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Greg Beaver wrote:
> >
Hi Gerard,
all the preg_* functions require delimiters surrounding regular expressions.
$foo = '\[this\](.*?)that';
should be by default:
$foo = '/\[this\](.*?)that/';
the code you tried uses # as the delimiter instead of /, an option preg_*
allows
Take care,
Greg
-
s closing information, and probably giving an odd error about "u" not being
appropriate
that's why # worked, because there were no other # in the string.
Hope that answers the question (properly this time!)
Take care,
Greg
- Original Message -
From: "Gerard Sam
Is anyone out there using the new aggregation functions on objects?
Greg
--
phpDocumentor
http://www.phpdoc.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
$DOCUMENT_ROOT is now $_SERVER['DOCUMENT_ROOT'] unless register_globals is
on.
You need
include $_SERVER['DOCUMENT_ROOT'].'/../lib/somefile.conf';
take care,
Greg
--
phpDocumentor
http://www.phpdoc.org
<[EMAIL PROTECTED]> wrote in message
[EMAIL PROTE
of genius... :))
It will be best to start from the code and do search and replace (one by
one, dont' try anything fancy or you might waste time undoing your "fixes").
Then finding things from error reports will be easier.
Take care,
Greg
--
phpDocumentor
http://www.phpdoc.org
would benefit from
examining how other authors have solved the same problems even if you are
simply trying to learn php
Take care,
Greg
--
phpDocumentor
http://www.phpdoc.org
"Jordan Elver" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> >
PCPU WHAT
root pts/0brpt-sh6-port214 11:01am 0.00s 0.27s 0.06s w
Now what if I just want the infor on the 3rd line, and info about anyone
else who is logged in, such as the username, the host, and the time without
getting all the uptime and the header info? Thanks!
-Greg
--
PHP Ge
Hi Chris,
Zend Engine 2.0 supports this syntax, and will be included with PHP 5. You
can read all about zend 2 and its other improvements at http://www.zend.com
Greg
--
phpDocumentor
http://www.phpdoc.org
"Chris McCluskey" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECT
Hi,
it would be MUCH faster and easier to debug if you wrote a parser. See the
example parsers in phpDocumentor, download available at
http://www.phpdoc.org
Greg
"Andreas Sheriff" <[EMAIL PROTECTED]> wrote in message
000701c2c272$6b13b870$[EMAIL PROTECTED]">news:0007
This line:
$selected = $state == $sel_state ? "selected=\"selected\"" : "";
should probably be:
$selected = (($state == $sel_state) ? "selected=\"selected\"" : "");
I haven't tested this correction, but have had to use the paren
Be careful with aggregation, it is REALLY unstable in PHP 4.3.0. I get
crashes of PHP left and right, when changing the most random things (like
adding a comment in another part of the code separate from aggregation!!)
Greg
--
phpDocumentor
http://www.phpdoc.org
"Jeff Warrington&quo
EQUEST/$_GET/$_POST
Take care,
Greg
--
phpDocumentor
http://www.phpdoc.org
"Jason Howlett" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi,
>
> I am new to PHP and I am writing a script that evaluates input from a form
> then c
mpile, why? How about a link?
ln -s /sbin/sendmail /usr/sbin/sendmail
--
Greg Donald
http://destiney.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ink this way then:
ln -s /usr/sbin/sendmail /sbin/sendmail
--
Greg Donald
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi Hardik,
You will find phpDocumentor useful in this endeavor. Check out
http://www.phpdoc.org
Greg
--
phpDocumentor 1.2.0beta3 is out
http://www.phpdoc.org
"Hardik Doshi" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
>
Try this out (untested)
(basename ($file) == basename ($_SERVER['PATH_TRANSLATED'])))
Greg
--
phpDocumentor 1.2.0beta3 is out
http://www.phpdoc.org
"ØYstein HåLand" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I use t
Could anyone recommend a fast track for learning php for an experienced
ColdFusion developer? I'm working my way through the tutorials on
php.net and free2code.net, but they seem pretty kindergarten. Any
advice?
ly not be possible in safe mode, but there's no
way to tell since you posted no code.
--
Greg Donald
http://destiney.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> What is the syntax to have php redirect to another web site?
http://domain.com/";);
?>
--
Greg Donald
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
at happens when I user has lost there password and needs to
>retrieve it, there is no way to reverse the process is there?
md5 is one-way encryption. I use a password 'hint' field in conjunction
with md5.
--
Greg Donald
http://destiney.com
--
PHP General Mailing List (http://
is the expected release date? Or is still too soon to tell still?
Thanks,
--
Greg Donald
http://destiney.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ries. Then the data that is
returned you will want to place into an array. Then finally you
will want to iterate over the array creating some html from each row for
display.
--
Greg Donald
http://destiney.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: htt
that is not the case, I'd move.
What kind of system is it? If it's unix you can make use of chown and
chmod to protect your stuff. If it's windows, I don't know.
--
Greg Donald
http://destiney.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Mon, 17 Feb 2003, Jonathan Pitcher wrote:
>This process involves an IRR Calculation. Or Internal Rate of Return.
Sorry, I don't think there are any accountants lurking on the list, so
please explain what the actual calculation for an IRR should be.
--
Greg Donald
http://dest
for php 5
when you can declare a method to be private/protected.
Having said that, if you are still into nested functions, try using
if (!method_exists($this,'isValidPhoneNumber'))
{
..
}
Greg
"Erik Price" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]"
On Tue, 18 Feb 2003, Bruce Miller wrote:
>Will PHP allow multiple-thread execution?
PHP4 does not have thread support.
--
Greg Donald
http://destiney.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
if (ereg('[0-9]+','$_POST["gamt_$i"]'))
> {
> continue;
> }
> else
>{
> die("Non-numeric data entered in grass entry field(s).");
>}
>}
Try changing '$_POST["gamt_$i"]' to $_POST['gamt_$i']
--
Hi,
phpDocumentor is fully 30% faster (version 1.0.0, 1.1.0, 1.2.0beta2, cvs
head) in PHP 4.3.0 than in PHP 4.2.3 on both linux and windows.
The backend for my website is not noticeably faster or slower in PHP
4.3.0/4.2.3 and contains a good deal of database access to mysql.
Greg
Can someone explain why this code works on the hosting company's server,
but won't run on my local server? I'm not sure what version is on the
host server, but I'm running 4.0.5 locally on winXP Pro. The error says:
Fatal error: Cannot redeclare dbfield() in
c:\inetpub\wwwroot\livinginnaples\databa
).
I downloaded a trial version of:
WinZip 8.1
which I unzipped things, and it works!
Thanks!
So, if you are a windows user, downloaded the tarball directly and tried to
unzip it using pkzip, you need to use winzip
Regards,
Greg
--
phpDocumentor
http://www.phpdoc.org
--
PHP General Mailing
TED'])
> - Know under which user work apache, to know when I create a file whose
> file it is...
in unix, a safe installation will run apache as nobody.
Greg
--
phpDocumentor
http://www.phpdoc.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
they receive the alert message, but then have to start all
>over again. How do I keep the existing data in the textareas from
>dissapearing after the alert message?
$fill = isset($_GET['textareafield']) ? $_GET['textareafield'] : "";
$html = <<$fill
EOF;
http://pear.php.net/package-info.php?pacid=46 and
http://pear.php.net/package-info.php?pacid=54
Greg
--
phpDocumentor
http://www.phpdoc.org
"Larry Brown" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Thank you everyone for helping. I didn't know you have
Hi,
You will benefit from enclosing all of the attributes in quotes, as in
In addition, make sure your a name tag has a closing tag like
Regards,
Greg
--
phpDocumentor
http://www.phpdoc.org
"Beauford.2002" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> No
Hi
If $line is == '', you will get an error. Try @split('|', $line), or add a
test for empty lines like if (empty($line)) continue;
if you var_dump($line);, you'll probably see that there is an empty line in
members.txt
Regards,
Greg
--
phpDocumentor
http://www.p
On Wed, 5 Mar 2003, LeTortorec, Jean-Louis wrote:
>My pages starting and ending with "" don't work anymore. I would
>have to change them to "".
>
>Do you know if there is a way for keeping "http://destiney.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.p
($row = mysql_fetch_array($result)) {
do something else
} else {
do something
}
You would be well advised to use this syntax:
if (!($row = mysql_fetch_array($result)))
to ensure operator precedence is clear. (the equals followed by not)
Regards,
Greg
--
phpDocumentor
http://www.phpdoc.org
-
Hi James,
& is a bit-wise AND. && is a logical AND. The bitwise AND will return
a number, the logical AND will return true or false boolean values.
It's a subtle distinction, but important. 4 & 4 == 4 4 && 4 == true == 1
Regards,
Greg
--
phpDocumentor
http:
If register_globals is off
echo $_GET['sort'];
echo $_GET['var2'];
Greg
--
phpDocumentor
http://www.phpdoc.org
Ashley M. Kirchner wrote:
Benny Pedersen wrote:
how do i get var from a url like this one
http://localhost/index.php?sort=name&var2=login
In index.php:
Hi John,
foreach ($var as $key => $value)
{
if (!$key) {
$$key = filter_string($key.': ',$line);
}
}
Regards,
Greg
--
phpDocumentor
http://www.phpdoc.org
John Taylor-Johnston wrote:
I have an array $var (see structure below), which contains AN, AU, TI, PY ... etc.
words, the final review should also be
multi-page, matching the original form. The user will understand this.
Paper forms have more than one page, and you have to flip them back
and forth, so if you model it that way, no one will have a real problem,
even really computer-illit
d in the second form you have:
...
Cheers, Greg.
--
Greg Wiley
www.wileysworld.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
at http://www.phpdoc.org
Regards,
Greg
--
phpDocumentor
http://www.phpdoc.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
1 - 100 of 1454 matches
Mail list logo