#!/usr/local/bin/php -q
on 1/10/02 12:16 PM, Mark at [EMAIL PROTECTED] wrote:
> I've got this problem that won't go away.
>
> The headers are showing up at the top of the page when I run php in
> cgi mode. any ideas?
-- mike cullerton
--
PHP General Mailing Li
keep the data in a variable and do something like
on 1/10/02 1:30 PM, Lerp at [EMAIL PROTECTED] wrote:
> Hi there, how do I keep values in a form if the user has to go back and fill
> in some missing fields?
>
> Thx Joe :)
>
>
-- mike cullerton
--
PHP General
on 1/11/02 1:35 AM, louie miranda at [EMAIL PROTECTED] wrote:
> Hi, can php execute system commands
> like df, and then print it to html ?
http://www.php.net/manual/en/ref.exec.php
-- mike cullerton
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail:
eally going on in the
RTFM code with the "false !==" part?
thanks y'all,
mike
-- mike cullerton
--
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 1/11/02 8:20 PM, Gaylen Fraley at [EMAIL PROTECTED] wrote:
> Can someone recommend a good tutorial
> or book on this subject?
Mastering Regular Expressions
Jeffrey Friedl
O'Reilly & Associates
ISBN 1-56592-257-3
-- mike cullerton
--
PHP General Mailing List (http://w
ult)){
this tells me that $myresult is not a valid mysql result resource
identifier. how do you obtain $myresult?
-- mike cullerton
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the l
nclusion (include_path='') in
> /var/virt/home/stuffwefound-co-uk/public_html/index.php on line 70
>
> I have got an error page for any other url i.e. apagenotfound.php but I
> dont know how to overcome the above.
>
> Thanks in advance
>
> Lee
>
-- mike cull
ll it exactly the same each time.
you may need to figure out some other unique identifier to determine if it's
the 'same' person.
hope this helps,
mike
-- mike cullerton
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addi
me for getting
dates in and out of mysql using $month,$day,$year.
for any project, i also create functions for formatting $month,$day,$year
however the customer requires the output.
-- mike cullerton
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
on 1/13/02 10:32 AM, Vania Lavielle Castro at [EMAIL PROTECTED] wrote:
> how work with sql server and code php?
> i try with the functions and the results are bad
> i need examples, please :(
http://www.php.net/links.php
-- mike cullerton
--
PHP General Mailing List (http://ww
on 1/13/02 10:06 AM, Cory at [EMAIL PROTECTED] wrote:
> Is it possible to put all of my functions in a text file and just call it
> and use the functions in it?
http://www.php.net/manual/en/function.require-once.php
http://www.php.net/manual/en/function.include-once.php
-- mike cul
o find anything clear about this question.
>
> I would really appreciate if you could give me some tips or some web site's
> addresses where I can find easy information, or where I can download a copy
> of the "php.ini" file.
>
> I thank you in advance for the kindn
-
to
MAILSERVER=-YES-
(isn't everything different in macosx)
again, you need to do this from an administrator account. this will start
sendmail each time you reboot. i'm not exactly sure how to start sendmail
correctly from the command line, but one of the sites i mentioned earlier
might
27;$weight'";
>
> $result = mysql_query ($query);
> $num_results = mysql_num_rows($result);
>
> ...the $num_results is ALWAYS zero unless I typed in all four fields.
>
> Any help?
>
> Thanks!
>
-- mike cullerton michaelc at cullerton dot com
--
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]
so i'll bite. hopefully someone can explain what
i'm missing.
if i have a statement like
if (($a == 'a') && ($b == 'b')) blahblahblah();
and, $a != 'a'.
why should php even look at the value for $b while evaluating this line?
shouldn
ive MySQL persistent link identifier on success
this is why you use the link identifier in things like mysql_query, and lets
mysql 'know' what 'your' last insert was.
hope this helps,
mike
-- mike cullerton michaelc at cullerton dot com
--
PHP General Mailing List (http:
d".
>>
>> i'm new to all this stuff, so i'll bite. hopefully someone can explain what
>> i'm missing.
>>
>> if i have a statement like
>>
>> if (($a == 'a') && ($b == 'b')) blahblahblah();
>>
>> a
>> I have no idea why PHP parser is making this confusion.
>> Could anyone bring some light to this mistery please?
>>
>> Atenciosamente,
>>
>> Tiago Luchini
>> Diretor Técnico-Comercial
>> Galluch Soluções Internet
>> Tel.: 0xx11 6912-3255
&g
t the answer you wanted to hear, but i've lived on both sides of
this fence :)
mike
-- mike cullerton michaelc at cullerton dot com
--
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. Same thing happens with absolute or relative paths.
>>
>> what's the line in your code where this error occurs?
>
> it doesn't run any line at all. don't matter what I put on my code, it just
> says "unable to open"
ice";
>
select * from products where catalognumber in (120106,120095) order by
you may need quotes around the stuff in the parens, ('120106','120095')
-- mike cullerton michaelc at cullerton dot com
--
PHP General Mailing List (http://www.php.net/)
To un
n the last_insert_id of previous INSERT query (from previous
> 'session')
but of course, you'd have checked that the result id returned a valid result
and not an error in this case and never looked for the last_insert_id,
right?
;)
mike
-- mike cullerton michaelc at cullerton
fact that have to use their CGI
> server to run PHP???
>
> Cheers
>
> Richard S
>
-- mike cullerton michaelc at cullerton dot com
--
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]
ne requests a file ending in .inc, apache won't
deliver it. however, php will still be allowed to include those files
itself.
-- mike cullerton michaelc at cullerton dot com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands
gest starting with the Guides at the Linux
> Documentation Project,
> http://www.linuxdoc.org/guides.html
> and work from there, and don't forget the HOWTO's.
>> S. slightly OT, but what is the best linux book out there, aimed at
>> admin/DNS/Networking?
ch/software/macosx/php/
> Which values do you think I should write in the hostconfig file? My usual
> provider domain (i.e. www.tiscali.it)?
ideally, you would type the fully qualified domain name of your computer.
so, to test all this
- login to your isp
- find out your hostname (nslookup i
erver runs
as. my webserver runs as www.www so i added myself to the www group.
-- mike cullerton michaelc at cullerton dot com
--
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]
t;
> php mail_test.php
>
> and getting,
>
> X-Powered-By: PHP/4.0.6
> Content-type: text/html
>
> attempting to deliver the mail
> Warning: Unknown error in mail_test.php on line 3
didn't notice any other responses, and this is just a guess here, but how
a
so I can make the PHP work along
> with apache and mysql as well? Or at least tell me
> what indicate a source code directory (what files
> are in). Maybe I can search it manually.
-- mike cullerton michaelc at cullerton dot com
--
PHP General Mailing List (http://www.php.net/)
context isn't referring to itself at that point but some
memory space allocated to the variable named 'this' instead, i guess.
?
mike
-- mike cullerton michaelc at cullerton dot com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
F
what about the "[EMAIL PROTECTED]"? is it failing on a 'bad' email address? or
maybe putting everything in variables and trying
mail($to,$subject,$message);
on 1/18/02 9:14 AM, Jeff D. Hamann at [EMAIL PROTECTED] wrote:
> nope. no difference.
>
> jeff.
>
>
passed...
>
> example:
> function func($arga, $argb, $argc)
> {
> do_something_with_arga;
> do_another_thing_with_argb;
> and_if_argc_was_passed_do_something_with_it_too;
> }
>
> because i dont want to pass argc if i dont need it, and to pass void arguments
> like '' is annoying...
>
&
on 2/1/02 11:36 AM, Dave at [EMAIL PROTECTED] wrote:
> How can I add an attachment to an email using MAIL(). So far I have been
> able to successfully send email by using:
>
> mail($to, $subject, $message, $headers);
>
> Is there something I can add in the $headers to add an attachment??
on 2/4/02 11:32 AM, Peter J. Schoenster at [EMAIL PROTECTED] wrote:
> Hi
>
> If I use $snippet = ""; and escape the quotes in the block then it
> works. But if I use it as is below, it fails with no useful error
> message. Why?
not sure if this is it or not, but from the manual
http://www.php
i just tried a test and it works on MacOS X. even with the space between
'chmod' and '('.
what platform are you on? is this a standalone script/app or from a web
page? can you perform the chmod from the command-line? what is the entire
error message?
also, the error doesn't really suggest this,
in. playing with routers late on a friday
night after a few cold ones was always fun :)
-- mike cullerton michaelc at bakednotfried dot com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> inclusion (include_path=") in unknown in line 0.
>>
>> I've tried putting in this include path in my php.ini file to no effect.
>> Please help. I have several projects I'm working on that require php and I
>> have no way of working on them on my development
>
> Any ideas as to what could be wrong?
>
> I am using the latest PHP version and am running Red Hat Linux 7.1
>
> Ryan Shrout
-- mike cullerton [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]
_query($sql);
> $data = @mysql_result($result, 0, "PICTURE");
> $type = @mysql_result($result, 0, "FILETYPE");
> Header("Content-type: $type");
> echo $data;
>
>
> but after this I also want to show some text info. How can I do this ? I
> will have to
me an help on how to run suid root
> while i have script that run by apache
> i had alread set the file like this
> -rwsr-xr-x 1 root www 384 Jul 2 16:36 test
> but no luck
>
> Thanks in Advance
-- mike cullerton [EMAIL PROTECTED]
--
PHP General Mailing
at the
> prepend path was set incorrectly.
>
>>
>> for your network problem, it seems that you didn't really achieve
>> 'networking linux box to windows host' correctly. can you currently ping
>> localhost? what does your route table look like?
-- mike
you on?
what steps (specifically) did you take to 'set up networking'?
-- mike cullerton
--
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]
None
> eth0 199.33.57.3 None
>
>
> Routing
>
> Default Gateway 199.33.57.7
> default gateway device eth0
>
>
> Again, I appreciate your help.
>
> best,
>
> daniel
>
> -Original
able.
session_start()
session_register("variablename")
once set, the variables are available as $HTTP_SESSION_VARS["variablename"]
or (depending on how php is configured) $variablename.
on my macos x box, $variablename does work.
>
> Thanks in advance,
>
> Sincere
ge, each of
the next times are a piece of cake. when you use rpm's, you are stuck with
the way they compiled it and you have to wait for a package to come out when
a bug fix is released.
curious, why do you think it's ok for your sysadmins to compile php but not
the other stuff?
-
depending on how php is configured) $variablename.
>
> I've run into this problem myself and it's very annoying -- any idea the
> setting in php.ini that controls this?
>
> Thanks.
>
> --kurt
-- mike cullerton [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.p
f reading through hundreds of lines
> of code, hopefully catching the problem?
-- mike cullerton [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 administra
s tab-delimted but could be reformatted.
>
> Right now the file is uploaded and after copy($new_file, $file_loc)
> would like to refresh the db.
>
> unix box running php4 and mysql 3.22 and of course apache
>
> Thanks in advance,
> clif
>
-- mike cullerton [EMA
OBALS);
yes, but since you won't be 'referred' from anywhere, you won't see
$HTTP_REFERRER :)
>
> Saludos... ;-)
>
-- mike cullerton [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For a
t;> $HTTP_REFERRER :)
>
> ouch! You're totally right! :-)
>
> P.D.: But the variable will be there, only that it will be empty, right?
i don't think so. atleast not in my browser :(
>
> Saludos... :-)
-- mike cullerton [EMAIL PROTECTED]
--
PHP General Mailing
.. it still says it's "unable to open" the image I give it...
>
> hmmm..
>
> Susan
>
-- mike cullerton
--
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]
ng^w using images without paying for them. it's a fairly
involved process and definitely isn't exact.
anyone else?
mike
>
> Thanks in advance.
-- mike cullerton
--
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 folks,
i've got a script running into my max_execution_time. is there a way to
override the value in php.ini from within a script, rather than increasing
the time in php.ini?
thanks,
mike
-- mike cullerton
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e
his is the correct link:
> http://php.net/manual/en/function.set-time-limit.php
>
> -maxim maletsky
>
>
> -Original Message-
> From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, July 04, 2001 2:07 PM
> To: mike cullerton
> Cc: php php
> S
Sort of like this:
>
> $sql = "SELECT rowid FROM numbers WHERE (mynumer is within 10 of number)";
>
>
> but I've gotten stuck do I have to do this:
>
>
> $sql = "SELECT rowid FROM numbers WHERE (((mynumer+10) < number) AND
> (mynumer-10) > number
n as
root if i can help it. being forced to type 'sudo command' always makes me
think about what i'm doing.
and this is on a box with no users.
is this script being run from within apache or on the command line?
-- mike cullerton
--
PHP General Mailing List (http://www.php.ne
parate executable
>
> something like #! /usr/bin/perl -w with a script except then for php.
preface your script with
#!/your/path/to/php -q
>
> Marc van Duivenvoorde
-- mike cullerton
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
Fo
what do you mean by 'previous directory'? there's no real chronological
order to directories.
on 7/6/01 6:27 PM, Chris Anderson at [EMAIL PROTECTED] wrote:
> To specify, I want to link to a file in a previous directory, none of those
> methods seem to work for that.
name."\n ";
>
> if (chdir('e:\work\image')) {
> echo "current dir is e:\work\image";
> }
> echo "";
> }
> }
> closedir($dir);
> ?>
> -
>
> Please help me to fix the problem. Thanks.
>
-- mike cullerton
--
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]
l you own using serialize?
maybe i'm missing something easy...
mike
-- mike cullerton
--
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]
);
$field1 = substr($buffer,0,x);
$field2 = substr($buffer,x,y);
$field3 = substr($buffer,x+y,z);
...
where x is the length of the first field, y length of the second ...
also, you may want to trim() the fields.
i'm sure others around here can come up with something better.
:)
-- mike cul
on 7/7/01 7:38 PM, mike cullerton at [EMAIL PROTECTED] wrote:
> on 7/7/01 7:02 PM, Jeff Lewis at [EMAIL PROTECTED] wrote:
>
>> So I need to know how to process the files in the directory and then how to
>> process a few lines. The structure will always be the same and hav
"green";
> $myarray[5] = "blue";
> $myarray[6] = "red";
>
> and i'd output "red", "blue" and "green", but not have multiple instances of
> each.
>
> Thanks in advance!
> --
> Aaron Bennett
>
-- mike
on 7/8/01 5:53 AM, [EMAIL PROTECTED] at [EMAIL PROTECTED] wrote:
> Hi mike!
> On Sat, 07 Jul 2001, mike cullerton wrote:
>
>> hey folks,
>>
>> i'm trying to register an object as a session variable and feel like i'm
>> chasing my tail. i either g
on 7/8/01 10:51 AM, Tom Carter at [EMAIL PROTECTED] wrote:
> I thought convert was an imagemagick command, rather than unix by default?
> could be wrong tho...
yes, but you can install it on a box without xwindows and still use it. a
pretty cool tool.
-- mike cullerton
--
PHP G
your case)
one option is to have the web application create a file, and then have a
cron job as root come by and read the file and add the user(s).
-- mike cullerton
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EM
name of the file
includes the session id.
http://www.php.net/session
-- mike cullerton
--
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]
turning an array of
variables to serialize. should i include the db object in this array?
anyone have a simple example to start from?
any help appreciated, thanks,
mike
-- mike cullerton
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additi
->query($query);
if (!DB::isError) {
do_something_cool();
} else {
if (DEBUG) printf("\n",$rid->getMessage())
}
-- mike cullerton
--
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]
from http://php.net/include
An important note about how this works is that when a file is include()ed or
require()ed, parsing drops out of PHP mode and into HTML mode at the
beginning of the target file, and resumes again at the end. For this reason,
any code inside the target file which should be
form? Or
> some way to simulate the entering of the information and clicking of the
> submit button?
>
i'm not sure if this is what you are asking, but i can have an url like
http://mysite.com/?submit=click_me&opt=my_option
and refer to those inside my program as $submit and $
on 7/9/01 8:17 AM, Peter Schumacher at [EMAIL PROTECTED] wrote:
> I still run into the max_execution_time!!! I thought it would be reset as I
> redirect to another page.
within your script
ini_set("max_execution_time", $some_bunch_of_seconds);
-- mike cullerton
--
PHP
ng--not too clearly, I admit--about
> apps like Smarty and PhpLib and Pear, which I've heard so much about.
-- mike cullerton
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the lis
7;.
GET
http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd";>
Untitled
Connection closed by foreign host.
-- mike cullerton
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To con
ution would be for php to do it by itself when the session
> expires..
>
instead of a boolean you could use a timestamp and update it each time a
page is loaded. then a cron job could come by periodically and delete
sessions older than some specified time.
-- mike cullerton
--
PHP Gene
on 7/26/01 2:33 PM, Cole Tuininga at [EMAIL PROTECTED] wrote:
> Is there a way to easily list the variables that are registered within
> a session?
while (list($key, $val) = each($HTTP_SESSION_VARS)) {
do_something();
}
-- mike cullerton
--
PHP General Mailing List (http://www.p
ct is a
> global variable...
>
maybe try
global $_VARIABLE_, $$_VARIABLE_;
-- mike cullerton
--
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]
finitely have to
edit the code it produces, but you'll find patterns and you can search and
replace some. it's a great way to get some of your typing done if nothing
else.
-- mike cullerton
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
> on 7/26/01 9:55 PM, Balaji Ankem at [EMAIL PROTECTED] wrote:
>
> Hi, dear friends,
> How can i get the current date and time in the following input field.
>
>
>
> DATE:
>
> STATUS:
>
>
>
>
> Thanks in advance.
>
> Regards
y.
www.domain.com/add.php?num[]=2&num[]=3&num[]=4&num[]=5
-- mike cullerton
--
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 7/27/01 3:46 PM, Jerry Lake at [EMAIL PROTECTED] wrote:
> for the life of me I can't remember
> how to convert a string to just the first
> letter of itself i.e. $string = test
> ...a function
> $string_first = t
>
$word = substr($word,0,1);
-- mike cullerton
may need to make them in
two steps. i believe mkidir has a switch to force it to create any needed
directories along the way.
-- mike cullerton
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To co
interarchy as well.
in interarchy, after you have uploaded the file, select the file and choose
"Set Permissions..." from the Listing diresctory. then make sure the box for
group write is checked.
> Have a nice day,
>
> Stephan Huebner
hope this helps,
mike
-- mike culler
an politley say to newcomers. "hey, nice to have you around.
hope we can help you out some. two places you should go to get started are
php.net and link.to.list.faq"
let me know if there already is one.
have a day,
mike
-- mike cullerton
--
PHP General Mailing List (http://www.
should be serialized? can this even be used
when one (or more) of the variables is an object itself?
thanks,
mike
-- mike cullerton
--
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]
ion similar to include(), but can take strings
> instead of files. If the content that was in the database and I include()'d
> it, it would have the desired effect.
>
> Thanks in advanced
>
> - Kyle
>
>
-- mike cullerton
--
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]
t; Philip
>
>
> On Tue, 31 Jul 2001, CGI GUY wrote:
>
>> Is there anything (add. parameters, etc.) that I'm
>> missing that would possibly explain why the following
>> code won't execute?
>>
-- mike cullerton
--
PHP General Mailing List (http://
is a column, but "FROM" expects a table.
try "select table_name.column_name1,table_name.column_name2
from table_name"
-- mike cullerton
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTEC
lmost like one is a copy/paste and the
other is some kind of read. is there any different behavior we should expect
in scripts using one method vs another.
my first guess was that require_once wouldn't evaluate the file, but i can
execute code from within a file using either method.
thanks,
s
> imported into the file whereas an included file is only imported if the
> include() statement is executed. The same is true for the _once()
> versions except that the statement evaluates to nothing if the file has
> already been imported by another statement.
>
> Cheers,
> S
PROTECTED] wrote:
> SORRY i just coppied it wrong
> the actual code is capitalized
>
> while(list($k, $v) = each($HTTP_SESSION_VARS))
>
-- mike cullerton [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
out what you want in support from your vendors. support is support.
even monkeys can be trained. it takes someone who cares to provide good
support.
> I just figured that I would ask the PHP community exactly what they wanted.
> Thank you for any insight that you can give me.
well, not much of my
on 8/1/01 8:39 AM, Ibrahim Noor at [EMAIL PROTECTED] wrote:
> I tried to create file by fopen(fd, "w") function, but it didn't work.
> Permission Denied, server said.
maybe you (the user your script is running as) don't have permission to
write the file?
-- mike cu
applications can you imagine setting up and running
>> in this environment? What else would you need, if anything?
-- mike cullerton
--
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;
> ex: if($value == ???)
> {
> bla
> bla
> bla
> }
>
>
> My condition wants there to be nothing in $value.
-- mike cullerton
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTEC
t;;
> }
>
> function __sleep() {
> $this->svar['Hello'] = "Yawn";
> // return list of instance-variables to be serialized
> return array('error', 'svar');
> }
>
> function __wakeup() {
> $this->svar['test'] = &qu
ot;UPDATE TABLE seminar SET
>>
> title='$title',speaker='$speaker',event_date='$tdate',time='$time',bldg='$bu
>> ilding'
>> ,rm='$room' WHERE id='$id'";
>>
>> Without the quotes, SQL doesn't know that Something Amazing is
> supposed to
>> go together in the same string.
>>
>> HTH
>
-- mike cullerton
--
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]
7;ll add GD for real later, but 20% is fine for the
> proof-of-concept I'm working on right now.
>
> Anyway, you may be able to add in new PHP extensions without re-compiling
> everything, but you'll need to check up on the stability issue.
this is cool to know, thanks.
dude, aren't you being a little harsh?
> I hereby nominate Kyle as the official George W. Bush of the PHP General
> mailing list. Anyone second it?
to dubya, that is :)
-- mike cullerton
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PRO
lace ("[^0-9]","",$string);
-- mike cullerton
--
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]
1 - 100 of 129 matches
Mail list logo