Hello,
> I need your feedback in this
>
> What is the best RAD (Rapid application development) do you use for
> PHP to develop an *advance* application in few days or weeks ?
>
> I like programming but one this that I hate is the first stage of
> programming when you start creating the basic code
I already made the application with cookies, it's will be very
defaucalt to go and replace cookies with session,
is it possible to use cookies & session in the same time ? (
session_start() & setcookie in the same page ?)
On 10/3/06, Richard Lynch <[EMAIL PROTECTED]> wrote:
You'll have to rea
Hi guys.
http://sourceforge.net/projects/filebrowser
This looked like quite a good one. We've been looking at using an
ajax-based file browser ourselves, and this one seemed to be at the top
of the list.
Cheers,
Glenn.
Richard Lynch wrote:
> I've used an "okay" one in the webmasters.com contro
test
On 10/3/06, Charles Kline <[EMAIL PROTECTED]> wrote:
hi all.
i am trying to modify some old code and struggling a bit with this one:
// returns an array of the names in the form post
$fields = $_SESSION['case']->getComplaintKeys();
First of all this is news to me, I'm not sure how it is that
Works perfect! Thanks.
--
Kevin Murphy
Webmaster: Information and Marketing Services
Western Nevada Community College
www.wncc.edu
775-445-3326
On Oct 3, 2006, at 3:30 PM, Robert Cummings wrote:
On Tue, 2006-10-03 at 15:17 -0500, Richard Lynch wrote:
On Tue, October 3, 2006 1:47 pm, Richard
test
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Tue, 2006-10-03 at 15:17 -0500, Richard Lynch wrote:
> On Tue, October 3, 2006 1:47 pm, Richard Lynch wrote:
> > If you have this, it's better:
> > $data = preg_replace("/ /", $data);
>
> D'oh!
>
> $data = preg_replace("/ /", " ", $data);
Doesn't work on 3+ spaces in a row ;)
$data = p
On 03 Oct 2006, at 14:16 , Richard Lynch wrote:
On Tue, October 3, 2006 1:51 pm, Google Kreme wrote:
And yeah, a key is better, but I've not gotten that far.
See, whatever you do in that general vein of thought, your PHP script
ends up needing to get the file.
Well, yes, but at least with a
This is a follow up to the bug (#39029) that I reported earlier which
has been repeatedly closed as bogus.
The oci8.persistent_timeout setting in the php.ini file is documented as
:
"The maximum length of time (in seconds) that a given process is allowed
to maintain an idle persistent connection.
hi all.
i am trying to modify some old code and struggling a bit with this one:
// returns an array of the names in the form post
$fields = $_SESSION['case']->getComplaintKeys();
// here is the array returned
Array ( [0] => eligibility [1] => payment [2] => service [3] =>
document [4] => lice
> -Original Message-
> From: Richard Lynch [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, October 03, 2006 2:10 PM
> To: Wesley Acheson
> Cc: [EMAIL PROTECTED]; php-general@lists.php.net
> Subject: Re: [PHP] RE:[PHP] Client Computer Registration
>
> On Tue, October 3, 2006 2:33 am, Wesley Ache
On Tuesday 03 October 2006 14:58, Richard Lynch wrote:
>On old old Mac OS on which PHP probably doesn't even run, you had the
>file DATA fork and the file RESOURCE fork where your question would,
>in theory, make sense...
Forks are not widely used much these days, but they still exist. HFS
still
On Tue, October 3, 2006 1:47 pm, Richard Lynch wrote:
> If you have this, it's better:
> $data = preg_replace("/ /", $data);
D'oh!
$data = preg_replace("/ /", " ", $data);
Sorry!
--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some starving artist.
htt
On Tue, October 3, 2006 1:51 pm, Google Kreme wrote:
> And yeah, a key is better, but I've not gotten that far.
Not really better...
See, whatever you do in that general vein of thought, your PHP script
ends up needing to get the file.
So whatever is in your PHP script, which is readable, just a
I tend to store passwords in mysql as hashed values (usually md5), and if I
am using scripts to connect to the database name that file (for example)
connect.inc and add an .htaccess file to stop user download of any files
called *.inc. Or store those files outside the web root in the include path.
On Tue, October 3, 2006 1:40 pm, Deckard wrote:
> Hi Richard,
>
> Richard Lynch wrote:
>> First, you're scaring the [bleep] out of me from a security
>> standpoint
>> writing mysql passwords into files...
> It's not that unusual.
> It's a matter of securing the web server.
Yes, it *is* unfortunate
On Tue, October 3, 2006 2:38 pm, Joshua Capy wrote:
> I am relatively new to php and could use a good pointing in the right
> direction.
>
> I have a soap client in NuSoap that I developed for a webservice that
> I wrote in another language and I need it to be able to send a file
> in a blob.
>
> I
It's not the "writing them into files" part...
It's the "I'm not sure you know what you are doing and maybe you're
writing them into files inside the webtree or introducing other gross
insecurities" part...
Hope that helps...
On Tue, October 3, 2006 2:39 pm, Deckard wrote:
> Hi Richard,
>
> Rich
Hi,
I am relatively new to php and could use a good pointing in the right
direction.
I have a soap client in NuSoap that I developed for a webservice that
I wrote in another language and I need it to be able to send a file
in a blob.
I can't find an example of how you load a file in its
Hi Richard,
Richard Lynch wrote:
> First, you're scaring the [bleep] out of me from a security standpoint
> writing mysql passwords into files...
I'm curious.
What would you do ?
No kidding intended. I'm serious.
Warm Regards,
Deckard
--
PHP General Mailing List (http://www.php.net/)
To unsubs
> I need your feedback in this
>
> What is the best RAD (Rapid application development) do you use for
> PHP to develop an *advance* application in few days or weeks ?
>
> I like programming but one this that I hate is the first stage of
> programming when you start creating the basic code (db
OUTSTANDING!!!
Thanks for taking the time.
However, I am bit confused. Are you telling me that the blank lines are what is
causing my problems?
Jef
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 03, 2006 12:41 PM
To: Jef
On 03 Oct 2006, at 12:40 , Deckard wrote:
Richard Lynch wrote:
First, you're scaring the [bleep] out of me from a security
standpoint
writing mysql passwords into files...
It's not that unusual.
It might not be unusual, but it's not that bright.
It's a matter of securing the web server.
If you have this, it's better:
$data = preg_replace("/ /", $data);
You may want to consider "/\\s+/" if you want newlines to be collapsed
in as well.
If preg_replace is not in your PHP, so you gotta use str_replace, then
strstr is better to find the ' ' because it's probably slightly
faster than
>>> sender: "Kevin Murphy" date: "Tue, Oct 03, 2006 at 11:08:23AM -0700" << This works, but I was wondering if this was the best way to
> accomplish this or not. I'm trying to remove any extra spaces (not
> whitespace like carriage returns) from the middle of a string
> mainly for times w
>>> sender: "Ahmad Al-Twaijiry" date: "Sat, Sep 30, 2006 at 08:44:48AM +0300"
>>> << Hi Everyone,
Hi,
> I need your feedback in this
>
> What is the best RAD (Rapid application development) do you use for
> PHP to develop an *advance* application in few days or weeks ?
>
> I like programming bu
My goal was to make you aware that you are on a wide-open path with
many branches, most of which lead you to disaster, but several of
which are VERY GOOD PATHS to using OOP in a sensible and incredibly
beneficial manner.
Unfortunately, to get to the GOOD PATHS you have to hop over a couple
streams
Hi Richard,
Richard Lynch wrote:
> First, you're scaring the [bleep] out of me from a security standpoint
> writing mysql passwords into files...
It's not that unusual.
It's a matter of securing the web server.
> If you are NOT an expert in this stuff, stop now, please...
I'me not an expert, but
On Fri, September 29, 2006 1:21 pm, Robert Cummings wrote:
> #3 In PHP
> PHP has no namespaces, use classes to improve your chances of avoiding
> namespace collisions.
>
> And I realize Richard will call this the wrong answer, but when you
> don't have the tools you need, you make use of the ones y
On Tue, October 3, 2006 12:43 pm, Balaji A wrote:
> Hi,
> in php.ini I have changed the register_global to "On".
>
> Is it possible to change the global variable _SERVER[HTTP_USER_AGENT]?
>
> Thanks in advance..
E.
You're not making sense...
You want my browser to LIE to your server about wh
rich(ard)...
not knowing what keybank is doing.. i really can't comment much on their
approach...
however, if they are creating a unique identifier for the targeted computer,
it's not some string/cookie residing in a file on the harddrive... in fact,
the unique ID would be based on the physical h
You can use cURL to send a request and you can set the user agent to
whatever you want.
http://www.php.net/curl
See function: "curl_setopt" and option: "CURLOPT_USERAGENT"
-Brad
-Original Message-
From: Balaji A [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 03, 2006 2:05 PM
To: [EM
First, you're scaring the [bleep] out of me from a security standpoint
writing mysql passwords into files...
If you are NOT an expert in this stuff, stop now, please...
Next, you are missing the ';' at the end of each line to make valid
PHP code.
Finally, what you are saying about the password b
Hi,
Yes, it worked, but there's this strange thing.
The output of in to the file is:
$stringData = "";
is:
i. e., the variable $mysql_user_password within quotes is assuming its
value, not the string $mysql_user_password, while the others are ok.
*sigh*
Warm Regards,
Deckard
Brad Bonkosk
On Tue, October 3, 2006 2:33 am, Wesley Acheson wrote:
> They could also be doing something like giving the client an SSH key
> to download, I've heard of this situation in a bank before.
Is the key tied to my hardware?
At least that stops the virus/Trojan scenario.
But not the petty thief who b
This works, but I was wondering if this was the best way to
accomplish this or not. I'm trying to remove any extra spaces (not
whitespace like carriage returns) from the middle of a string
mainly for times where people put extra spaces after periods in
paragraph.
while(preg_ma
On Mon, October 2, 2006 4:19 pm, bruce wrote:
> actually richar, and others...
>
> depending on what they're doing, it's quite alot to it.
I sincerely doubt that it is, and apologize in advance to Keybank if
it is, but I suspect they just plain don't know what they are doing...
I certainly wouldn
Thanks for the reply rick.
I actually want to change the user agent header in the request sent by the
client.
I want to send a request to the server with different user agent header.
Is it possible to change?
Thanks
Balaji
On 10/3/06, [EMAIL PROTECTED] <
[EMAIL PROTECTED]> wrote:
the "HTTP
You'll have to read the cookie spec to confirm, but I'm pretty sure it
either specifically disallows other charsets, or at least predates the
globalization/i18n efforts...
IOW, you can't...
You COULD just use session_start() and let them have the PHP cookie,
and then store whatever string you wan
Hi
Yes, it worked, but there's this strange thing.
The output of in to the file is:
$stringData = "";
is:
i. e., the variable $mysql_user_password within quotes is assuming its
value, not the string $mysql_user_password, while the others are ok.
*sigh*
Warm Regards,
Deckard
Brad Bonkoski
Thank you Jon, Joe, and Richard.
I guess I'll leave things as they are and continue to monitor daily.
Fortunately, only up to 3 years worth of data needs to be kept "live" in the
master-slave db's, so there is a limit to how much data I will have to cope
with.
David
On Mon, October 2, 2006 7:32 pm, Tony Di Croce wrote:
> I am relatively new to PHP... I have about 1.5 years of light PHP work
> under
> my belt... Over the past year or so my PHP coding style has evolved
> significantly and I'm curious as to how experienced programmers write
> PHP...
>
> Basically
I've used an "okay" one in the webmasters.com control panel, but am
always flummoxed that they didn't give me an "ln -s" action...
So consider this a Feature Request to let me make symlinks in yours.
Not that I'll every actually use it, mind you, but *somebody* will
thank you for it some day.
On Tue, October 3, 2006 12:09 am, bruce wrote:
> i'm wondering if anyone has a class/chunk of code to copy a folder to
> another folder, along with the underlying descendents
> (files/folders)...
>
> i'm considering a file management app, and i'd like to allow the user
> to
> select a folder, and t
On Tue, October 3, 2006 7:05 am, Deckard wrote:
> I have this code to write three lines in a file (config.php):
>
> $stringData = '$hostname = ' . $hostname . '\n' . '$mysql_username = '
> .
> $mysql_username . '\n' . '$mysql_user_password = ' .
> $mysql_user_password . '\n';
>
> but instead of bre
There is no real need to keep flipping in and out of the string like that,
just use this:
$stringData = "\n\n\$'$hostname = '$hostname\n\$$database =
wordlife\n\$$mysql_username = $mysql_username\n\$$mysql_user_password =
$mysql_user_password\n\n";
...or something similar - use double quotes to
Hi,
in php.ini I have changed the register_global to "On".
Is it possible to change the global variable _SERVER[HTTP_USER_AGENT]?
Thanks in advance..
Thanks
Balaji
On Tue, October 3, 2006 9:29 am, David Giragosian wrote:
> So, Question 1 is: does mysqldump's connection to the slave db exist
> for the
> entire script execution time, or just for the length of time of its
> own
> execution?
exec() runs its own little mini-not-quite-shell, so as soon as it
ends,
1. mysqldump will only keep the connection open for as long as it
needs it. Once your calling script is allowed to continue mysqldump
has either exited successfully or with an error, but either way the
connection should no longer be active.
2. I don't think that would be a good idea. 30 min
David Giragosian wrote:
So, Question 1 is: does mysqldump's connection to the slave db exist
for the
entire script execution time, or just for the length of time of its own
execution? I imagine if I used mysql_connect() in the script that it
would
be for the entire length of the script executi
Deckard wrote:
Hi Brad,
Thanks a lot for your answer and the other guys too.
It worked.
Now i have another doubt:
$stringData = '';
The variables contents should be written in the files within quotes, like:
$mysql_username = 'deckard';
This is getting me nuts.
Any ideas ?
Warm Regards,
De
Hi Brad,
Thanks a lot for your answer and the other guys too.
It worked.
Now i have another doubt:
$stringData = '';
The variables contents should be written in the files within quotes, like:
$mysql_username = 'deckard';
This is getting me nuts.
Any ideas ?
Warm Regards,
Deckard
Brad Bonko
Hey Rahul...
I have seen this also... It's sort of neat and annoying all at the
same time... I am just wondering if it's just a false sense of
security to get more people to use there online banking... although I
did read through their FAQs about this and they are saying they have
been required b
double-quote it
Best Regards,
Deckard
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
http://www.web-buddha.co.uk
On 10/3/06 8:05 AM, Deckard wrote:
$stringData = '$hostname = ' . $hostname . '\n' . '$mysql_username = ' .
$mysql_username . '\n' . '$mysql_user_password = ' .
$mysql_user_password . '\n';
but instead of breaking a line, it appears in the file the string \n
How can i make the line break ?
Us
Deckard wrote:
Hello,
I have this code to write three lines in a file (config.php):
$stringData = '$hostname = ' . $hostname . '\n' . '$mysql_username = ' .
$mysql_username . '\n' . '$mysql_user_password = ' .
$mysql_user_password . '\n';
but instead of breaking a line, it appears in the file
[snip]
How can i make the line break ?
[/snip]
http://www.php.net/nl2br
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hi...
i'm wondering if anyone has a class/chunk of code to copy a folder to
another folder, along with the underlying descendents (files/folders)...
i'm considering a file management app, and i'd like to allow the user to
select a folder, and then to copy the folder to another folder location...
On Fri, 29 Sep 2006 11:41:34 -0500 (CDT), "Richard Lynch" wrote:
> Consider that the user could provide *ANY* string, of any size, of any
> composition, for their "Subject"
>
> Maybe they POST a worm in Subject, and it has no newlines, but still
> manages to propogate through Outlook.
>
> Or may
Hello,
I have this code to write three lines in a file (config.php):
$stringData = '$hostname = ' . $hostname . '\n' . '$mysql_username = ' .
$mysql_username . '\n' . '$mysql_user_password = ' .
$mysql_user_password . '\n';
but instead of breaking a line, it appears in the file the string \n
Ho
Michelle Konzack wrote:
> Am 2006-09-27 17:39:25, schrieb David Robley:
>
>> 88 tons!! Point us to an image of that please.
>
> Currently not availlable but it is an ex Pershing II Transporter
> from the US-Army manufactured by the german Enterprise MAN.
You surely don't mean the tracked vehicl
At 10:23 AM +0800 10/3/06, Glenn Richmond wrote:
I'll probably
get strong opposition for these comments, but in my opinion, there's
nothing worse than mixing two different lanuages in a single file, not
to mention mixing functional code with layout code.
Glenn.
Glenn:
I agree with the concept
Hello,
I have this code to write three lines in a file (config.php):
$stringData = '$hostname = ' . $hostname . '\n' . '$mysql_username = ' .
$mysql_username . '\n' . '$mysql_user_password = ' .
$mysql_user_password . '\n';
but instead of breaking a line, it appears in the file the string \n
Ho
Howdy Guys,
I have a PHP backup script running as a cronjob that has an exec(mysqldump)
line followed a bit later by an exec(tar -cjf) line. The backup script runs
against a slave db in the wee hours, and the master gets a continuous stream
of inputs at the rate of about 18,720 per day. Obviously
hi...
i'm trying to find a good web based (php) browsing app for handling remote
file management functions... i've seen a number of open source apps, but
haven't come across any that meet my needs.
i'm looking for the ability to:
-edit/view/rename/copy/move/delete files
-copy/rename/move/delete
They could also be doing something like giving the client an SSH key
to download, I've heard of this situation in a bank before.
Though it does seem more likely that their just using cookie based
authentication
-
From: "Rahul S.
test1
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hi...
i'm trying to find a good web based (php) browsing app for handling remote
file management functions... i've seen a number of open source apps, but
haven't come across any that meet my needs.
i'm looking for the ability to:
-edit/view/rename/copy/move/delete files
-copy/rename/move/delete
Hello,
I have this code to write three lines in a file (config.php):
$stringData = '$hostname = ' . $hostname . '\n' . '$mysql_username = ' .
$mysql_username . '\n' . '$mysql_user_password = ' .
$mysql_user_password . '\n';
but instead of breaking a line, it appears in the file the string \n
Ho
hi...
i'm wondering if anyone has a class/chunk of code to copy a folder to
another folder, along with the underlying descendents (files/folders)...
i'm considering a file management app, and i'd like to allow the user to
select a folder, and then to copy the folder to another folder location...
71 matches
Mail list logo