I needto use php to open *.swf,
and then send some xml code to it.
anyone knows if this is possible,
and if so, how to send code (via POST) to the *.swf after opening it?
thnx
Michiel
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
From: DeloX <[EMAIL PROTECTED]>
Date: Fri, Oct 26, 2001 at 03:18:33AM -0400
Message-ID: <[EMAIL PROTECTED]>
Subject: [PHP] What is the best way to do this...
> Let s say i have 5 pages on my site. I want some content to appear on each
> page so that when i want to change that content on all the
On Fri, 26 Oct 2001 16:48, DeloX wrote:
> Let s say i have 5 pages on my site. I want some content to appear on
> each page so that when i want to change that content on all the pages i
> have only one place to modify. I used to write that content in a .txt
> file and having it read each time any
Hello,
Just curious, before I get into the heat, but did anyone who already has installed
MySQL 4 had any problems compiling PHP?
Thanks in advance,
Leon Mergen
Let s say i have 5 pages on my site. I want some content to appear on each
page so that when i want to change that content on all the pages i have only
one place to modify. I used to write that content in a .txt file and having
it read each time any of the 5 pages was loaded. So i had to modify th
Hello All,
I am new to this list and am sure most of you are tired of this subject
appearing. Please forgive me as I am becoming tired of searching archives
and the internet and I am hoping someone here can help me.
I am using fsockopen to post data to a dll on a SSL server. I setup the
socket
I am trying to get the data out of the while loop if I echo $email
inside the } it gives me all of the data but if I echo it out side of
the loop it only gives me one record even though I know there is
more. How can I get this to work
$query = "SELECT * FROM members Where Company LIKE '%$sea
ok thanks, think I fall in that category too, but doing my best to change it
:)
-Original Message-
From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]]
Sent: Friday, 26 October 2001 4:05 PM
To: Joseph Blythe
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] security
Has been around for quite a while
if you're using unix, there's the "tail" command:
$results\n";
?>
-Original Message-
From: Yamin Prabudy [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 26, 2001 4:08 PM
To: [EMAIL PROTECTED]
Subject: [PHP] tail a file
Hi there I need help here
I got a file say it's a logs file and ke
Has been around for quite a while and pretty much all the points are
address right in the PHP documentation at http://php.net/security which is
a much more informed source to study. The guy who wrote that scarlet
report only had a very thin grasp of the concepts.
-Rasmus
On Fri, 26 Oct 2001,
Hi there I need help here
I got a file say it's a logs file and keep update ever changes
I need to tail this files and pharse it into web, so I can see this the
update without login into server (jst thru web browser ) how can i do this
Thanks for Help
--
PHP General Mailing List (http://www.p
Is the PHP code you provided below working, I need something like than and i
wonder if i could use it.
NOBBY
(ps: sorry, i can't show u ASP equiv of it coz I do not know)
- Original Message -
From: MrBaseball34 <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 25, 2001
just stummbled across this great study by Shaun Clowes on php security, this
is just the kind of information I have been looking for, thought others
could also benefit from it.
http://www.securereality.com.au/studyinscarlet.txt
found during google search: PHP Security
cheers,
joseph
--
PHP
Could someone glance at my situation and the enclosed PHP error log snippet
and give me an idea as to where to procede? I'm pretty stuck.
Stats:
OS: Linux (RH 7.1)
Apache 3.19
Have latest openLDAP and Berkeley DB 3 Installed with no build errors
(/usr/local;/usr/local/BerkeleyDB.3.3)
My PHP c
Question 2:
you'll notice the 4th parameter to mail() is the headers to send. You can
use something like:
"From: Name <[EMAIL PROTECTED]>\r\n"
or
"From: Name <[EMAIL PROTECTED]>\r\nReply-To: Name <[EMAIL PROTECTED]>\r\n"
(can't remember if this the right format for the name/email address, but
thos
If you wanted to check for more than one username/password set, then extend
this line
if ($userid == "somename" && $password == "somepassword") {
to something like
if (($userid == "somename1" && $password == "somepassword1") ||
($userid == "somename2" && $password == "somepassword2") ||
active states komodo (www.activestate.com) or ZendIDE 2 (www.zend.com) I
have used both and are really good as you can debug both local and remote
scripts both are commercial though, komodo is free for non-commercial use. I
believe you can beta test them both (ZendIDE2 requires you to be ZPal) :)
I need to some help about example scripts on:
Question 1:
How to process the confirmation email by clicking the url given in the email
and by replying the email.
Question 2:
I know if using mail(), the "From" field of the mail sent out is always the
web host server's mail sendout server,
not from
On Fri, 26 Oct 2001 13:59, Kurt Lieber wrote:
> Oh please please please check the archives. This thread has been
> thrashed around and beat until it's nothing more than a bloody mass of
> quivering flesh...
>
> http://marc.theaimsgroup.com/?l=php-general
>
> On Thursday 25 October 2001 21:10, Ray
Oh please please please check the archives. This thread has been thrashed
around and beat until it's nothing more than a bloody mass of quivering
flesh...
http://marc.theaimsgroup.com/?l=php-general
On Thursday 25 October 2001 21:10, Ray Todd Stevens wrote:
> I ahve been using go-live (4.0) t
I ahve been using go-live (4.0) to edit pages containing php scripts.
this is not really working well. Is there a better way or a better editor
to use for this?
Ray Todd Stevens Specialists in Network and Security
Consul
"thename" and $pass<>"thepass")
{
tothis
}
else
{
dothat
}
--
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]
Here would be one of many ways. This assumes that login.php and index.php
are in the same directory.
login.php
User
Password
--
Gaylen
[EMAIL PROTECTED]
http://www.gaylenandmargie.com
PHP KISGB v2.1 Guestbook http://www.gaylenandmargie.com/phpwebsite
"Norman Zhang" <[EMAIL PROTE
Hi All,
If I unset variables/arrays/etc, that I will not use on my script anymore,
should I expect a performance increase?
--
Julio Nobrega.
Um dia eu chego lá:
http://sourceforge.net/projects/toca
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PRO
try this
", $output);
echo $output;
?>
make sure you put the correct paths to the .exe and file otherwise it will
think that it is realtive to where you are in the file system.
Jim
- Original Message -
From: "John A. Grant" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, Oc
On Thu, 25 Oct 2001 22:37, John A. Grant wrote:
> "John A. Grant" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> > I've installed ActivePerl, which gives me a way to run .pl files,
> > i.e. :
> > c:\> perl someprogram.pl
> >
> > Does the Win32 php insta
Hi Folks,
Does any one here know how to access MS Access file in PHP? And is it
possible to do it on a platform other than Window NT/2K, such as Linux or
FreeBSD?
Alex
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
"Douglas Winslow" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Franco Breciano wrote:
>
> > a
>
>
> for($i=0;$i<13;$i++){echo chr(97+($i?3:0));}
LOL! Brilliant... :-)
--
Lasse
--
PHP General Mailing List (http://www.php.net/)
To unsubscrib
"Jim Lucas" <[EMAIL PROTECTED]> wrote:
> the bad thing about using the "#&160", mac user won't be able to view
this.
> mac uses a different ASCII set 160 isn't a space :)
Jim,
Thanks for the info. I'll definitely have to research this further. I had
been using since '96 and only started us
"Jim Lucas" <[EMAIL PROTECTED]> wrote:
> the bad thing about using the "#&160", mac user won't be able to view
this.
> mac uses a different ASCII set 160 isn't a space :)
Jim,
Thanks for the info. I didn't realize that. I actually recently started
using that instead of a few months ago b/c
On Thu, Oct 25, 2001 at 10:30:24PM +0200, Rudi Ahlers wrote:
> I would like to setup a banned ad server, and I will need the images
> to be displayed in standard html pages, where the users don't have
> php access. Thus, they should be able to call up the image from a
> normal html page, ie: src
> > I have the following code, which reads in an html file
> >
> > $fd = fopen("somefile.html", "r");
> > while (!feof($fd)) {
> > $buffer = fgets($fd, 4096);
> > $body .= $buffer;
> > }
> > fclose($fd);
> >
> > I am then mailing this:
> >
> > if (mail($username." <".$email.">", $mailsubje
Please define "long", and perhaps think of that in the context of the RFC ?822 is it?
=dn
- Original Message -
From: "BT News" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: 25 October 2001 17:38
Subject: [PHP] Truncating Lines
> Hi,
>
> I have the following code, which reads in an
> I have just set up PHP on my webserver (IIS 4 on NT4).
> I have set up the script mapping so that I can save php files as .html and
> php processes them.
>
> This works fine until someone goes to a page that doesn't exist - instead of
> getting the customised error 404 page (i.e. the page you r
I am new to PHP and have been experimenting with it for couple of weeks now.
I need to take a course that can make me very proficient in a short amount
of time. I am in Orange County, CA. Anywhere in Southern California would
be fine.
Please let me know suggestions.
--
PHP General Mailing L
the bad thing about using the "#&160", mac user won't be able to view this.
mac uses a different ASCII set 160 isn't a space :)
Jim
- Original Message -
From: "Steve Werby" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, October 25, 2001 4:06 PM
Subject:
> "John A. Grant" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > I've installed ActivePerl, which gives me a way to run .pl files,
> > i.e. :
> > c:\> perl someprogram.pl
> >
> > Does the Win32 php installation give me a command-line
> > interpreter lik
"Marcus James Christian" <[EMAIL PROTECTED]> wrote:
> How do you call for a space in an email put out by mail(); ? Similar
> to the way we call \n newlines with backslash n??
Within an email create a space by typing " " or ' '. If you want 10 spaces
do str_repeat( ' ', 10 ). If you wanted to
function foo($arg1, $arg2="") // or you can replace the "" with array()
{
blah
}
Jim
- Original Message -
From: "Kurt Lieber" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 25, 2001 3:57 PM
Subject: [PHP] account for missing/optional arguments in functions?
>
I am new to PHP and have been experimenting with it for couple of weeks now.
I need to take a course that can make me very proficient in a short amount
of time. I am in Orange County, CA. Anywhere in Southern California would
be fine.
Please let me know suggestions.
--
PHP General Mailing L
Two php functions may help, func_num_args() and func_get_args(). For
example,
$numargs = func_num_args();
$arg_list = func_get_args();
Kirk
> -Original Message-
> From: Kurt Lieber [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, October 25, 2001 4:58 PM
> To: [EMAIL PROTECTED]
> Subjec
Is it possible to account/trap missing arguments in functions?
For instance, say I have a function foo:
function foo($arg1,$arg2) { blah }
If someone calls that function as:
foo($arg1);
Can I somehow code around the fact that $arg2 is missing? I've tried:
function foo($arg1,$arg2) {
if
> I suspect that PHP does all of it's work and, only when complete, will it
> send the generated html to the client.
>
> No matter what you try and do there's no way you can output the progress of
> your script to the browser while it is still being parsed.
>
> I could be wrong, but this is my und
I was just curious what sort of performance hit is taken with multiple
includes per page? Or maybe if there was a way to cache includes?
Thanks
Andy Muth
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comma
are you trying to have one column not be a dup or a combination of columns?
jim
- Original Message -
From: "Jeff Gannaway" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 25, 2001 2:31 PM
Subject: [PHP] Setting A MySQL Column to NO DUPLICATES
> Does anyone know how t
I think you want UNIQUE.
create table sometable (
somecolumn char(40),
someothercolum int,
unique somecolumn
)
...something like that. I haven't messed with it much.
-Steve
On Thursday, October 25, 2001, at 04:31 PM, Jeff Gannaway wrote:
> Does anyone know how to set
I'm not sure if you can... What I usually do is do a query to see if
there's already an entry there, and display an error message if there is.
Another thing to you can do is allow duplicate entries, and use the DISTINCT
option in the SELECT statement. This wouldnt be as efficient, so i'd try
the
I use BBEdit and because of the syntax highlighting for many code languages,
grep search and replace, multifile search and replace, plus many other
features I find it to be the best code editor out there. I have also heard
it said that it is the best editor out there period, from multiple sources
Does anyone know how to set a column in a MySQL table to disallow any
duplicate entries.
I've already got a PRIMARY KEY defined for this table. I tried setting the
other field to a MUL KEY, hoping that it would not permit duplicates, but
it does.
I've searched the MySQL docs without success. I
I wrote a php pipe that allows people to play Zork from their browser
http://phpzork.com
Zork is a 20 years old command based adventure games. One of the first and
most popular. It's source code was released. Many of us here should remember
it.
For those who don't know how to play, just type y
I get that error when i try to start a session.
Warning: Cannot send session cookie - headers already sent by (output
started at
What is happen?
Germán Pablo Gentile
IT Manager
Horizonte Soluciones de IT
www.horizonteit.com.ar
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net
Toni,
Note the "Unknown host".
Check your odbc.ini for the Host field of the DSN you are using.
Ensure it's resolvable. Try an IP address instead maybe.
Also, set the variables in the environment and see if your DSN works in
odbctest without PHP in the mix.
Best regards,
Andrew Hill
Director o
Check data1.tsl.state.tx.us it I can't even ping it.. try using IP adress
instead or check that name.
- Original Message -
From: "toni baker" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 25, 2001 4:56 PM
Subject: [PHP] php/Oracle db connection
> I have successfull
I have successfully compiled php with linked iODBC
driver manager as an Apache shared module. However
when trying to connect php to the Oracle database I
get an error. The error and the sample connection
code is below.
Warning: SQL error: [OpenLink][ODBC]RPC: Unknown host,
SQL state 08004 in SQ
Hi
I would like to setup a banned ad server, and I will need the images to be
displayed in standard html pages, where the users don't have php access.
Thus, they should be able to call up the image from a normal html page, ie:
http://www.adserv.webonline.co.za/phpads.php3?what=main";>
Can anyone
I don't think so, but if I have to suspect my code or a bug in php, I'll
suspect my code. :)
I did a quick "if (isset($companyID_string)) { print "true"; } else { print
"false";} and that didn't turn up anything, but I didn't spend a whole lot of
effort on it.
Like I said, I'm pretty sure I s
what I guessed was that you were using the variables somewhere else in the
script above this code. then you were adding on to them again. without
resetting them to blank. Are you using these vars somewhere else (above
this) in your code?
jim
- Original Message -
From: "Kurt Lieber" <[E
OK, so I defined the variables before using them and that solved the problem.
(Thanks!)
I'm still curious as to why not defining them ahead of time would cause the
data within each string to get duplicated. In other words, if the query
results are "a,b,c,d", then by not defining the variable
Umm...
function top($image = '')
{
echo("bla bla $image bla");
}
Might need to use an IF (because of having 2 spaces if the image is empty)
-Jason Garber
IonZoft.com
At 10:14 AM 10/24/2001 -0700, Richard S. Crawford wrote:
>function top ($image) {
> if ($image) echo "blah bla
On 10/25/2001 3:51 PM this was written:
> Out of curiosity, what's wrong with BBEdit, that'd be my choice. It has
> color syntax highlighting for PHP, and is IMHO, the best editor on MacOS.
> Another one I used briefly was Alpha. So, if BBEdit isn't to your liking,
> maybe check out Alpha. I d
I notice that you are concatinating then each time. try setting them to =""
before using them
$companyID_string = "";
$companyName_string = "";
then:
while()
{
$companyID_string .= "," . $query_data[0];
$companyName_string .= "," . $query_data[1];
}
Jim
Trying using mysql_fetch_array, and using the field names. This is the
recommended behaviour in PHP4:
$result = mysql_query($myQuery) //$myQuery gets defined earlier
$resultCount = mysql_num_rows($result);
$companyID = array();
while($query_data = mysql_fetch_
Out of curiosity, what's wrong with BBEdit, that'd be my choice. It has
color syntax highlighting for PHP, and is IMHO, the best editor on MacOS.
Another one I used briefly was Alpha. So, if BBEdit isn't to your liking,
maybe check out Alpha. I don't know if Alpha is still being kept up or not,
I'm executing a query that returns some a UID and a company name. I'm using
the following code to loop over that query result set:
$result = mysql_query($myQuery) //$myQuery gets defined earlier
$resultCount = mysql_num_rows($result);
$companyID = array();
wh
> > the only way you may go wrong with this is with scoping,
> > $yourvar isn't available in a function inside yourpage.php.
> It can be, though. You just need to tell the function to look for the
> global variable $yourvar:
> function yourFunction() {
> global $yourvar;
> ...
> }
or
f
Hello list,
Simple Enough Objective: store file remotely (wu-ftp);
MinorSnag: PHP's ftp-functions unavailable at localhost;
BelowWorkaround: works fine for deleting remote file;
MajorSnag: how to STORE a file remotely using socket?
BTW: I also messed with fopen("ftp://user:pass@...";)
but fail
try this out
$words = explode(" ", $keywordText);
$compare = array('on', 'the', 'in', 'at', 'is', 'it');
foreach ($words AS $value)
{
if (in_array($value, $compare))
{
$ignored[] = $value;
} else {
$included[] = $value;
}
}
Jim Lucas
- Original Message
On Thursday, October 25, 2001, at 02:08 PM, Martín Marqués wrote:
> On Jue 25 Oct 2001 15:36, you wrote:
>> Hello php-general,
>>
>> I have such code:
>>
>> class A
>> {
>> var $xxx;
>>
>> function print()
>> {
>> echo $xxx;
>
> $xxx is internal to
Hello list,
Simple Enough Objective: store file remotely (wu-ftp);
MinorSnag: PHP's ftp-functions unavailable at localhost;
BelowWorkaround: works fine for deleting remote file;
MajorSnag: how to STORE a file remotely using socket?
BTW: I also messed with fopen("ftp://user:pass@...";) but fail
Hello list,
Simple Enough Objective: store file remotely (wu-ftp);
MinorSnag: PHP's ftp-functions unavailable at localhost;
BelowWorkaround: works fine for deleting remote file;
MajorSnag: how to STORE a file remotely using socket?
BTW: I also messed with fopen("ftp://user:pass@...";) but fail
> If the link is
>
> Then in yourpage.php ...
>
> echo($yourvar);
>
> the only way you may go wrong with this is with scoping, $yourvar isn't
> available in a function inside yourpage.php.
It can be, though. You just need to tell the function to look for the
global variable $yourvar:
function
Does anyone know of a text editor for PHP similar to BBedit for the Mac
9.0 or better platform?
--
Ladonna Everett-Green
O'Connors Church Goods, Inc.
3720 El Cajon Blvd
San Diego, CA 92105
800-854-6567
619-283-2076 fax
[EMAIL PROTECTED]
[EMAIL PROTECTED]
--
PHP General Mailing List (http:/
Actually your problem is with the function itself. In order for it to work
you need to use the "this" keyword:
class A {
var $xxx;
function print() {
echo $this->xxx;
}
}
You may also run into problems with calling the function print(), I don't
know for sure. But the probl
On Thursday 25 October 2001 11:41, you wrote:
> How do I set permissions for a certain user (ie nobody) for a directory?
> If I do this, won't anyone on teh server be able to write to that
> directory?
If you're going to start messing around with *nix permissions, you really,
really need to have
An update...
I had register_globals turned off. Now that I've turned register_globals
on and changed my references from $HTTP_SESSION_VARS['ucAuthoUser'] to
$ucAuthoUser it works as I expect.
I'm not real happy with having register_globals on, though, and I'd like
to figure out what I was doin
How do I set permissions for a certain user (ie nobody) for a directory?
If I do this, won't anyone on teh server be able to write to that directory?
Thanks,
Jeff
At 10:39 AM 10/25/01 -0700, Kurt Lieber wrote:
>On Thursday 25 October 2001 10:08, you wrote:
>> > $GalleryPHPName = "Pins";
>> mkdir
Hello php-general,
I have such code:
class A
{
var $xxx;
function print()
{
echo $xxx;
}
}
And that's what I get:
"Parse error: parse error, expecting `T_STRING' in xxx.php on line nn"
Php doesn't let any function or class membe
I want script for maillists as yahoo groups
where i can found as this script
Hi all,
Anyone know how to validate an XML document with the PHP DOM/libxml parser?
Code would be helpful. :)
TIA,
Vikram
--
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 adminis
Don't forget www.ca.php.net, for us Canadian PHP junkies.
Mike
Rasmus Lerdorf wrote:
>Some servers are being moved around. Use a mirror. Here are some for you
>to try:
>
>us.php.net
>us2.php.net
>rack1.php.net
>uk.php.net
>dk.php.net
>dk2.php.net
>
>Any one of those will have a full mirror l
Jeff,
If this script is running as nobody, or some other low-class user, and the
permissions on the directory in which you are attempting to create a
sub-directory do not allow the creation of the sub-directory by this user,
then mkdir will fail.
Say your script resides in 'php-stuff' with permi
Some servers are being moved around. Use a mirror. Here are some for you
to try:
us.php.net
us2.php.net
rack1.php.net
uk.php.net
dk.php.net
dk2.php.net
Any one of those will have a full mirror listing available for you so you
can find one closer to you.
www.php.net will be back shortly.
-R
a) check to see if the user that apache is running as has access to the
directory you're trying to write to.
b) try removing the quotes around 0775
Mike
Jeff Gannaway wrote:
>$GalleryPHPName = "Pins";
>mkdir ("../$GalleryPHPName", "0775");
>?>
>
>Results in...
>
>MkDir failed (Permission denie
Hello,
How do you call for a space in an email put out by mail(); ? Similar
to the way we call \n newlines with backslash n??
Thanks,
Marcus
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To cont
> -Original Message-
> From: Sebas [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, October 25, 2001 12:19 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] help!! ¡¡ayuda!!
>
>
> I need to open a dbase file, so I use the "dbase_open"
> function and then I compile it but it tells me
>
> Fa
On Thursday 25 October 2001 10:08, you wrote:
> $GalleryPHPName = "Pins";
> mkdir ("../$GalleryPHPName", "0775");
> ?>
>
> Results in...
>
> MkDir failed (Permission denied)
When you use a file-related command (fopen, mkdir, etc.) you're executing
that command under the same user-context that a
I need to open a dbase file, so I use the "dbase_open" function and then I
compile it but it tells me
Fatal error: Call to undefined function: dbase_open()
it seems like this function does not exists!.Does anybody could help me?
Thanks
[EMAIL PROTECTED]
Try the following:
$body = join('', file("somefile.html"));
That one line of code will help you avoid the idea of a buffer; it reads
clear through to the newline and splits it there, dumping each line into an
element of an array. join() just puts it all into one single variable for
output.
Mik
I need to open a dbase file, so I use the "dbase_open" function and then I
compile it but it tells me
Fatal error: Call to undefined function: dbase_open()
it seems like this function does not exists!.Does anybody could help me?
Thanks
[EMAIL PROTECTED]
Scott,
This seems a pretty elementary task, ATC, though the detection of when the
transfers are done is problematic. You could use the filesystem functions,
particularly stat(), for assistance.
I run php code as regular programs, not for web-based access, pretty
regularly. You simply use the s
RenAt 9:02 AM -0700 10/25/01, RenÈ Fournier wrote:
>I'm looking for a good (simple) tutorial on user authentication. I want to
>create a login system that's secure, but I don't need all the features that
>PHPBuilder's "A Complete, Secure User Login System" scripts provide. (I
>don't need the the
Results in...
MkDir failed (Permission denied)
Any thoughts?
-Jeff Gannaway
___
Save 15% on 2002 Calendars and Holiday Cards!
http://www.AvantGifts.com
Discount Code: hopper22ct
Offer Good Through October 31, 2001
_
Well, it's probably me that's confused. I have an authenticate()
function which should start a session and if the user is not logged in
then show the login screen otherwise return after storing and
registering a user object in a session variable. This object has
accessor methods to get the log
search for "APC Cache" or "BWare Cache" or "PHP Accelerator" on google
Thomas <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > did you check www.zend.com and their caching/optimizing products?
>
> They dont seem to have anything free, I need something free.
>
Rasmus,
I'm not sure how I missed that,
I would have liked to attend.
where were you ?
Jerry Lake -[EMAIL PROTECTED]
Interface Engineering Technician
-Original Message-
From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 23, 2001 3:54 PM
To: Richard Baskett
Wish I could point you to a good tutorial, but instead I'll try and give
you the gist of it, based on my experience.
A great way to do what you want to do is to combine MySQL user lookups
with .htaccess security. This prevents anyone from accessing the pages
you don't want them to, and cuts do
Hi,
I have the following code, which reads in an html file
$fd = fopen("somefile.html", "r");
while (!feof($fd)) {
$buffer = fgets($fd, 4096);
$body .= $buffer;
}
fclose($fd);
I am then mailing this:
if (mail($username." <".$email.">", $mailsubject, $body, "From:
".$Fromname." <".$Fromadd
interobject communcation when objects are not inside another:
-
versionA:
class some_classA{
global $semaphore;
function use_semphore(){;}
function write_semaphore(){;}
function read_semaphore(){;}
}
A small addition:
the code below would make a string, but it would be a single word (no spaces
or other word boundaries). Use this instead:
$ignored .= " " . $words[$i];
That inserts a space before each additional word. Unfortunately it also
adds a space at the beginning but you can get rid o
1. Just re-compile with the same options as before, just without
--with-apxs or --with-apache (however you did it before). Run make all
install and a php binary should be installed in $PREFIX/bin (default:
/usr/local/bin). Then to use it to run shell scripts, put
#!/usr/local/bin/php -q at the
1 - 100 of 192 matches
Mail list logo