Phone: +61 7 3351 6677
> Global Catalogs Pty Ltd Phone: +61 7 3351 4777
>
Proably the only way to do this would be to write a custom parser. REs are
amazing for showing you what they found, but are pathetic at showing you what
they missed.
--
Ignacio Vazquez-Abrams
Systems.com
>
The problem's not in the php.ini file; it's in httpd.conf, srm.conf or
access.conf (not sure which one under SuSE). There should be a line that reads
"AddType application/x-httpd-php .php" or something to that effect. Add
" .php3" to the end of that
rt of webserver (Xitami isn't bad
if you need something lite), you can use PHP as it was meant to be (no flames
please).
--
Ignacio Vazquez-Abrams <[EMAIL PROTECTED]>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
ning a generic
> sized array? such as 'return array ($var[]);' ? I tried it, and it
> yelled at me, so I know that the above syntax is wrong, but is there an
> "easier" way?
> Thanks!
>
> -Jim
>
Have you tried 'return ($var)'?
--
Ignacio Vazquez-A
with the query and display, i just need to know how to get each
>instance into a variable in a loop.
>
> thanks a lot
>
Try:
while (list($prodid, $qty)=each($cart))
{
...
};
--
Ignacio Vazquez-Abrams <[EMAIL PROTECTED]>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
by RFCs 821 and 1225.
>
Yes, because that file will be put through the parser regardless of whether or
not there's any PHP in it.
--
Ignacio Vazquez-Abrams <[EMAIL PROTECTED]>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
n PHP
4, it's just that no one's gotten around to fixing the manual. And true and
false are constants in the same manner as 5 and "Hello World!".
Integers are signed longs (32 bits) in PHP.
--
Ignacio Vazquez-Abrams <[EMAIL PROTECTED]>
--
PHP General Mailing List (h
b($db_name, $connect) or die("Couldn't create database.");
>
> if ($result)
> {
> $msg = "Database has been created!";
> }
> ?>
>
>
> Create a MySQL Database
>
>
>
>
>
>
>
Does that user have universal create rig
>
> Ted
>
Actually, "i" represents "Integer", "b" represents "Boolean", and "n"
represents "Null". Don't ask me about the last one; I only saw it once and I
don't know how it got there.
--
Ignacio Vazquez-Abrams <[E
emacs sucks! vi forever! :P
--
Ignacio Vazquez-Abrams <[EMAIL PROTECTED]>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
;
>
> I get the error: Cannot find server or DNS Error (The page cannot be
> displayed), and none of the page displays.
>
> Does anyone know what's wrong?
>
Try:
$logo = pdf_open_png($pdf, "{$CFG->imagedir}/logo.png");
At least, I assume that's what yo
>
> echo "";
> echo "";
> echo $name;
> echo "";
> echo "".$cost."";
> echo "";
> }
> echo "";
>
>
> Jerry Lake
>
Join the club :)
";
echo "";
$i=0;
$numrows=mysql_num_row
d line is:
>
> $connection = IMAP_Open("{localhost:143}", $name, $psw);
>
> tia
> Dezider
>
Did you activate it in inetd or xinetd? Did you restart inetd or xinetd?
--
Ignacio Vazquez-Abrams <[EMAIL PROTECTED]>
--
PHP General Mailing List (http://www.php.ne
in advance.
>
The newline char in PHP is '\n'.
--
Ignacio Vazquez-Abrams <[EMAIL PROTECTED]>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
it doesn't have to be exactly this
> date format that is used for the input, but I do need the name of the day on
> the output!
>
> I'm hunting around at the moment but I haven't had any joy so far, I thought
> I'd see if anyone's already invented this wheel...
&
7; for more info.
>
> Hrishi
>
No, you need --with-dom.
--
Ignacio Vazquez-Abrams <[EMAIL PROTECTED]>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
Yes, you're missing the fact that it's a lowercase 'L', and not in fact the
numeral '1'.
--
Ignacio Vazquez-Abrams <[EMAIL PROTECTED]>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
h on your
confirmation screen (and then write the code for that, of course). It's not
pretty, but it can't fail.
--
Ignacio Vazquez-Abrams <[EMAIL PROTECTED]>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
rt did not
>apear on the page, although the source can be seen using view source.
> What did I do wrong?
> cheers
> Jack
> [EMAIL PROTECTED]
> "There is nothing more rewarding than reaching the goal you set for yourself"
>
If you're viewing it with Navigator,
> Has anyone done this using the two together?
>
> Kevin Cawthorne
>
Knowing which web server you're using helps, but if you're using Apache, the
way to do it is to turn it off in php.ini and then turn it on in httpd.conf or
.htaccess or wherever for the directory/location phpMyA
sing the all-powerful
mod_rewrite. That way you could request http://www.example.com/team/tigers and
it could automagically get converted to
http://www.example.com/profile.php3 with $team set to "tigers".
--
Ignacio Vazquez-Abrams <[EMAIL PROTECTED]>
--
PHP General Mai
and the image mimetype
when the image is uploaded.
--
Ignacio Vazquez-Abrams <[EMAIL PROTECTED]>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
<= CONCAT
> (SUBSTRING(zip , '1' , LENGTH (zip) - LENGTH (range) ), range)";
>
>
>
>
> Christopher C. M. Allen
>
Does the MySQL user ID you're connecting as have select permissions on the
database?
--
Ignacio Vazquez-Abrams <[EMAIL PROTECTED]>
ht operand and
returns that, otherwise returns the result of the left. The above usage is
basically a cheat-type shortcut for:
if (!($db=mysql_connect("localhost","root","password")))
die ("could not connect");
--
Ignacio Vazquez-Abrams <[EMAIL PR
54) 4615503
> E-mail: [EMAIL PROTECTED]
> Homepage:www.sed.is <- New Homepage!
> --
>
You have to give the table a key field (autoincrement primary) that you can
use as a handle to pass to the next page.
--
Ignacio Vazquez-Abrams <[EMAIL PROTECTED]>
--
PHP Gene
MySQL client library patch gets
committed.
3) Grab the recently-submitted internal MySQL client library patch and apply
it yourself.
--
Ignacio Vazquez-Abrams <[EMAIL PROTECTED]>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
next;
> end;
> end;//with
> CloseFile(TxFile);
> end;
>
> Now I want to create the same sort of thing in Php, could someone please help!
> Thanks
> Wade
> [EMAIL PROTECTED]
>
--
Ignacio Vazquez-Abrams <[EMAIL PROTECTED]>
--
PHP General Mail
nt Manager
> [EMAIL PROTECTED]
> 800-994-6364
> www.webintellects.com
> ----
>
ceil()
--
Ignacio Vazquez-Abrams <[EMAIL PROTECTED]>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
g
> to get breaks in my source, or what you see on the screen, but line breaks
> in the email text..
>
> Thanks.
> Bye Bye
> David
>
RFC 2368 says that you use "%0D%0A" for newlines and "%20" for spaces (Section
5: Encoding). Remember: the RFCs are you
);
Um, no. $relationsresult isn't an array, it's a MySQL result resource. Use
mysql_data_seek() instead.
> Thanks again for your help so far!
> Maurice
>
--
Ignacio Vazquez-Abrams <[EMAIL PROTECTED]>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
;On" therefore, I
> thought of making a check in the "config.inc.php" if the option is set, and
> if not, set it.
>
> Is there a function that I can call?
>
> - Carsten
>
Ugh. Don't do it that way. Instead use , , or .htaccess
to turn it on for phpMyAdm
ndividual users specified at certain points, why don't you
say that a user has to be a member of a certain group? That way in order to
open an access lock for a user, all you have to do is add them to the group.
You could even make the security levels groups themselves.
--
Ignacio Vazquez-
$result = ldap_search($linkID,$dn,$filter); <<<<<<< AT THIS LINE
>
>
>
> As I said, I am new to LDAP but I was assuming I could perform some kind of
> search to determine the schema and then access information based on that.
> Is this true, or do I need t
row[] does not contain any data, but when I changed it to:
> $row = mysql_fetch_array($result) ... it worked just fine.
>
> So what is the difference?
> /Jimmy
>
mysql_fetch_row() uses numeric indices, whereas mysql_fetch_array() can also
provide string indices.
--
Ignacio Vazquez
a formula into my
> "solution for r" loop, it inserts a constant for $form.
>
> I think my solution is to build the formula as a string and then insert it
> into my "solution for r" loop, convert it back to a real formula and then
> iterate for the solution. Is thi
hlighting problems,
but no big deal.
--
Ignacio Vazquez-Abrams <[EMAIL PROTECTED]>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
use their domain logon
password as their e-mail password, and we always get rave reviews over this
feature :)
--
Ignacio Vazquez-Abrams <[EMAIL PROTECTED]>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL P
(isset($cb04)) $sum = $sum + $cb04;
> if (isset($cb05)) $sum = $sum + $cb05;
> if (isset($cb06)) $sum = $sum + $cb06;
> if (isset($cb07)) $sum = $sum + $cb07;
> if (isset($cb08)) $sum = $sum + $cb08;
> if (isset($cb09)) $sum = $sum + $cb09;
> if (isset($cb10)) $sum = $sum + $cb10;
>
finds the first match (if it needs to match at all).
>
> In perl:
> + <- means match 1 or many times
> * <- means match 0 or many times
> ? <- means match 0 or 1 time
>
> Could someone help me see my error... i'm driving myself bananas trying to
> find it. Perhaps
On Thu, 18 Jan 2001, Romulo Roberto Pereira wrote:
> it is possible to use isset inside a echo?
>
> like this:
> $checked = "CHECKED";
> $nothing = "";
> echo "".isset(cb[0])?$checked:$nothing.">";
>
> Rom
>
isset() is a p
nks,
> Brett
>
if (!($number%3))
print("$number is divisible by 3!");
--
Ignacio Vazquez-Abrams <[EMAIL PROTECTED]>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact
x27;s standard input whenever the message is sent
to an arbitrary address.
--
Ignacio Vazquez-Abrams <[EMAIL PROTECTED]>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
On Thu, 18 Jan 2001, Brandon Orther wrote:
> How can I clear an array of all it's values.
>
> Thank you,
>
>
> Brandon Orther
>
$array=Array();
--
Ignacio Vazquez-Abrams <[EMAIL PROTECTED]>
--
PHP General Maili
-994-6364
> www.webintellects.com
> ------------
>
unset($var);
--
Ignacio Vazquez-Abrams <[EMAIL PROTECTED]>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
gt; }
>
> }
>
Even shorter:
$acc=implode(",", array_flip($cb));
> // by the way this: $acc=.$key would be a valid command? like the c++ $a =+
> $b
>
Other way: $acc.=$key, $a+=b
> Rom
>
--
Ignacio Vazquez-Abrams <[EMAIL PROTECTED]>
--
PHP Genera
On Thu, 18 Jan 2001, Ignacio Vazquez-Abrams wrote:
> Even shorter:
>
> $acc=implode(",", array_flip($cb));
>
Assuming, of course, that the original values are unique (oops!).
--
Ignacio Vazquez-Abrams <[EMAIL PROTECTED]>
--
PHP General Mailing List (http://www
On Thu, 18 Jan 2001, Ignacio Vazquez-Abrams wrote:
> On Thu, 18 Jan 2001, Ignacio Vazquez-Abrams wrote:
>
> > Even shorter:
> >
> > $acc=implode(",", array_flip($cb));
> >
>
> Assuming, of course, that the original values are unique (oops!).
&
ge.variables.external.html
--
Ignacio Vazquez-Abrams <[EMAIL PROTECTED]>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
browser session,
> especially in PHP?
>
> Thank you very much in advance.
>
> David
>
$HTTP_SERVER_VARS["PHP_AUTH_USER"] and $HTTP_SERVER_VARS["PHP_AUTH_PASSWD"],
IIRC.
--
Ignacio Vazquez-Abrams <[EMAIL PROTECTED]>
--
PHP General Mailing List (http://
in php.ini.
> Gfunk - http://www.gfunk007.com/
>
> I sense much beer in you. Beer leads to intoxication, intoxication to
> hangovers, and hangovers to... suffering.
>
--
Ignacio Vazquez-Abrams <[EMAIL PROTECTED]>
--
PHP General Mailing List (http://www.php.net/)
To
On Thu, 18 Jan 2001, Chris Hayes wrote:
>
>
> Date sent:Thu, 18 Jan 2001 15:20:24 -0500 (EST)
> From: Ignacio Vazquez-Abrams <[EMAIL PROTECTED]>
> To: Jeremy Bowen <[EMAIL PROTECTED]>
> Copies to:
nfortunately EditPlus is not a WYSIWYG editor. FrontPage is still better for
tables and fluff like that. Mind you, the two do work together somewhat well
(for an MS product), all things considered...
--
Ignacio Vazquez-Abrams <[EMAIL PROTECTED]>
--
PHP General Mailing List (http
On Thu, 18 Jan 2001, Andrés de la Varga wrote:
> Can I have (PHP+Linux+Apache+MySQL)+(Windows+Explorer) in the same machine
> to develope stand alone?
>
> Andrés de la Varga
>
http://www.vmware.com/
--
Ignacio Vazquez-Abrams <[EMAIL PROTECTED]>
--
PHP Gener
ss-platform.
--
Ignacio Vazquez-Abrams <[EMAIL PROTECTED]>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
connections are more efficient in that they don't need to open the
connection each time. Unless you have an overwhelming need to limit concurrent
connections to your MySQL server, you should probably be using persistent
connections.
--
Ignacio Vazquez-Abrams <[EMAIL PROTECTED]
g around arbitrarily like that, should
you? ;)
--
Ignacio Vazquez-Abrams <[EMAIL PROTECTED]>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
hey're MySQL questions :)
For the future date, add "live_date<=NOW()" to your WHERE clause in your
select queries.
As for the date format, MySQL only supports ANSI format (-MM-DD) for
input, but you can use the DATE_FORMAT() function to change the output. You'll
have to u
x27;ll just echo out
> > > LoggedIn() as part of the string.
> >
> > Yeah, I didn't think so. But I knew that '' behaves differently
> > than "". I just wasn't sure of the exact details of the differences.
> >
> > Chris
>
Singl
8 AA Avenue\";s:4:\"city\";s:11:\"Los
> Angeles\";s:5:\"state\";s:1:\"5\";s:7:\"zipcode\";s:5:\"0\";s:7:\"countr
> y\";s:13:\"United States\";s:5:\"phone\";s:14:\"(000)
> 000-\";s:3:\
ID=ba606b5a90dbb4410417b4c612aaf1c9"">Contact LOGOUT
>
> do i do something wrong ? can i put this message somehow off ?
>
> everything else work fine.. sessions and so.. just this two lines are a
> bit disturbing me...
>
> markus
>
Are you using quotes in your
Night:
> Don't miss the Zend Web Store's| There's not enough room here...
> Grand Opening on January 23, 2001! | Start here:
> http://www.zend.com| http://l-i-e.com/artists.htm
>
Actually, the patch went in today. Pick up the CVS tomo
WinAt or the Task Scheduler.
--
Ignacio Vazquez-Abrams <[EMAIL PROTECTED]>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
quot;
>
> And if $Name was sent through as "moron pratt" would it still pick it up??
>
> TIA for any help
>
> Ade
>
Use a database for the words and say "SELECT 1 WHERE LOWERCASE('$name') LIKE
'%'+word+'%'" and count how
ff", "Off", ""),
> "s22" => array("Off", "Off", ""),
> "s23" => array("Off", "Off", ""),
> "s24" => array("Off", "Off", ""),
> "s25" => array("Off", "Off", ""),
> "s26" => array("Off", "Off", ""),
> "s27" => array("Off", "Off", ""),
> "s28" => array("Off", "Off", ""),
> "s29" => array("Off", "Off", ""),
> "s30" => array("Off", "Off", ""),
> "s31" => array("Off", "Off", ""),
> "s32" => array("Off", "Off", ""),
> "s33" => array("Off", "Off", ""),
> "s34" => array("Off", "Off", ""),
> "s35" => array("Off", "Off", ""),
> "s36" => array("Off", "Off", ""),
> "s37" => array("Off", "Off", ""),
> "s38" => array("Off", "Off", ""),
> "s39" => array("Off", "Off", ""),
> "s40" => array("Off", "Off", "")
> );
>
> ?>
>
> Now I am creating forms and tables and need to retrieve this info I'd
> like to say something like:
>
> if switch s23 is availbe to the admin pages do this, else do that.
if ($departments["s23"][1]=="On")
{
...
}
else
{
...
};
>
> and
>
> echo switch 34's name
echo $departments["s34"][2];
>
> Little help?
>
> Mike
>
--
Ignacio Vazquez-Abrams <[EMAIL PROTECTED]>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
quot; and count how many rows are returned. No need to re-invent the
> wheel.
>
> --
> Ignacio Vazquez-Abrams >>
>
>
> Yeah problem is he has no database support from his host
>
> Ade
>
Ouch. All is not lost, however:
$words=Array(
"f***",
"
On Fri, 19 Jan 2001, DanO wrote:
>
> why use a DB?
>
> just create an array of dirty words then loop your input thru it with a
> regex.
>
> DanO
>
Because a DB would probably be faster than creating an array and looping
through it with a regex.
--
Ignacio Vazquez-A
o
the OTHER way :)
--
Ignacio Vazquez-Abrams <[EMAIL PROTECTED]>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
On Fri, 19 Jan 2001, Egan wrote:
> On Fri, 19 Jan 2001 14:21:50 -0500 (EST), Ignacio Vazquez-Abrams
> <[EMAIL PROTECTED]> wrote:
>
> >>> Use a database for the words and say "SELECT 1 WHERE LOWERCASE('$name')
>
> >> Yeah problem is he has no
"BAD WORD";
> echo "BAD WORD";
> echo "I'M TELLING";
> }
> }
>
> -Sterling
>
That method suffers from the dictionary problem that Egan brought up.
--
Ignacio Vazquez-Abrams <[EMAIL PROTECTED]>
--
PHP General Mailing Li
On Fri, 19 Jan 2001, Ignacio Vazquez-Abrams wrote:
> On Fri, 19 Jan 2001, Sterling Hughes wrote:
>
> > I'm saying use the same method, but use an array and avoid the strpos()
> > function:
> >
> > $words = preg_split("//", $data);
> > for
> }
> file://-->
>
>
> echo " Select which location you want this to
> apply to. onChange=\"changeValue(this.options[this.selectedIndex].value);\">";
>
> $i=0;
>
> while ($locidval = mysql_fetch_object($locinfo)){
> echo "Lo
sion...
>
> _Sterling
>
It still suffers from failing on "goodf***" and "eats***anddie" because of
the lack of spaces. That's why I had to use strpos().
--
Ignacio Vazquez-Abrams <[EMAIL PROTECTED]>
--
PHP General Mailing List (http://www.php.net/)
To u
earches...
>
> -Sterling
>
Huh? Whu? Okay, now I'm confused. What do you mean by "take em away"?
BTW, I dug through the PHP source, and strpos() with any length search is as
efficient as the underlying system's memcmp() implementation. It doesn't do
any special cas
orry first.
>
> 1. What is "Referer" in a HTTP header, what does it mean?
It's the web page that the browser was just at.
>
> 2. If I have question about mySQL, where can I raise question?
> Is there any newsgroup which is specially for mysql?
Try http://www.m
On Fri, 19 Jan 2001, Andrew Rush wrote:
>
> On Friday, January 19, 2001, at 04:20 PM, Ignacio Vazquez-Abrams wrote:
>
> > > 1. What is "Referer" in a HTTP header, what does it mean?
> >
> > It's the web page that the browser was just at.
>
> my
also located in
> www.blah.com
> the problem is blah2.php looks for blah3.php and blah4.php in
> www.blah.com/blahdir
>
> will chdir() fix this? or is there another way?
>
> Thanks!!
>
> - Noah
>
Two solutions come to mind:
1) Use a variable to store the directory you
quot;Okay, valid name.";
> };
>
It may have to do with the fact that you're using == in the while instead of
=== to also include type checking. If you're using PHP 3 you should say
!strlen($done), otherwise the while clause will be true if the profane word
starts at the beginning
URL"
> )
> );
>
> and am trying to list only a portion of it.
> E.g., how can I reference only $bikes["Road"]
> in the snippet below?
>
> while ( list($type, $subarray) = each($bikes) ) {
> while ( list($key, $val) = each($subarray) ) {
>
ample)?
>
> i'm looking at mod_rewrite, but it what i describe above doesn't seem
> possible. is it?
>
> thx - eric
>
Have you looked at the [P] flag? It allows Apache to act as a proxy for
external pages.
--
Ignacio Vazquez-Abrams <[EMAIL PROTECTED]>
--
PHP
o file/directory permissions problems,
unlimited flexibility for authentication... what more could you want?
--
Ignacio Vazquez-Abrams <[EMAIL PROTECTED]>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
"Schwinn Powermatic Pro" => "url"
),
"Kids" => array(
"Schwinn Tiger" => "put URL here",
"Schwinn Bumblebee" => "URL"
)
);
while (list($val, $key)=each($bikes["Road"]))
{
?>
Works perfectly.
--
Ignacio Vazquez-Abrams <[EMAIL PROTECTED]>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
;
function somefunc()
{
return Array(10, 20);
};
--
Ignacio Vazquez-Abrams <[EMAIL PROTECTED]>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
gen *
> * www.wa-p.de - mailto:[EMAIL PROTECTED] *
> **
>
You don't, because the function call you're using doesn't actually create any
new accounts; it just creates new folders under the account it's logge
83 matches
Mail list logo