>I was wondering if there is a way to attach files to emails sent via a PHP
>script. I just checked the 'mail functions' chapter of the php manual, but
>it doesn't seem to mention attachments. The attached files will come from
>the same server that php is running on BTW.
check my reply and homegr
Hello! Perhaps you know the programms called "Bot", which allows the
user to ask questions just by writing it in natural speak or which
guides the user in some process. I wonder if there is a (free?) solution
of this somewhere in the net.
Martin
--
PHP General Mailing List (http://www.php.net/
If you go to the URL I receive a mail telling me if anybody of
my DB has birthday. Nothing special.
Thanks!
"Analysis & Solutions" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Sire:
> >... but I've read it is un-secure. Is this true?
>
> Depends. What ha
yep - I can see two ways of doing it - either using exec()/system() or
compile the c/fortran code into a library file (.dll or .so depending on
server type) and, in php, use dl()
-Original Message-
From: Cui Chenzhou [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 04, 2002 3:56 PM
To: [EMA
I have many useful functions written in C language.
But now, I want to do some work on through Web browser.
Can I call these C functions from
PHP?
--
Í·ÉÏÓÐÐÇ, ½ÅÏÂÓз
¡ï¡î¡î¡î¡î¡ï¡î¡î¡î¡î¡ï
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.p
Another really good one:
http://phpmailer.sourceforge.net/
-Clay
> From: Jason Morehouse <[EMAIL PROTECTED]>
> Organization: Netconcepts LTD
> Date: Tue, 04 Jun 2002 17:15:58 +1200
> To: [EMAIL PROTECTED]
> Subject: [PHP] Re: email attachments and PHP
>
> Check out:
>
> http://www.phpgur
Or, if you're into doing it yourself, have a look at RFC2045 and RFC2046
http://rfc.sunsite.dk/rfc/rfc2045.html
http://rfc.sunsite.dk/rfc/rfc2046.html
-Original Message-
From: Jason Morehouse [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 04, 2002 3:16 PM
To: [EMAIL PROTECTED]
Subject: [
On Tue, Jun 04, 2002 at 12:00:49PM +0700, [EMAIL PROTECTED] wrote:
> php can access the microsoft access database ? what command the connection
Look at the ODBC functions in the manual.
--Dan
--
PHP classes that make web design easier
SQL Solution | Layout Solution
Check out:
http://www.phpguru.org/mime.mail.html
Works well... some good examples included.
-J
On Tue, 04 Jun 2002 17:09:12 +1200, Brad Wright wrote:
> Hi all,
>
> I was wondering if there is a way to attach files to emails sent via a
> PHP script. I just checked the 'mail functions' chapter
php can access the microsoft access database ? what command the connection
?
Roy Daniel , ST
IT Developer System - PT BERCA COMPUTEL
My E-mail : [EMAIL PROTECTED]
and : [EMAIL PROTECTED] / [EMAIL PROTECTED]
My ICQNumber : # 103507581
My Phone Cell : 0816-1192832
My Web site: http://www22.brinkst
Hi all,
I was wondering if there is a way to attach files to emails sent via a PHP
script. I just checked the 'mail functions' chapter of the php manual, but
it doesn't seem to mention attachments. The attached files will come from
the same server that php is running on BTW.
Thanks in advance.
Please note that this only neccesarily applies to MySQL. I've run into a
lot of problems by assuming double-quote syntax with postgres and mssql.
A better solution is to stop writing your own queries and use an
abstraction library.
Cheers,
Brad
Sqlcoders.com Programming Dept wrote:
>Hiya,
>Y
Sire:
On Mon, Jun 03, 2002 at 11:47:50PM -0400, Edgard Berendsen wrote:
> I'm using the following cronjob in my remote server:
>
> MAILTO="[EMAIL PROTECTED]"
> 0 0 * * * wget -Ofile.log -q -T10 http://www.domain.com/script.php /dev/null
>
> This is the only way I can run a cronjob successfully
I'm using the following cronjob in my remote server:
MAILTO="[EMAIL PROTECTED]"
0 0 * * * wget -Ofile.log -q -T10 http://www.domain.com/script.php /dev/null
the script.php is a normal php script.
This is the only way I can run a cronjob successfully but I've read
it is un-secure.
Is this true?
Hi,
I was just wondering given that only the standard FTP functions are
supported by PHP, is there anyway to actually resume a download? The
only thing that seems even capable of issuing any versatile commands is
ftp_site, and that only issues site commands.
I haven't had much luck with creat
On Mon, Jun 03, 2002 at 02:04:47PM -0700, Rick Kalifa wrote:
>
> I'm having trouble getting the PHP module installed on the
Apache/Tomcat installation. I've set it up as a service. The
documentation mentions editing the httpd.conf file but I cannot find
that file with this installation. The only
oops, i forgot a @ for mysql_connect() but oh
well, you get the point :)
Regards,
Philip Olson
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> The following code always returns the "Couldn't select
> database" error.
> $db_name="mydb";
> $table_name="my_table";
> $connection = @mysql_connect("localhost", "user", "password") or die
> ("Couldn't connect.");
> $db = @mysql_select_db($db_name) or die ("Couldn't select database");
> ?>
I use the following code for connection and selecting databases:
$link =
mysql_pconnect("localhost",$_SESSION['dbauser'],$_SESSION['dbapassword'])
or die("Could not connect");
print "Connected successfully";
mysql_select_db("stamps") or die("Could not select database");
This wo
have you tried doing a general search for that file? ie search all of ur hdd
...
-Original Message-
From: Verdon Vaillancourt [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 4 June 2002 11:15 AM
To: [EMAIL PROTECTED]
Subject: [PHP] MacOSX / php.ini newbie question
Hi Apologies in advance if t
Verdon,
I'm a fellow PHP'er on Mac OS X (Server) 10.1.4. : )
You need to download the full distribution from php.net/downloads ... In
there you will find a "php.ini-dist" file and "php.ini-recommended" file.
Pick one that you like, edit as needed with BBEdit Lite (NOT TextEdit!),
rename to "php
Hi Apologies in advance if this question is simple. I haven't been able to
find an answer...
Is there no php.ini file in a php 4.1.2 install on MacOSX 10.1.4 (client not
server) ? My php info/test page says that the path to the configuration file
(php.ini) file is '/usr/lib', but it is not there
If you don't want to query the database again, you could always write the
results to a file.
There's a matter of cleaning up old cache files though, but that's not what
was asked... ;D
-Original Message-
From: Justin French [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 04, 2002 11:40 AM
Only querying the database once would result in you having to set a massive
session, cookie, or something to hold the whole result in.
Doesn't sound right to me... for starters, 3000 records / 30 per page = 100
pages... it seems unlikely that every user will make it through the 100
pages, so they
hi
I am using 4.2.1 and it works fine, I can't see your source code as web
servers don't show it by design :)
But from the error message it can't find your class file. I used the code
below to test it.
Tom
$xsltproc = xslt_create();
$html = xslt_process($xsltproc, 'news.xml', 'news.xsl');
if
Philip Olson wrote:
> Please post:
>
> a) the error
> b) if the error is line #5, just post related lines line 4-6.
>
> I did see this:
>
> $result = mysql_query('$query', '$link_glob');
>
> Which should be:
>
> $result = mysql_query($query, $link_glob);
>
>
>
>
OK that did fix th
Please post:
a) the error
b) if the error is line #5, just post related lines line 4-6.
I did see this:
$result = mysql_query('$query', '$link_glob');
Which should be:
$result = mysql_query($query, $link_glob);
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, vi
ps: it was still not working..
--
Jule Slootbeek
[EMAIL PROTECTED]
http://blindtheory.cjb.net
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ok, i think i fixed up everything everybody told me (although some
answers did contradict) and here is the entire script...
Jule
--script (globals.inc.php)--
--script (globals.inc.php)--
--script (register_user.php)--
Your passwords do
not match,
please try again";
} else {
Something else along these lines -- I really, really wish that more sites
that use this method would test across multiple browsers and platforms.
I agree with everything John is saying regarding testing access/permissions
-- I've used this technique many times myself.
However, if a user with Int
try this jule..
$link_glob = "mysql_connect('$host_glob', '$un_glob', '$pw_glob')";
$temp= PASSWORD($password);
$query = "INSERT INTO user values('0', '$fname', '$lname', '$email',
'$username', '$temp');";
i think this will work..=) i hope ive done something.
- Original Message -
Are you sure this is the correct file? This is full
of syntax errors, you should be getting parse errors.
A few tips:
a) Don't post to multiple lists. This is a PHP issue,
not MySQL. Hopefully this will end the mysql list
thread.
b) Don't use mysql_db_query() as it is deprecated.
At 18:09 -0400 6/3/02, Jule Slootbeek wrote:
>Hey guys,
>i'm getting this error with the following sql script using php:
>--error--
>Warning: Supplied argument is not a valid MySQL-Link resource in
>/var/www/phpquiz/register_user.php on line 12
>--error--
>
>--script--
>$link_glob = "mysql_connec
Store the files above your web root and use a PHP script to control
access.
Use header to set the appropriate header for the file,
header("Content-Type: application/vnd.ms-excel; name='excel'");
header("Content-Disposition: attachment; filename=" . $filename .
".xls");
then use passthru() to
Raise the max execution time for your script. Either do it in PHP.ini or
I think there is a function for it you can use in your script...
---John Holmes...
> -Original Message-
> From: Mauro [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 03, 2002 4:35 PM
> To: [EMAIL PROTECTED]
> Subjec
mike, you could check out my example.
it's a form in flash that sends multipart/alternative email. you should get a html
formatted reply,
plain text for those guys and a zip attachment with the source file.
goto: http://www.bigjolt.com/mime/
i had a lot of trouble getting it to work. those pes
Jule Slootbeek wrote:
> G r e g L a w r i e wrote:
>
>> It would also appear you are missing a closing ) at the end of the
>> '$query=...' line. You have two opening backets and only one closing.
>>
>> Greg
>>
>> -Original Message-
>> From: Bruce Lewis [mailto:[EMAIL PROTECTED]]
>> Sent:
It would also appear you are missing a closing ) at the end of the
'$query=...' line. You have two opening backets and only one closing.
Greg
-Original Message-
From: Bruce Lewis [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 4 June 2002 7:50
To: [EMAIL PROTECTED]; mysql; php-general
Subject:
G r e g L a w r i e wrote:
> It would also appear you are missing a closing ) at the end of the
> '$query=...' line. You have two opening backets and only one closing.
>
> Greg
>
> -Original Message-
> From: Bruce Lewis [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, 4 June 2002 7:50
> To: [
[EMAIL PROTECTED] wrote:
> Do not use double kotes here.
> $link_glob = \"mysql_connect(\'$host_glob\', \'$un_glob\',
> \'$pw_glob\')\";
>
> mysql_connect is a function.
>
> Regards,
>
> Laercio Fortes
>
>
>
>
> Citando Jason Soza <[EMAIL PROTECTED]>:
>
>
>>If this is truly the code you\
> The memory footprint of the 3k - 5k of records, even if the
> total memory needed for each record is 1k (which it is not),
> is 30k - 50k RAM, less than the size of most web pages. The
> LIMIT query, running on a slow server to simulate dial-up
> connections, takes anywhere from 1.3 to
It would help to know exactly what information you are gathering and for
what reason are you storing it.
-Kevin
- Original Message -
From: "Mauro" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, June 03, 2002 2:35 PM
Subject: [PHP] keep alive refresh
> Hello,
>
> I looked for
Do not use double kotes here.
$link_glob = \"mysql_connect(\'$host_glob\', \'$un_glob\',
\'$pw_glob\')\";
mysql_connect is a function.
Regards,
Laercio Fortes
Citando Jason Soza <[EMAIL PROTECTED]>:
> If this is truly the code you\'re using, you\'re missing the closing
> curly-brace afte
If this is truly the code you're using, you're missing the closing
curly-brace after the else statement. I.e. this:
} else {
echo "Your Information has successfully been
entered into the database!";
Should be this:
} else {
echo "Your Information has successfully been
entered into
Hiya,
You're using single quotes around all your strings,
for variables to be replaced with their values, you must use double quotes.
Try replacing every ' with ".
HTH,
Dw
Sqlcoders.com Dynamic data driven web solutions
- Original Message -
From: "Jule Slootbeek" <[EMAIL PROTECTED]>
To:
Hello,
I would like to allow visitors to my site to download documents created
with MS office and .PDF files as well. In order to prevent linking from
other sites I'd like to make or modify a script that hides the actual
location of the files.
A pointer in the right direction would be most ap
Hey guys,
i'm getting this error with the following sql script using php:
--error--
Warning: Supplied argument is not a valid MySQL-Link resource in
/var/www/phpquiz/register_user.php on line 12
--error--
--script--
$link_glob = "mysql_connect('$host_glob', '$un_glob', '$pw_glob')";
$query = "IN
Jared:
On Mon, Jun 03, 2002 at 04:33:45PM -0400, Jared Boelens wrote:
> In my case i am trying to override a variable. I have a property Username
> for both the parent and the child. I am wondering if there is a way to
> differenciate between parent->Username and child->Username.
Are you talk
In that case, you can look at your autoexec.bat. There is a variable (I think
called path). Just make sure it's right.
On Sunday 02 June 2002 21:31 pm, you wrote:
> I forgot to write I run on a win98, so no shell :)
> So what?
>
> Makis
>
> > -Original Message-
> > From: Evan Nemerson [
Is Sablotron broken in 4.2.1 because none
of the transformations have worked that
I have tried.
I am using:
php 4.2.1
apache_1.3.24
expat-1.95.2
my files are:
'wget http://213.84.71.105/news.xml'
'wget http://213.84.71.105/news.xsl'
'wget http://213.84.71.105/news.php'
Does anyone know of a good site for GD 2.x formulas using Alpha channels?
Currently I'm trying to make a color gradiant, but in an oval rather than a
line. I have a tools that can do this on an image, but my goal is to allow
the color to be dynamic so I need to build it on the fly.
-Jim
___
>From reading the manual, it is my understanding that one cannot explicitly
override parent class functions and/or properties.
I found this article stating, "You can override any function but it is an
implicit override...any function that is overridden in a child is never
called in the parent, so
Hello,
I looked for some old questions about my problem in the m.l. archive but
I did not find anything.
I'm writing a php script which takes a couple of values from the web
interface and then passes these values to a program which writes it's output
on a file.
Then the output of the file is pub
There should be session info to pass though, its just not getting through to
the subdomain from the main one.
The login script (on the main domain) for sessions looks like this:
session_register("type","user","pass","userid","user_is_logged_in","sessid")
;
then it redirects to the subdomain base
document root is where your webserver gets his files from. Default on Apache
is htdocs.
Hope this helps,
Andy
http://www.globosapiens.net
Global Travellers Network!
"Taylor Lewick" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
[EMAIL PRO
Actually, if you are doing this then just re-login the person once they get
to the new domain. Then you have the login and the session.
PHP has the capability to allow you to replace the session handler. If you
have to have them login in one domain and then use the info in another,
building your
Help!
I'm having trouble getting the PHP module installed on the Apache/Tomcat installation.
I've set it up as a service. The documentation mentions editing the httpd.conf file
but I cannot find that file with this installation. The only thing that I can find to
configure the server is the ser
I am currently storing the session hash/login info (userid, session hash,
host, etc.) in the db and send it to the next domain in the redireted URL.
How would the handler work if no session info isn't being passed to the
subdomain?
Thanks!
Jason
> From: Cal Evans [mailto:[EMAIL PROTECTED]]
>
On Mon, Jun 03, 2002 at 08:41:37PM +0100, Stuart Dallas wrote:
>
> Surely a regular expression is overkill for this? It would be more efficient to
> use str_replace()...
>
> $dir = str_replace('..', '', $dir);
Sure. But you'd need to do two replaces. First for '../' then for '..'
Not a big de
Store your session information in a database. Assign it an ID and send that
ID to the cookie or the URL in the new domain. Then you can write a session
handler that retrieves the session info form the database.
=C=
*
* Cal Evans
* Journeyman Programmer
* Techno-Mage
* http://www.calevans.com
*
My mistake:
Try unlink() then touch() not fopen().
Hugh
- Original Message -
From: "hugh danaher" <[EMAIL PROTECTED]>
To: "php" <[EMAIL PROTECTED]>
Sent: Monday, June 03, 2002 12:43 PM
Subject: Re: [PHP] delete file contents before writing?
> Try unlink("$file_name") then fopen("$file_na
On Mon, 3 Jun 2002, Jason Dulberg wrote:
> The subdomain's are all on the same server and all have their docroot set to
> the same directory. I'm mainly using subdomains as a way to keep the site
> organized and to have different graphics based on their sport location.
>
> So if I pass to the ne
Try unlink("$file_name") then fopen("$file_name","rw")
unlink() deletes the whole file from the directory.
Hope this helps.
Hugh
- Original Message -
From: "Jas" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, June 03, 2002 8:37 AM
Subject: [PHP] delete file contents before writi
On Monday, June 3, 2002 at 3:37:48 PM, you wrote:
>$dir = preg_replace('/\.\.\/?/', '', $dir);
Surely a regular expression is overkill for this? It would be more efficient to
use str_replace()...
$dir = str_replace('..', '', $dir);
--
Stuart
--
PHP General Mailing List (http://www.php.n
The subdomain's are all on the same server and all have their docroot set to
the same directory. I'm mainly using subdomains as a way to keep the site
organized and to have different graphics based on their sport location.
So if I pass to the next subdomain, do I just use session_start() if the
p
[snip]
Okay...glad to see someone put some thought into it instead of just wanting
to do it because "queries are bad!". Also, the speed of the query doesn't
depend on the connection speed at all.
[/snip]
I know...in this case it is just the number of records that are needed vs.
the number of reco
I don't know if it's possible (or faster, or more efficient), but could
you query your millions of records for those 3k - 5k, insert them into
a temp table, then do your LIMIT queries on that table for your
prev/next pages?
Just an idea!
Jason Soza
Juneau, Alaska
- Original Message -
I've tried to search the archives/bug reports/faq's and didn't find any
definitive answers on the zlib Double Free Bug CERT's Advisory CA-2002-07
issue. Even though I didn't compile php with the --with-zlib option when I
run strings against the php library I still see zlib information. For
examp
On Mon, 3 Jun 2002, Jason Dulberg wrote:
> I am working on a sports website that will have a subdomain for each major
> sport. There is a login panel on the main domain that routes users to the
> appropriate subdomain depending on the sport that they are in. Everything
> seems to be ok with cooki
Okay...glad to see someone put some thought into it instead of just wanting
to do it because "queries are bad!". Also, the speed of the query doesn't
depend on the connection speed at all.
So, to solve your problem, load it into a session array.
session_start();
$result = mysql_query("...");
whi
I am working on a sports website that will have a subdomain for each major
sport. There is a login panel on the main domain that routes users to the
appropriate subdomain depending on the sport that they are in. Everything
seems to be ok with cookies (cookiedomain=.domain.tld) but I can't get it t
[snip]
So you think it's more efficient and faster to load a 3 - 5 thousand row
table into an array in memory and pass that around to all of your scripts
(through sessions?), rather than just passing a $page variable and doing a
query to return 30 rows on each page??
If you pass a $Page variable,
So you think it's more efficient and faster to load a 3 - 5 thousand row
table into an array in memory and pass that around to all of your scripts
(through sessions?), rather than just passing a $page variable and doing a
query to return 30 rows on each page??
If you pass a $Page variable, you ca
Jim-
Please don't post such useless garbage to the lists. The
thread was dead, mistakes were made, time to move on. We
all make mistakes from time to time (frustration), and can
only learn from them. Draft folders are good.
Regards,
Philip Olson
> and you want people to actually ready yo
Henry,
Thanks for the reply. I tryed tweaking the pearMime.php class to handle
correctly with no luck. As a temporary solution, I didtched the Mime.php
class and just simpley added my own headers.
$hdrs = array(
'MIME-Version' => "1.0",
'From' => $list_s
"Tobyn Baugher" <[EMAIL PROTECTED]> wrote:
> This line's gonna wrap, but it all goes on the same line :P
>
> 0 0 * * * /usr/local/bin/mysqldump -u --password=
> >
>
> Obviously replace , , , and
> with the values you want to use for each.
>
> Of course, I would never recommend putting a "secur
look on phpbuilder.com and/or zend.com... I've seen articles on this very
subject.
On Mon, 3 Jun 2002, Jay Blanchard wrote:
> Howdy!
>
> I am working on a project where approximately 3k - 5k records are returned
> and need to be displayed 30 per page with 'previous' and 'next' navigation
> at th
That is exactly what I thought, I was just looking for some reassurance. I
have been working with C# lately and the syntax for classes is a lot more
explicit. I wanted to make sure I wasn't making a mistake on what PHP
implcitly does.
Thanks
-Jared
-Original Message-
From: Tobyn Baug
On Mon, 2002-06-03 at 13:42, Jared Boelens wrote:
> This may be a dumb question but, how can you be sure that the $this-> is
> referring to the parent classes' property and not the current class. On
> that note, does it really matter of which one it refers?
B inherits $b from A. $this->b and "pa
Here's a little tweak to gzip the backup results. I put this into another script
that gets called by crontab. Are my DB userid and password still visible when
run this way? I'm never here to see it run, because it happens late at night.
/usr/bin/mysqldump --user=DBUSER --password=DBPASSWORD DATAB
This may be a dumb question but, how can you be sure that the $this-> is
referring to the parent classes' property and not the current class. On
that note, does it really matter of which one it refers?
-Jared
-Original Message-
From: Tobyn Baugher [mailto:[EMAIL PROTECTED]]
Sent: Monday
No offense but what you just said made absolutely no sense. There is no way
to perform an operation on a computer without allocating memory for that
operation. Unlike other lower level prgramming languages (ie. C/C++) PHP
automatically allocates the necessary amount of memory for whatever
operat
On Mon, Jun 03, 2002 at 01:49:03PM -0300, Paulo Cesar wrote:
> I'd like to know if the include function alocates the variables that
are in the included file in the memory... and, if it happens, if do I
have a way to access a file with some variables without alocating it in
memory.
Dude, turn li
On Mon, 2002-06-03 at 13:18, Kelly Meeks wrote:
> Any way to use cron to automate the mysqldumping of databases on a nighly basis?
>
> Any examples would be greatly appreciated.
This line's gonna wrap, but it all goes on the same line :P
0 0 * * * /usr/local/bin/mysqldump -u --password=
>
O
On Mon, Jun 03, 2002 at 11:15:15AM -0600, Jas wrote:
>
> In order to view the contents of the file in the
> text area I had to setup a eregi_replace("<","&a&") string.
&'s are not legal in HTML. You need to escape them. When pulling stuff
out of the file, use htmlspecialchars() before displayi
Any way to use cron to automate the mysqldumping of databases on a nighly basis?
Any examples would be greatly appreciated.
TIA,
Kelly
This is baffling me, I have a form on one page that opens a php file in a
text area for editing. In order to view the contents of the file in the
text area I had to setup a eregi_replace("<","&a&") string. When I save the
changes back to the text file I setup a reverse string i.e. [
eregi_replac
Howdy!
I am working on a project where approximately 3k - 5k records are returned
and need to be displayed 30 per page with 'previous' and 'next' navigation
at the request of the users. Does anyone know of an efficient script that
will do this in PHP (with MySQL) that will not query the database
On Monday 03 June 2002 01:00 pm, you wrote:
> Sunday, June 02, 2002, 7:55:09 PM, Andre wrote:
> AD> I've been wondering why code in 'pure' php? Is there some compelling
> reason AD> (that I'm unaware of) for doing so? Should I rewrite all my
> earlier code into
>
> Andre,
> Sorry to chime
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Daniel Grace) wrote:
> Comments? I was expecting the numbers to be very similiar -- rather shocked
> that the PERL ended up being about 2.5x as fast as PHP was.
As Rasmus says, one of the things Perl was designed for was speed. The
Perl designe
Sunday, June 02, 2002, 7:55:09 PM, Andre wrote:
AD> I've been wondering why code in 'pure' php? Is there some compelling reason
AD> (that I'm unaware of) for doing so? Should I rewrite all my earlier code into
Andre,
Sorry to chime in so late, but IMO, be more concerned with
saving outpu
On Mon, 2002-06-03 at 12:45, Jared Boelens wrote:
> So am i to understand that i will have to do it in this manner?
*SNIP*
No no no... B extends A, and you have an instance of B. Just do this:
class A
{
var $b;
*snip*
}
class B
{
function B($b)
{
and you want people to actually ready your books after talking to customers
like that. I should burn your book. I thought you were a helping person.
If someone has a question and it is obvious that they have no clue about
what they are talking about. shouldn't you walk them through it instead o
Hi people...
I'd like to know if the include function alocates the variables that are in the
included file in the memory... and, if it happens, if do I have a way to access a file
with some variables without alocating it in memory.
Tks...
Paulo Cesar
So am i to understand that i will have to do it in this manner?
class A {
var $b;
A() {
}
function getB() {
return $this->B;
}
function setB($b) {
$this->B = $b;
}
}
class B extends A {
B($b) {
- Original Message -
From: "Jared Boelens" <[EMAIL PROTECTED]>
To: "php list" <[EMAIL PROTECTED]>
Sent: Monday, June 03, 2002 5:20 PM
Subject: RE: [PHP] CHM Form Of PHP Manual? (Was: [PHP] Question regarding ::
syntax)
> The CHM version of the help file can be downloaded here:
>
> http:
string concat
something like this require(contant.$variable."string");
Jim Lucas
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, June 03, 2002 1:26 AM
Subject: [PHP] echoing two varibles(newbie)
How can I echo(or include) two variables?
On Mon, 2002-06-03 at 12:06, Jared Boelens wrote:
> Is there not a way to refer directly to the parent properties? Or do i have
> to setup a get function for every parent var that I want to access.
Tis my understanding that you cannot refer to class properties without
an instance of the class.
On Mon, 2002-06-03 at 11:37, Jas wrote:
> Not sure how I could do this as I could not find a functions on php.net to
> allow me to first delete the entire contents of a file "before" writting the
> changes supplied by a textarea. Here is what I have thus far:
Just fopen a file with the 'w' mode
Not sure how I could do this as I could not find a functions on php.net to
allow me to first delete the entire contents of a file "before" writting the
changes supplied by a textarea. Here is what I have thus far:
Page one - Form:
Page two - open file and write changes:
As of right n
1 - 100 of 149 matches
Mail list logo