If anyone is intrested in this, please take a look. This is really cool
stuff.
This use flash to present data that was passed from a PHP script that was
pulled from a MySQL db.
Really cool stuff.
http://actionscript-toolbox.com/samplemx_php.php
-Dan
- Original Message -
From: "Daniel
Thanks Andrei,
we truly appreciate it...i will definitely put it to use...
--
BigDog
On Sat, 2003-06-28 at 18:28, Andrei Zmievski wrote:
> Some news on PCRE front:
>
> 1. I've upgraded the bundled PCRE library to version 4.3 which has some
>interesting new features.
>
> 2. I added new pa
Jay,
I would start out by reading up on the oop stuff and then maybe look at
some software development sites...there are many and most have
sufficient info to get you started.
There are tons of design patterns out there which will more than help
you code out too...(http://www.phppatterns.com) is
I have just implemented the error_log function on my web site, as I find this
feature very useful. I have chosen to write to a file on the server.
my question is: How can I make error_log write each error message on a NEW line
in the file I have chosen. Now, every message is written on a long li
There should be no differences in PC/Mac/Linux implementations of cookies,
for common browsers. I've never had a problem.
- which browsers were you testing with?
- did those browsers have cookies switched on, with a security level low
enough to accept yours?
- can you show us a small test scrip
php-general Digest 29 Jun 2003 01:56:58 - Issue 2145
Topics (messages 153259 through 153303):
pspell
153259 by: Tularis
Re: parsing problem
153260 by: Tularis
Re: 'Cannot send Headers' Problem!! MOre..
153261 by: Daryl Meese
153262 by: PHPSpooky
Re: 'Canno
on 29/06/03 4:12 AM, Dean E. Weimer ([EMAIL PROTECTED]) wrote:
>> What is the point of the web based file manager?
> To eliminate Local Accounts, and so that they don't have to upload files
> via ftp or ssh.
> Plain ftp is very unsecure, and using a secure ftp server can be very
> confusing to les
On Sat, 28 Jun 2003 15:10:03 -0500, you wrote:
>Since I want to more more into programming than design, can anyone
>recommend where to learn how to make sure your code is clean, optimized and
>as error-free as it can get? Even if it is the style of how to write the
>code, please let me know
DR MIKE FAVOUR
BRANCH MANAGER,
UNITED BANK FOR AFRICA PLC
ILUPEJU BRANCH
LAGOS NIGERIA
ATTN: PRESIDENT/C.E.O
I am pleased to get across to you for a very urgent
and profitable business proposal, though I don't know
you neither have I seen you before but my confidence
was reposed on you when the
Some news on PCRE front:
1. I've upgraded the bundled PCRE library to version 4.3 which has some
interesting new features.
2. I added new parameter to preg_match* functions that can be used to
specify the starting offset of the subject string to start matching
from. The offset can be po
Anyone have any experience with PHPObject from
http://ghostwire.com/resources/phpobject/
- Original Message -
From: "Daniel J. Rychlik" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Saturday, June 28, 2003 6:13 PM
Subject: Re: [PHP] PHP and Macromedia Flash
>
Well, at least I know its possible. Im guessing that an action script of
some kind pulls the the xml data and displays the new information or button.
I wish that you could just pass it directly to the flash object, that would
be nice
-Dan
- Original Message -
From: "Andrew McCombe"
message me offlist for a xml actionscript example
-Original Message-
From: Andrew McCombe [mailto:[EMAIL PROTECTED]
Sent: Sunday, June 29, 2003 9:09 AM
To: Daniel J. Rychlik
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] PHP and Macromedia Flash
On Sun, 2003-06-29 at 00:00, Daniel J. Rychlik w
On Sun, 2003-06-29 at 00:00, Daniel J. Rychlik wrote:
> Does anyone know if you can dynamically update a flash swf file with a PHP script ?
>
> For instance in menu navigation I was thinking of using a flash object to display an
> interactive menu and have in my main class a way to update the lin
try return true;
-Original Message-
From: Jason Wong [mailto:[EMAIL PROTECTED]
Sent: Sunday, June 29, 2003 5:37 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] function doesn't return value
On Sunday 29 June 2003 02:53, anders thoresson wrote:
> After a new user has filled in a form to reg
Does anyone know if you can dynamically update a flash swf file with a PHP script ?
For instance in menu navigation I was thinking of using a flash object to display an
interactive menu and have in my main class a way to update the links or buttons from
page to page.
Thanks in advance,
Dan
On Sat, 2003-06-28 at 23:27, Beauford.2005 wrote:
> I hope someone can put this to rest for good, cause this is just
> bullshit. Every time I try to do something using any thing other than
> the root directory of my website - I get these stupid path problems.
>
> Here is the problem this time. Fi
At 22:10 28-6-2003, you wrote:
I have been writing PHP for almost a year now and someone on phpfreaks
told me the other day that my code was very sloppy.
Some people can be pretty rude on the net, so don't take it too hard.
Since I want to more more into programming than design, can anyone
reco
I hope someone can put this to rest for good, cause this is just
bullshit. Every time I try to do something using any thing other than
the root directory of my website - I get these stupid path problems.
Here is the problem this time. First off I am not using frames (if it
matters) and this parti
On Sat, 2003-06-28 at 11:28, Bobby Patel wrote:
> In PHP there are two operators for comparisons, the double and triple
> equivalance.
>
> Double equivalance just check's the boolean type so if (0 == 'n') is
> translated to if (False == False), where as triple equivalance checks the
> data types a
Take a close look at OO programming. Class objects are great for reusing
code and making cleaner code. The art of designing code is a mastered art
which is why my white board is always messy ;) . Never the less, oject
oriented programming is definately the way to go. Chapter 6 in the PHP and
My
At some places, I was using $_SESSION['u_uname'] as variable name, at other
$_SESSION['uname']. Changing to $_SESSION['uname'] through all my
accesscontrol.php solved the problem. Now it works on my ISP's server.
Question is, though: Why does the faulty script work on my localhost? Next
step is
I have been writing PHP for almost a year now and someone on phpfreaks told
me the other day that my code was very sloppy.
Since I want to more more into programming than design, can anyone
recommend where to learn how to make sure your code is clean, optimized and
as error-free as it can get?
AFAIK in PHP, if you don't specifically return something from a function,
the function will not return anything.
True. I'm so frustrated over here that I miss the most obvious things.
Thank's.
Strange thing is that it worked at my localhost, though.
--
anders thoresson
--
PHP General Mailing Li
I would also advise to check for register_globals, since I have the faint
feeling it was OFF on your old version and ON in your new (though most
logcial would be viceversa :P)
register_globals are on in 4.1.1 and off in 4.3.1. So, your faint feeling
was wrong (which I'm sorry for, cause any feel
Hi Blake,
If you're using Apache, try this:
http://ca3.php.net/virtual
Cheers,
Lux
On Friday, June 27, 2003, at 01:05 PM, Blake Schroeder wrote:
Hey all
I used to include a perl script via Sever Side Include how could I do
this in php?
example:
--
Blake Schroeder
[EMAIL PROTECTED]
--
PH
I would also advise to check for register_globals, since I have the
faint feeling it was OFF on your old version and ON in your new (though
most logcial would be viceversa :P)
Bobby Patel wrote:
maybe compare the php settings for both servers (using phpinfo()). Also
check the register globals s
On Sunday 29 June 2003 02:53, anders thoresson wrote:
> After a new user has filled in a form to register for my site, I check
> that she has entered the same password twice by calling a homemade
> function. Like this:
>
> $u_pwd = validate_password($_POST['u_pwd'],$_POST['u_pwd1']);
>
> And th
Hello,
On 06/28/2003 01:56 AM, J.F.Kishor wrote:
I have a doubt, is there a way to compile php as a class file,
so that it would be more secured.
And I should be able to be invoked by a HTML client interface.
Sure, Turck does exactly what you want:
http://www.turcksoft.com
maybe compare the php settings for both servers (using phpinfo()). Also
check the register globals setting. I know this might not be a big help,
but it's a start.
good luck
Bobby
"Anders Thoresson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Are there any big differences in se
Are there any big differences in session handling between 4.1.1 and 4.3.1
of PHP. Almost nothing works like it should since I have moved my site from
my local server (4.3.1 on Win2000) to my ISP (4.1.1 on SunOS 5.7).
I just started to dump my four $_SESSION-variables on top of every page,
and t
It depends on what data types are your fields in the database. U are
quoting each value which might not be the case. You should check the
mysql_error function to see what error the database is giving back to
you..
--
BigDog
On Sat, 2003-06-28 at 12:42, Ron Clark wrote:
> OK, normally I do not re
Hi,
After a new user has filled in a form to register for my site, I check
that she has entered the same password twice by calling a homemade
function. Like this:
$u_pwd = validate_password($_POST['u_pwd'],$_POST['u_pwd1']);
And the function looks like this:
function validate_password($unchec
OK, normally I do not respond to my own posts, but I have been shown that I
did not get the whole script. So here it is:
for ($i=0; $i<$number_of_alerts; $i++) {
// Split each line
$line = explode(" ", $ipfwlog[$i]);
$line[1] = intval($line[1]);
$IPFWsql = "INSERT INTO Firewall_Logs (month, da
In PHP there are two operators for comparisons, the double and triple
equivalance.
Double equivalance just check's the boolean type so if (0 == 'n') is
translated to if (False == False), where as triple equivalance checks the
data types as well so if (0==='n') becomes if (Int(False)==String(False)
I wanted to attach one more point (esp. since this is an ecomm solution),
you should also check your POST variables (in addition to the GET varaibles)
to make sure they are clean and what are expected. It's not that hard to
change posted values.
Bobby
"Daniel J. Rychlik" <[EMAIL PROTECTED]> wrote
It could be a warning in your script. On your local server, maybe you have
error reporting set to minimal (ie. don't report warnings), whereas the ISP
server might have it turned up higher by default.
near the top of your script reporter_view.php put in the line
error_reporting(E_ALL); ie.
Mayb
> Don't allow them to run php scripts in the public_html directory
I would like to give them the option of using PHP. I will also be making
mySQL available to the users.
>
> What is the point of the web based file manager?
To eliminate Local Accounts, and so that they don't have to upload files
via
... and line 5 of reporter_view.php reads what? =/
Anders Thoresson wrote:
Hi,
I've a login script that works fine on my local server, but when I runs
it from my ISP I get the following error:
Warning: Cannot send session cookie - headers already sent by (output
started at /export/home/thore/pu
Hi,
I've a login script that works fine on my local server, but when I runs it
from my ISP I get the following error:
Warning: Cannot send session cookie - headers already sent by (output
started at /export/home/thore/public_html/phptest/reporter_view.php:5) in
/include/accesscontrol.php on li
On Sat, 2003-06-28 at 00:59, electroteque wrote:
> why php ? why not just use a .css file like everyone else ?
Because I wanted to be able to generate dynamically generated styles.
And, while I realize I can just "include" the document in theory @import
should work exactly as expected.
The proble
Is it compatible? Can I use oci8 functions to access oracle 9i? What are the
drawbacks?
Thanks.
RDB
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I am looking for a solution that will allow full text search of M$Office
files (Word, Powerpoint, EXCEL), PDF, HTML and Text files.
I am working on a project that involves uploading of the above files to a
server. After uploading, the Users should be able to search for key words or
phrases in
asort should do the trick.
Good Luck
Daryl
-Original Message-
From: Sparky Kopetzky [mailto:[EMAIL PROTECTED]
Sent: Saturday, June 28, 2003 9:50 AM
To: Daryl Meese; David Otton
Cc: PHP General
Subject: Re: [PHP] Sorting problem
Yes, I need the key to remain associated with the value as
Yes, I need the key to remain associated with the value as the key links the
value to a directory. Can't have files going into the wrong places. So if
asort does the job, I'll try that and see if the code breaks or not.
Sparky
- Original Message -
From: "Daryl Meese" <[EMAIL PROTECTED]>
To
Hi, I've got the following code:
If I comment one of the two java object lines, I get no error.
If I use'em both, It creates a nasty error message, after which
php.exe is closed down.
Has any of you an idea on how to solve this?
thx
Jan
--
PHP General Mailing List (http://www.php.net/)
Glory Daryl!!
THANK YOU THANK YOU THANK YOU
AT LAST!!!
After 48 hours, countless emails, and so many heads .. finally!! It
works!! Your suggestion worked!!!
It was actually a login() function that was calling.. I moved that to
the top, alongwith the include function.. and the errors were gon
Glory!
In the entire php code? Or the part till the include function? Because
there is no white space there.. the entire php code is pretty lengthy..
PHPSpooky
> -Original Message-
> From: electroteque [mailto:[EMAIL PROTECTED]
> Sent: Saturday, June 28, 2003 5:09 PM
> To: Rasmus Lerdo
Ok, It is not the location of the that
matters here. I assume the login function included below is called from the
function is_admin that is called in your code somewhere around line 54.
That means that HTML has already been output (everything above line 54) and
therefore the header and setcooki
David Otton wrote:
On Sat, 28 Jun 2003 12:33:27 +0200, you wrote:
I have problem in including this text in my PHP parsed file for XHTML
definition:
It works if I remove the first line:
So, I am assuming PHP has problems with the symbols, as they are
recognised to be PHP code delimiters.
does anyone know how to check what Dictionaries for pspell/aspell are
present on the system? since I will need to do that dynamically ;)
thanks
- Tu
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
php-general Digest 28 Jun 2003 13:28:55 - Issue 2144
Topics (messages 153241 through 153258):
Re: @import
153241 by: Brian V Bonini
153243 by: electroteque
Re: nl2br and
153242 by: Lars Torben Wilson
Re: Classes within classes
153244 by: Lars Torben Wilson
David Nicholson wrote:
Hello,
This is a reply to an e-mail that you wrote on Sat, 28 Jun 2003 at 13:16,
lines prefixed by '>' were originally written by you.
I have a password protected site. If you go to an inside page before
logging in, it redirects you to the log in page. I would like to grab
Hello,
This is a reply to an e-mail that you wrote on Sat, 28 Jun 2003 at 13:16,
lines prefixed by '>' were originally written by you.
> I have a password protected site. If you go to an inside page before
> logging in, it redirects you to the log in page. I would like to grab
> the URL that a us
I have a password protected site. If you go to an inside page before
logging in, it redirects you to the log in page. I would like to grab
the URL that a user tries to access and send them back there after they
log in. I'm using __FILE__ to get the file name (secondary.php for
example) but that
there is a possible problem if there is whitespace before or after a php tag
check that !!
-Original Message-
From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]
Sent: Saturday, June 28, 2003 4:20 PM
To: PHPSpooky
Cc: 'Marek Kilimajer'; [EMAIL PROTECTED]
Subject: RE: [PHP] 'Cannot send Headers'
on 28/06/03 4:20 AM, Noel Wade ([EMAIL PROTECTED]) wrote:
> Anyone know if this (A) works
have you tried it? surely it couldn't take more than 10 seconds to find out
eh?
> and
> (B) is not actually just some undefined behavior that's risky to use?
it's quite common, although i believe the syn
On Sat, 28 Jun 2003 12:33:27 +0200, you wrote:
>I have problem in including this text in my PHP parsed file for XHTML
>definition:
>It works if I remove the first line:
>
>
>So, I am assuming PHP has problems with the symbols, as they are
>recognised to be PHP code delimiters.
Yup.
try
' . "
At 12:33 28.06.2003, Daniele Baroncelli said:
[snip]
>I have problem in including this text in my PHP parsed file for XHTML
>definition:
>
>
>"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
>http://www.w3.org/1999/xhtml";>
>
>
>It works if I remov
Hi guys,
I have problem in including this text in my PHP parsed file for XHTML
definition:
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
http://www.w3.org/1999/xhtml";>
It works if I remove the first line:
So, I am assuming PHP has problems with the symbols, as they are
recog
Glory!
I have two files, directory.php and global.inc.php
In directory.php ... this is the first line :
followed by the HTML tags..
and at Line 54 begins the php code in this page..
I have tried a lot of things.. moved the incude function to the top,
given all HTML statements in echo
Dear PHP users,
MySQL AB, going to add stored procedure language for MySQL. They say
"Stored procedures are currently being implemented. This effort is based on
SQL-99, which has a basic syntax similar (but not identical) to Oracle
PL/SQL. We will also implement the SQL-99 framework to hook in
62 matches
Mail list logo