Hi,
Has anyone ever tried to produce an auto-update feature for your PHP
application?
Say a client downloads version 1, and a month later version 1.1 is
available, which makes
changes to a few scripts say, add_user.php, modify_user.php and
display_users.php
Does anyone have a method or way in whi
Maybe a PEAR package do do the trick. Have a look at PEAR_PackageFileManager on
http://pear.php.net/package/PEAR_PackageFileManager
I never used it, but plan to do.
I you use it, please keep me informed
Maybe you could have something more trivial if you just need to download a single file.
Vinc
hi all
i was trying to execute some commands as an authorized user from within my php script
with
exec ("su -c \"sudo \" 2>&1;", $output);
but it gives me
standard in must be a tty
how can i make it work? it runs perfectly at command prompt
I even tried to ssh, but the problem is where sho
Hello:
I have a string variable with the following value
$httppath = "http://www.mysite.org";;
This variable is stored in an include file.
When I use this variable in another document, where the setting file is
included, the value of the above variable is getting replaced with:
http:/!
/www.mysi
I'm not sure if this has been covered (I searched the archives) but does
anyone know if there is a size limit on what a session can store? What is
this dependant on?
Thanks!
-m
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] says...
> Anyone know of any php document management systems? if its open source that
> would be even better.
>
> TIA
>
http://www.google.com/search?q=php+document+management+systems should give
you a few pointers
--
Quod subigo farinam
A: Be
Pablo Gosse wrote:
> Hi all. Quick quesiton about PCRE vs. POSIX-extended regular
> expressions.
>
> How much of a difference is there between these two types of regular
> expressions. I know I've read that PCRE is faster, but is it that much
> of a difference?
PCRE are _way_ more adva
Hi,
Are you sure that you already enable mysql function on your web server ?
Krit Kanrat
"Tom Flood" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hello,
>
> I am just beginning my learning of php and its uses with mysql. I wrote a
> small program to add information into a mysql
php memory limit if php has been compiled with --enable-memory-limit and
the limit is enabled, else it is limited by the platform php runs on
motorpsychkill wrote:
I'm not sure if this has been covered (I searched the archives) but does
anyone know if there is a size limit on what a session can s
Why do you need su? Set up sudo for apache user.
Nitin Mehta wrote:
hi all
i was trying to execute some commands as an authorized user from within my php script with
exec ("su -c \"sudo \" 2>&1;", $output);
but it gives me
standard in must be a tty
how can i make it work? it runs perfectly
[snip]
Depending upon why you want an executable, if its to run on a client
machine
as an app then check out php-gtk.
[/snip]
There is also a thing called PriadoBlender, haven't really tried it
though.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/uns
Hello,
I use php admin flags to give each of my clients different permissions. All
of them , by default, are limited to their directory using openbasedir
parameter.
I also have phpmailer set up so everyone can use it as an include or require
function.
The only problem is, the folks locked into
Is there anyone out there using XML with php to connect to Tourico Holidays?
If so I need your help.
thanks.
--
--
Diana Castillo
Global Reservas, S.L.
C/Granvia 22 dcdo 4-dcha
28013 Madrid-Spain
Tel : 00-34-913604039
Fax : 00-34-915228673
email: [EMAIL PROTECTED]
Web : http://www.hotelkey.com
On 27 Jan 2004 at 20:46, Piers Lauder wrote:
> Hi!
>
> Your message has been received, but it hasn't been delivered to me
> yet. As I don't have any record of you sending me mail from this
> address before, I need to verify that you're not a spammer. Please
> reply and alter the Subject line to
On 26 January 2004 16:56, Christopher J. Crane wrote:
> Ok here is the wierd thing.
> I pasted more code, it seems to not work because of me
> changing the number
> format.
>
> This works ...
> if($Balance >= 10001) {
>$Balance = number_format($Balance,2,'.',',');
>echo "\$$Balance\n"; }
On Tuesday 27 January 2004 18:59, MIKE YRABEDRA wrote:
> The only problem is, the folks locked into their directories cannot use it.
> It gives an openbase directory error every time.
>
> Does anyone know of a solution for this without compromising security?
safe_mode_include_dir
--
Jason Wong
On Tuesday 27 January 2004 02:23, Chris W. Parker wrote:
> If I put the two functions mysql functions within the query method I
> created I get an error on those two lines BUT the program continues as
> normal WITH the data being printed to the page just as I want it to.
> Clearly the mysql resour
On Monday 26 January 2004 05:11, Paul wrote:
> I am trying to use a back button to allow a user to change submitted form
> values.
>
> The problem I am having is that when they submit the form a second time,
> regardless of what is entered, the variable $test does not change and keeps
> only the fi
On 27 January 2004 05:50, Paul Furman wrote:
> Shawn McKenzie wrote:
> > I've noticed in both of your posts that you aren't terminating the
> > line before the include with a ;
>
> Yup, thanks!
>
> Then I fixed my global problem without bugging you guys too.
Actually, no you didn't -- you just
On 27 January 2004 05:18, Shawn McKenzie wrote:
> >
> > PS I'm on my windows apache server but the forward slash seems to
> > work in php & that keeps it portable. I tried it both ways.
Yes -- PHP internally translates between / and \ on Windows, precisely for portability
reasons. Thus, you ca
Hello,
I succeed in creating PDF files dynamically with PHP (including inserting
static PNG images), and also succeed in creating PNG images dynamically.
However, I can't insert dynamically created PNG images into PDF files,
neither with pdf_open_image_file, nor with pdf_open_png.
Is this imposs
The message contains Unicode characters and has been sent as a binary attachment.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi :),
i tried your code zu replace some parts of a string,
the problem is that this method only replaces when
there is only 1 word between stringA and stringB.
i got the problem that the part between both strings
is a dynamic one and much larger then 1 word.
i really tried to use the php manual a
I have a potentially stupid problem with PHP and MSSQL on a Windows
server...
I can connect to the database and insert data to the tables etc but cannot
retrieve data...
This is the code I'm using:
//---
$list2 = $conn->Execute("SELECT * FROM elive.reg
Is there a way wuth php to create a list ordered by more than one column
like in excel or access.
something like "ORDER BY points AND score"
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
christian tischler wrote:
Is there a way wuth php to create a list ordered by more than one column
like in excel or access.
something like "ORDER BY points AND score"
Use http://php.net/usort and use both 'columns' in the comparison function.
--
Stuart
--
PHP General Mailing List (http://www.php.n
$pattern = "/$stringA.*?$stringB/";
.*? -> matches everything between $stringA and $stringB
the "?" means: stop matching after the first occurence
of $stringB (quantifier minimizer). otherwise ".*" would
match everything between the first occurence of $stringA
and the last
Is there any good reference on how to use CRON (I mean on the net)?
I need to fire some PHP pages at scheduled time daily or weekly, ... so on.
Regards,
Hamid
_
Add photos to your e-mail with MSN 8. Get 2 months FREE*.
http://join.m
[snip]
Is there any good reference on how to use CRON (I mean on the net)?
I need to fire some PHP pages at scheduled time daily or weekly, ... so
on.
[/snip]
http://www.unixgeeks.org/security/newbie/unix/cron-1.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http:/
Hamid Hossain wrote:
Is there any good reference on how to use CRON (I mean on the net)?
I need to fire some PHP pages at scheduled time daily or weekly, ... so on.
http://www.google.com/search?q=cron+tutorial+php
--
Stuart
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Is Googlebot (or any other bot) able to follow links that are php?
e.g.
Contact Us
Is there a way to invite bots to your site?
Thanks
Matt
christian tischler wrote:
> Is there a way wuth php to create a list ordered by more than one
> column like in excel or access.
>
> something like "ORDER BY points AND score"
You might want to look at GROUP BY command too
http://www.mysql.com/doc/en/Group_by_functions_and_modifiers.html
/T
--
P
Hi,
>Always I have a problem that I don't know how to make my code away from
>the user interface files.
>I tried to use some template classes, but I did'nt like what I tired
>because some if statments are used inside the template.
I have to react to this.
TinyButStrong is a PHP Template Engine th
Hartley, Matt wrote:
Is Googlebot (or any other bot) able to follow links that are php?
e.g.
Contact Us
Yes.
Is there a way to invite bots to your site?
For most, yes.
--
Stuart
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thank you both, here is the entire code :
1
2
3Untitled Document
4
5
6
7
8\n";
13print "Address is $address\n";
14print "City is $city\n";
15
16mysql_connect("tflood", "thomas91");
17
18$result = mysql_query(
19 "insert into ephi.info
20 (name, address, city) values
21 ('$name', '$address', '$city
line 16: mysql_connect("tflood", "thomas91");
I think you mean: mysql_connect("localhost", "tflood", "thomas91");
otherwise mysql_connect takes "tflood" as Server and "thomas91" as
Username (if so, its better to replace passwords with * before
posting)
-> http://ch.php.net/mysql_connect
after
... ORDER BY points [DESC|ASC], score [DESC|ASC]
christian tischler wrote:
Is there a way wuth php to create a list ordered by more than one column
like in excel or access.
something like "ORDER BY points AND score"
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://w
try print_r($Msku) and see what comes out
Enda Nagle wrote:
I have a potentially stupid problem with PHP and MSSQL on a Windows
server...
I can connect to the database and insert data to the tables etc but cannot
retrieve data...
This is the code I'm using:
//
Hi Marek,
Thanks for your reply.
Tried that and got the following output:
COM Object ( [0] => Resource id #3 ) COM Object ( [0] => Resource id #9 )
COM Object ( [0] => Resource id #15 ) COM Object ( [0] => Resource id #21 )
There are 4 records in the table at the moment, and its performing the l
When constructing arrays where you are meddling with fixed width
substrings in a larger file make sure that the array item does not
contain a tab or you will certainly get unexpected results;
$arrBadInfo (
'AMARILLOHOUSE ',
'KJONES HOUSE ', <--- 16 characters wide, or is it?
On 27 Jan 2004 at 13:25, Jack Bauer wrote:
> i tried your code zu replace some parts of a string,
> the problem is that this method only replaces when
> there is only 1 word between stringA and stringB.
Of course. "\w*" will match alphanumeric characters, but not whitespace, and word
boundaries
I'm trying to run a query against a database with a PHP script that
cycles through each record (about 4,000+) and sends and e-mail to them
if they have an e-mail address present. The problem is that everytime I
do this, it processes about 430 records and stops. There is no error
message gener
You need to find out what $list2->Fields("sku"); returns. This is not
php anymore, check COM reference.
Enda Nagle wrote:
Hi Marek,
Thanks for your reply.
Tried that and got the following output:
COM Object ( [0] => Resource id #3 ) COM Object ( [0] => Resource id #9 )
COM Object ( [0] => Reso
If you read the pages on google you will know the answer.
Hartley, Matt wrote:
Is Googlebot (or any other bot) able to follow links that are php?
e.g.
Contact Us
Is there a way to invite bots to your site?
Thanks
Matt
--
Raditha Dissanayake.
---
Hello Ben,
On 27 Jan 2004 at 9:27, Ben Ramsey wrote:
> I'm trying to run a query against a database with a PHP script that
> cycles through each record (about 4,000+) and sends and e-mail to them
> if they have an e-mail address present. The problem is that everytime I
> do this, it processes
Ah... I was trying to lookup the word "timeout," which was giving me
nothing. Thanks! Also, shouldn't I be receiving an error message if
the script is, in fact, timing out? I have checked "display_errors" and
it is turned on.
[EMAIL PROTECTED] wrote:
Hello Ben,
On 27 Jan 2004 at 9:27, Be
set_time_limit()
This function has no effect in safe mode, you will need another
workaround, for example send fisrt 400 emails and redirect the browser
to send next 400 emails and so on untill you are done.
Ben Ramsey wrote:
I'm trying to run a query against a database with a PHP script that
That's not very helpful.
I am also curious about this.
Anyone have a more thought provoking answer?
Frank
--- Raditha Dissanayake <[EMAIL PROTECTED]> wrote:
> If you read the pages on google you will know the answer.
>
> Hartley, Matt wrote:
>
> >Is Googlebot (or any other bot) able to follow
Perhaps this link will help:
http://www.google.com/webmasters/
Frank Tudor wrote:
That's not very helpful.
I am also curious about this.
Anyone have a more thought provoking answer?
Frank
--- Raditha Dissanayake <[EMAIL PROTECTED]> wrote:
If you read the pages on google you will know the answ
but how would i store keys for apache?
- Original Message -
From: "Marek Kilimajer" <[EMAIL PROTECTED]>
To: "Nitin Mehta" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, January 27, 2004 4:03 PM
Subject: Re: [PHP] su idn't working from within php
> Why do you need su? Set up
You should. I know I did in older version of php, now I don't.
Ben Ramsey wrote:
Ah... I was trying to lookup the word "timeout," which was giving me
nothing. Thanks! Also, shouldn't I be receiving an error message if
the script is, in fact, timing out? I have checked "display_errors" and
i
Frank Tudor wrote:
Anyone have a more thought provoking answer?
Do some minimal research (Google is good for this) and you would find
the answers yourself.
Hartley, Matt wrote:
Is Googlebot (or any other bot) able to follow links that are
php?
Yes. Most spiders will crawl over most types of URL.
I'm running PHP 5.0 beta 3, and I have seen script timeout errors
before. It's just odd that I wasn't receiving them this time.
Increasing the timeout helped, but didn't fully correct the problem. I
just kept changing the SQL statement to "WHERE user_key >= [id number
where it left off]" so t
Got it!
The rs objects need to be written as follows:
to give the following code:
$list2 = $conn->Execute("SELECT * FROM elive.registration") or
DIE($conn->ErrorMsg());
while (!$list2->EOF){
$Msku = $list2->Fields("sku");
$Mname = $list2->Fields("name");
$Memailaddress = $list2->Fields("
You need to edit /etc/sudoers file and allow apache to execute
. And you also need to be carefull what you are doing or you
will create a security hole.
Nitin Mehta wrote:
but how would i store keys for apache?
- Original Message -
From: "Marek Kilimajer" <[EMAIL PROTECTED]>
To: "Nitin
Hi All,
I want to have a series of questions that are randomized for a particular
lesson. This part is easy.
I have taken the results from the db and put it in an array and then used
shuffle() to randomize the questions.
while($row = mssql_fetch_array($result))
{
$id[] =
I'm working on an application which allows cartoonists to upload and
schedule comic strips at webcomicsnation.com.
At present, the way it works is that the cartoonist uploads a strip on one
page of a "wizard" style form, then enters metadata about the strip (date it
should go live, description, ti
Two ways we deal with long running scripts like this are:
1) Run it from the command line. Usually, PHP drives web pages... But it
can be used as a scripting language just like perl. Beginning the script
with set_time_limit(0) kills the timeout. Also, running from the command
line gets around all t
Hi all..
I want to echo something if the GET value was not exist in the database..
So for example : The user enters his email address and if this email was not found in
the field of the email addresses in the table.. then echo "Invalid Email Address"
So how to do it?
Regards..
Marek Kilimajer wrote:
You need to edit /etc/sudoers file and allow apache to execute
. And you also need to be carefull what you are doing or you
will create a security hole.
Nitin Mehta wrote:
but how would i store keys for apache?
- Original Message - From: "Marek Kilimajer"
<[EMAI
Not sure if this is off topic or not, apologises in advance if it is.
Does anyone here use any software design languages (is that the right
term?) like UML when they are designing Php driven web sites? As I am
looking to start a new site/project and I want to design it properly
instead of making
I am trying to find a reliable method to clean out all session
variables and start clean.
Running PHP 4.3.1 on Win2K developing a web app to run on Linux.
Session cookies are enabled, register globals is off. I access all
session variables with $_SESSION.
What I have found is that if I use u
Thanks guys. Duhhh. I was taught to always put ;'s and any dev software that
writes it's own code does the same. I also remember adding them because I
was getting error's at some point, perhaps PHP3.
Is it considered better practice to use them? Otherwise I've been wasting
keystrokes. I only notic
On Tuesday 27 January 2004 07:13, Stuart wrote:
> Hamid Hossain wrote:
> > Is there any good reference on how to use CRON (I mean on the
> > net)?
> >
> > I need to fire some PHP pages at scheduled time daily or weekly,
> > ... so on.
>
> http://www.google.com/search?q=cron+tutorial+php
depending
[EMAIL PROTECTED] wrote:
I am trying to find a reliable method to clean out all session
variables and start clean.
http://php.net/session_destroy
--
Stuart
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Radwan Aladdin wrote:
Hi all..
I want to echo something if the GET value was not exist in the database..
So for example : The user enters his email address and if this email was not found in the field
of the email addresses in the table.. then echo "Invalid Email Address"
So how to do it?
Regar
On 27 Jan 2004 Stuart wrote:
> > I am trying to find a reliable method to clean out all session
> > variables and start clean.
>
> http://php.net/session_destroy
That destroys the file but (at least the docs say) does not clean out
the global variables, and does not seem to work in my example.
[EMAIL PROTECTED] wrote:
On 27 Jan 2004 Stuart wrote:
I am trying to find a reliable method to clean out all session
variables and start clean.
http://php.net/session_destroy
That destroys the file but (at least the docs say) does not clean out
the global variables, and does not seem to work in
I always use them ... but it's mainly 'cause if I ever need to expand the
code, I won't have to remember to add them ... it's for the same reason I
always use the braces '{ ... }' even though the short form would work just
as well in many cases ...
I tend to expand my code alot with time (as I ma
On 27 Jan 2004 Stuart wrote:
> In that case, try this...
>
> foreach (array_keys($_SESSION) as $key)
> unset($_SESSION[$key]);
Yes, I had tried that but forgot to mention it. It does work.
However, I'm still mystified as to why unset($_SESSION) not only
doesn't remove old data from the s
Hello All,
I have PHP installed on Apache and Unix with several vhosts so each vhost
has its own user account on Unix.
Now when accessing a webpage, Apache runs with user httpd.. but I want it to
run as the user of the vhost account.. How can I do that?
thanks in advnce,
-Lorderon
--
PHP Genera
Jonno Agnew wrote:
I wondered if I can ask you two follow-up questions?
On-list, yes. Off-list, yes, at consultancy rates.
(1) On Useractive's PHP environment, if ($guessnumb) { seems to work
fine, but on my PHP 4.3.4 environment it doesn't. Is there some setting
I need to tweak, and if so could
UML is a universal "language" that can be used for PHP, a factory,
Java, Legos, etc. I had entertained reading up on and learning UML last
year, but was convinced, by friends, it wasn't worth it unless you
would be using it all the time (meaning working at a large company). I
think they are act
Hi all,
I'm developing a web appl. with PHP and PEAR, using mainly PEAR::MDB, PEAR::Config,
and Smarty template engine.
Under Win2000, the system seems to go slower and slower from the morning to the
evening. A quick "Task Manager", and ...
My inetinfo.exe process consumes most of my RAM . I
Hi,
i'm trying to send emails with attachment but i get an error
at $file = fread($fp, $att_size);
and i don't understand why, any help is appreciated.
code is below
$subject = $_REQUEST['subject'];
$cc = $_REQUEST['cc'];
$from= $_REQUEST['from'];
$message = $_REQUEST['text'];
$att
Eli Hen wrote:
Hello All,
I have PHP installed on Apache and Unix with several vhosts so each vhost
has its own user account on Unix.
Now when accessing a webpage, Apache runs with user httpd.. but I want it to
run as the user of the vhost account.. How can I do that?
What version of Apache
Hello Alex,
On 27 Jan 2004 at 9:25, Alex Hogan wrote:
> while($row = mssql_fetch_array($result))
>
> {
>
> $id[] = $row['id'];
>
> $ques[] = $row['question'];
>
> }
To keep question and id together even after shuffling the array, why don't you build
an
array of arrays like this
Hi,
I am running PHP 4.3.4 on Windows 2000 server with
Apache 2.0.48. I am using COM objects in some of the
pages. My question is, how do I release them when I'm
done? Right now, I'm unsetting them, but after a few
days I get COM+ Errors in the Event Viewer:
The COM+ Services DLL (comsvcs.dll) wa
Hello Tony,
On 27 Jan 2004 at 16:47, tony wrote:
> Hi,
>
> i'm trying to send emails with attachment but i get an error (...)
I haven't even had a look at your code, but sending e-mails with attachments can be
quite tricky, so I suggest that instead of trying to re-invent the wheel you use
Ri
On Tue, 2004-01-27 at 08:08, Hamid Hossain wrote:
> Is there any good reference on how to use CRON (I mean on the net)?
>
The best source is the man page crontab(5)
--
BrianGnuPG -> KeyID: 0x04A4F0DC | URL: www.gfx-design.com/keys
Key Server: p
From: "motorpsychkill" <[EMAIL PROTECTED]>
> I'm not sure if this has been covered (I searched the archives) but does
> anyone know if there is a size limit on what a session can store? What is
> this dependant on?
I think you already got your answer. I'd just like to say that if you have
to as
On Tue, 2004-01-27 at 07:34, christian tischler wrote:
> Is there a way wuth php to create a list ordered by more than one column
> like in excel or access.
>
> something like "ORDER BY points AND score"
... ORDER BY column1, column2, etc...;
--
BrianGnuPG -> KeyID: 0x04A4F0DC | URL: ww
One question,
Do you know if this is possible with IIS?
Thanks for your help
"Shaun" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Perfect, complicated but perfect!
>
> Thanks
>
> "Raditha Dissanayake" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > hi,
> >
> >
Joey Manley wrote:
I'm working on an application which allows cartoonists to upload and
schedule comic strips at webcomicsnation.com.
At present, the way it works is that the cartoonist uploads a strip on one
page of a "wizard" style form, then enters metadata about the strip (date it
should go li
At 12:39 PM 1/27/2004, John Nichel wrote:
Joey Manley wrote:
I'm working on an application which allows cartoonists to upload and
schedule comic strips at webcomicsnation.com.
this for me?
Zip files are a breeze if php is compiled with "--with-zip". However, I
don't know of any way to handle .si
I personally abandoned using any com object a few months ago as
maintaining and identifying similar problems took mmore time that
writing effective code to make the system steady...
C C wrote:
Hi,
I am running PHP 4.3.4 on Windows 2000 server with
Apache 2.0.48. I am using COM objects in some o
Hi Ben,
Your code works but If i remove the delimter [] which
I gave so that you could capture the data which needs to be
picked it doesnt work?. Any help?
Karthikeyan B
- Original Message -
From: "Ben Ramsey" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; "Karthikeyan"
<[EMAIL PROTECTED
Hello..
How to make the PHP file (Login page) to update a value every 5 seconds for example
from the database..
So if the connection is alive it will update the value. But if the connection
diconnected with the database then it will stop doing that.. then in the comming login
it will do the sa
I'm in the process of moving some scripts from a RH linux 7.x box(using
apache 1.3 and php4) to Debian stable. I've installed apache 2 and php4
from source since Debian stable does not support apache 2 but I'm having
trouble with some of the scripts that were being executed as CGI on the
old RH 7.
On Tue, 2004-01-27 at 09:19, Jay Blanchard wrote:
> When constructing arrays where you are meddling with fixed width
> substrings in a larger file make sure that the array item does not
> contain a tab or you will certainly get unexpected results;
>
> $arrBadInfo (
> 'AMARILLOHOUSE ',
>
At 1:40 PM -0500 1/27/04, Robert Cummings wrote:
On Tue, 2004-01-27 at 09:19, Jay Blanchard wrote:
When constructing arrays where you are meddling with fixed width
substrings in a larger file make sure that the array item does not
contain a tab or you will certainly get unexpected results;
$arr
--- Robert Cummings <[EMAIL PROTECTED]> wrote:
> Event better... turn your editor's tab character to 4 spaces, then
> your code never contains those despicable tab characters and you won't
> accidentally insert tabs into strings :)
And your file sizes increase by 25%, and you enforce your tab pref
>I have PHP installed on Apache and Unix with several vhosts so each vhost
>has its own user account on Unix. Now when accessing a webpage, Apache
>runs with user httpd.. but I want it to run as the user of the vhost
>account.. How can I do that?
http://httpd.apache.org/docs/suexec.html
-
--- Alex Pilson <[EMAIL PROTECTED]> wrote:
> Couldn't you trim the items before placing into an array?
That would not have helped him, because trim() doesn't remove any
whitespace in between characters.
Chris
=
Chris Shiflett - http://shiflett.org/
PHP Security Handbook
Coming mid-2004
On Tue, 2004-01-27 at 13:49, Chris Shiflett wrote:
> --- Robert Cummings <[EMAIL PROTECTED]> wrote:
> > Event better... turn your editor's tab character to 4 spaces, then
> > your code never contains those despicable tab characters and you won't
> > accidentally insert tabs into strings :)
>
> And
[snip]
>Its all good, it's like inline braces versus dropped braces and every
>other coding style debate :) There's no winner.
[/snip]
pfft. Inline braces wins hands down ;p
-J
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
If you're connecting to the mySQL database through ODBC (why not just
connect directly to mySQL server?) ... then you probably have to escape with
a single quote. For most ODBC drivers you escape ' with '' (two single
quotes) . took me a while to figure that one out, but works for me. :)
- An
Chris Shiflett wrote:
And your file sizes increase by 25%, and you enforce your tab preference
on every other developer (rather than letting them choose their own), and
you'd better hope that everyone's editor can perform operations on
vertical selections of text, otherwise changes in identation b
Jeremy wrote:
[snip]
Its all good, it's like inline braces versus dropped braces and every
other coding style debate :) There's no winner.
[/snip]
pfft. Inline braces wins hands down ;p
-J
It's on now. Somebody set up the ring for the cage match. Last brace
standing at the end wins. ;)
--
B
Hi
I've got the code for a drop down list and the drop down box displays--but
with no info in it. The underlying table is populated so I could use some
advice on what might be wrong from here
";
}
?>
Any ideas?
Thanks
Dan
1 - 100 of 146 matches
Mail list logo