What would be the PHP expression to change any and all ' to ? in a
variable?
I want to change any and all ' in $_POST[data] to ?
what would be the statement? Thanks!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thank you, that works great!
On Thu, 4 Mar 2004, Richard Davey wrote:
Hello Adam,
Thursday, March 4, 2004, 3:36:06 PM, you wrote:
AW What would be the PHP expression to change any and all ' to ? in a
AW variable?
AW I want to change any and all ' in $_POST[data] to ?
$output_array
a lot!!
-Adam Reiswig
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
a lot!!
-Adam Reiswig
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
!!
-Adam Reiswig
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
yes, my webhost is on Unix. Thanks, that must be it because I sent a
regular email to both address's at the same time and I only received one.
-Adam Reiswig
[EMAIL PROTECTED] wrote:
On 8 Mar 2004 Adam Reiswig wrote:
Normally, the two emails would end up in the same pop account but don't
seem
if anyone knows of any good articles online
that you could point me to, I'd be most grateful.
-Adam R.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
To clarify my question, can one class directly call a function or change
a variable of another class or is the main php file the only way to
interact between the two or more classes? Thanks again!!
-Adam R
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
--
Adam Voigt
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
Adam
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
)) {
$correct = 0;
} else {
$correct = $correct++;
}
Seems like it should work?
Thanks!
Shane
--
Adam Voigt
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
that
can prohibit this from working?
Thanks,
Jake
--
Adam Voigt
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
the generation of the PDF files work automagically? The first
page will always have a header set of information, and then the quote
following it, all other pages will just have the quoted items.
Thoughts?
TIA!!
Robert
--
Adam Voigt
[EMAIL PROTECTED]
--
PHP General Mailing List (http
in php.ini that
can prohibit this from working?
Thanks,
Jake
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
Adam Voigt
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
server on '192.168.1.44'
From the webserver error log:
php4_execute reports: PHP Warning: mysql_connect(): Can't connect to MySQL
server on '192.168.1.44' (2)
Thanks,
Cameron
--
Adam Voigt
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
So what error prints out when you try and connect from PHP?
On Wed, 2004-03-17 at 15:03, Cameron B. Prince wrote:
Hi Adam,
What happens when you try to use the mysql client on the
web machine, to connect to the production database server?
It works:
bash-2.05# pwd
/usr/local/mysql
ideas?
Cameron
--
Adam Voigt
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
);
Could not connect : Can't connect to MySQL server on '192.168.1.44' (2)
Same thing... What could be wrong here... Geez, this is starting to worry
me.
Thanks for your help,
Cameron
--
Adam Voigt
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
something.
The MySQL on the webserver is: mysql-standard-4.0.16-sun-solaris2.9-sparc
The MySQL on the dbserver is: mysql-3.23.54a-sun-solaris2.8-sparc
Do you think the version skew could cause this?
Thanks,
Cameron
--
Adam Voigt
[EMAIL PROTECTED]
--
PHP General Mailing List (http
http://www.php.net/str-replace
On Wed, 2004-03-17 at 15:48, Vernon wrote:
I want to be able to replace a space that comes from a form field (such as
in 123 My Street) with a + sign.
Can anyone help me with this?
Thanks
--
Adam Voigt
[EMAIL PROTECTED]
--
PHP General Mailing List (http
that to happen - I want it to remain as
the original creation timestamp. How do I prevent this from happening?
Thanks,
- Brian
--
Adam Voigt
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
received this e-mail in error, please notify the sender by replying
to this message and delete this e-mail immediately.
--
Adam Voigt
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
/idal
GNU/Linux is free freedom. -- Me
--
Adam Voigt
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi, I was wondering if I can get some help with either a str_replace or a
regex. I have some data and it always begins with $$ but it can end with
any letter of the alphabet. so sometimes its $$a and sometimes its $$b
and sometimes $$c all the way to $$z. $$a all the way to $$z needs to
be
request gets b0rked,
if this is the case, I'm not sure there's much that can be done about
it.
--
Adam Voigt
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
, but if there is,
I would use that instead.
On Thu, 2004-03-18 at 14:38, Chris de Vidal wrote:
Adam Voigt said:
If I ran XP I might be able to do that. From reading the security
release my MS, it sounds like some times the POST request gets b0rked,
Yep.
if this is the case, I'm not sure there's much
possible with
out conflicting with existing css styles and as long as it didn't insert
font tags and tables all over.
Is there a good open source php based cms system out there that can do
the above? I'd sure like to know about it. Thanks for any pointers!
-Adam R.
--
PHP General Mailing List
Brazil, and sorry about my ignorance writing
in English.
I'd like to know if exists any function in php that identifies a string
as a-z, like is_num() to the numbers.
Thanks,
Lourenzo
--
Adam Voigt
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
;
The denotes a string and without quotes it denotes a value
HTH,
Roger
--
Adam Voigt
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
How do I know what name mysql_fetch_array assigned to the date_format ?
--
Adam Voigt
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
the last inserted row id and perform an sql
delete but is there a more elegant way?
Cheers
Matt
--
Adam Voigt
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
that is running PHP.
Then, restart IIS.
--
Regards,
Ben Ramsey
http://benramsey.com
http://www.phpcommunity.org/wiki/People/BenRamsey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
Adam Voigt
[EMAIL PROTECTED]
--
PHP
Hi, what is the syntax for using ocilogon() to connect to a remote server?
The remote server's name is zed.mdah.state.ms.us (ip is 10.8.5.4) and the
database is zed.aleph0. Locally on zed I can do
ociogon(user,pw,zed.alpeh0) and connect fine, but on a remote server
I try
connection to Oracle using sqlplus:
User: scott
pass: tiger
dbstring: test
this in PHP would be: $conn = OCILogon(scott, tiger, test);
-William
El mar, 30-03-2004 a las 15:52, Adam Williams escribió:
Hi, what is the syntax for using ocilogon() to connect to a remote server
Hi, I figured out what was wrong, I had php_oci8.dll uncommented in
php.ini but not php_oracle.dll. Fixed that and now I get an ORA-12705
error, which looking on google has something to do with NLS. Going to do
more reading, thanks :)
--
PHP General Mailing List (http://www.php.net/)
To
the line $myref = $this;. The
author states that this is a reference to the class/object itself.
Isn't this like saying outside the class $myref = new test;? What
would be the point of referring to itself inside the class in this
manner? Thanks for your help in advance!
-Adam Reiswig
--
PHP
of an object inside an object? I guess my
problem in understanding this is not so much where this sort of coding
should be used but rather what is really going on here. Thanks again!
-Adam Reiswig
Jason Barnett wrote:
It's not the same thing. When an variable references an object then you
can change
I need to be able to pull a certain page out of a multi-page PDF, and
then be able to save that single page to it's own PDF file.
Anyone know how to do this with free tools?
Thanks.
--
Adam Voigt
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
away.
Stanley G. Martin
System Administrator
Sprint - EAS Business Intelligence
[EMAIL PROTECTED]
--
Adam Voigt
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi, I have a form where I have a user entering in the date in a numeric
string. For today they would enter 04212004 and so on...I'm working on
this date within mysql server, and mssql server handles dates as
04-21-2004 when you use convert(varchar,field,110). So how in PHP can I
change a
://us2.php.net/manual/en/ref.exec.php and none
seem to have the desired effect.
?php
$tailed = shell_exec('tail -f /path/to/log');
//$tailed = exec('tail -f /path/to/log');
//$tailed = system('tail -f /path/to/log');
print = textarea$tailed/textarea;
?
Thanks in advance,
Jas
--
Adam
lol
On Mon, 2004-05-10 at 11:16, Jay Blanchard wrote:
[snip]
I didn't sent off list
[/snip]
I am in an relatively crappy mood this day, you may want to NOT refute
something I have said and in essence call me a liar. You'll get little
help that way.
P.S. Stop top posting too.
--
Adam
Hi, I have a randon group of numbers I need the average of. When I add
them up and divide by how many there are and print the result, I get a
lot of decimal places. The number comes out to look like 29.3529411765,
but I don't need that many decimal places. rounding to one decimal place
will
On Mon, 10 May 2004, Richard Davey wrote:
Hello Adam,
Monday, May 10, 2004, 7:03:36 PM, you wrote:
AW Hi, I have a randon group of numbers I need the average of. When I add
AW them up and divide by how many there are and print the result, I get a
AW lot of decimal places. The number
?
Thanks!
Amanda
--
Adam Voigt
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
only want $d to be an array when there is more than one entry
left do this instead:
if (count($MyArray) == 1) {
$d = array_shift($MyArray);
} else {
$d = $MyArray;
}
[1] http://www.php.net/array_shift
--
Adam Bregenzer
[EMAIL PROTECTED]
http://adam.bregenzer.net/
--
PHP General Mailing List
I've also heard the Perl Zealots claim the P could or does stand for
Perl, but ignore there Jedi mind tricks.
On Fri, 2004-05-07 at 11:00, Jay Blanchard wrote:
[snip]
Anyone know what LAMP stand for
[/snip]
All of us but you.
Linux Apache MySQL PHP
--
Adam Voigt
[EMAIL PROTECTED
:
input type=button value=Whatever onclick=javascript:doit();
input type=button value=Whatever onclick=javascript:doit2();
--
Adam Voigt
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
Adam Bregenzer
[EMAIL PROTECTED]
http://adam.bregenzer.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
there. Thanks for any pointers, ideas, advice or help you may have.
-Adam R.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
you could do:
print tr
bgcolor='#ff'td$item_1/tdtd$item_2/tdtd$item_4/tdtdcenter$item_5/center/td/tr\n;
if ($i % 8 == 7) {
print trtd colspan='4'/td/tr\n;
}
which would keep them the same color and add a blank row after every
eighth; again adjust $i as necessary to fit.
--
Adam Bregenzer
[EMAIL
the parent script to the subroutine.
I know that I can get the line number of the current script, but that
doesn't tell me where the function was called from...
debug_backtrace[1] should get you everything you want and then some.
[1] http://www.php.net/debug_backtrace
--
Adam Bregenzer
[EMAIL
), which I
suppose is unsigned to a signed integer (3961595508) without having to
convert it to hex, then back to decimal.
Rene
--
Adam Voigt
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi, I have a variable that is created using the date command:
$date = date(Ymd);
but its not working in my database this way (when I explicity enter
20040614 in my database, it works though). so I think PHP is making $date
a character variable, so how can I force or change the caste of $date
eh nevermind, I found settype();
:) thanks
On Mon, 14 Jun 2004, Adam Williams wrote:
Hi, I have a variable that is created using the date command:
$date = date(Ymd);
but its not working in my database this way (when I explicity enter
20040614 in my database, it works though). so I
Hi, I'm having a problem with fopen and http files. I keep getting the
error:
Warning: fopen(http://zed/htdocs/rgfindingaids/series594.html )
[function.fopen]: failed to open stream: HTTP request failed! HTTP/1.1 404
Not Found in /home/awilliam/public_html/rgfaidstest.php on line 15
On Fri, 8 Oct 2004, Matt M. wrote:
But I don't understand why I am getting that error about failed to open
strem: HTTP request failed, when I can bring up the links fine in a
browser on the server running the php script. So can anyone help me out?
Thanks
do you have allow_url_fopen
On Fri, 8 Oct 2004, Hendrik Schmieder wrote:
What say phpinfo about Registered PHP Streams ?
Hendrik
Hi, I think I just figured out my problem...I had to use rtrim($line)
because I think there was a \n or an invisible character at the end of the
line that was being passed to the
and SimpleTest to test your code as it is written. These along with
some XP techniques I read about seem like good practices to follow.
Does anyone have any other ideas/practices that it would be good for a
new oop developer like myself to make a habit it of?
Thanks!!
--
Adam Reiswig
Hi, I use a piece of proprietary software at work that uses weird session
ID strings in the URL. A sample URL looks like:
http://zed2.mdah.state.ms.us/F/CC8V7H1JF4LNBVP5KARL4KGE8AHIKP1I72JSBG6AYQSMK8YF4Y-01471?func=find-b-0
The weird session ID string changes each time you login. Anyway, how
Hello All,
I have a simple mail() question, and I hope a hero can shed some
light. I can't understand why my messages are being encoded, and extra
headers are being added, *before* the message is sent through sendmail.
Infinite Thanks,
Adam
Input:
$more test.php
?
$header = Content-Type: text
Hi Manuel,
That was *exactly* the issue. I can't express my gratitude for the
assistance enough
-Adam
Original Message Follows
From: Manuel Lemos [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: [PHP] Re: simple mail() question
Date: Sat, 13 Nov 2004 19:21:18 -0200
Hello,
On 11/13/2004
Hi, I don't know what functions to use so maybe someone can help me out.
I want to grab a URL's source (all the code from a link) and then cut out
a block of text from it, throw it away, and then show the page.
For example, if I have page.html with 3 lines:
htmlheadtitlehi/title/head
body
!--
From within the application, I use one page to include
classes/variables and so on. Is there a way (I may have been missing it
in the documentation for PHP, however I didnt see anything related) to
prevent a user from directly accessing/executing *.php by the file
making sure taht it was only
Thomas Goyne wrote:
On Thu, 13 Jan 2005 16:25:30 -0600, Adam Hubscher
[EMAIL PROTECTED] wrote:
1 (the preferred way): user accesses
http://www.example.org/index.php?function=Join, this loads the class
NewUser and begins its implementation. Because of the __autoload, it
includes
Warning: socket_connect() expects parameter 3 to be long, string given
in testing.php on line 21
Couldn't Create Socket: Success
It actually spits that across for every socket I'm trying to connect.
I'm doing an online status for multiple servers, which I have tested to
work when I simply do a
Warning: socket_connect() expects parameter 3 to be long, string given
in testing.php on line 21
Couldn't Create Socket: Success
It actually spits that across for every socket I'm trying to connect.
I'm doing an online status for multiple servers, which I have tested to
work when I simply do a
Ok, I had made a post earlier but bout 5min later I figured out the
problem (I had spaces and returns that were in the array beside the ports).
The code looks like this:
if(($sock = socket_create(AF_INET,SOCK_STREAM,SOL_TCP)) 0){
print(Couldn't Create Socket: .
Richard Lynch wrote:
Adam Hubscher wrote:
Warning: socket_connect() expects parameter 3 to be long, string given
in testing.php on line 21
Couldn't Create Socket: Success
PHP usually auto-converts data -- However it's possible that this
EXPERIMENTAL function (?) doesn't have the magic code down
Andrew Maxwell wrote:
When you submit something, and you want to make sure that the user
inputs all of the info, is there an easier way to do it than this:
if ((!$_POST[name]) || !$_POST[pass]) || (!$_POST[blah]))
{
etc.
}
is there an easy way to check if all of the varibles have data in them?
The code looks like this:
if(($sock = socket_create(AF_INET,SOCK_STREAM,SOL_TCP)) 0){
print(Couldn't Create Socket: .
socket_strerror(socket_last_error()). \n);
}
socket_set_option($sock, SOL_SOCKET,SO_RCVTIMEO, array('sec' = 1,
'usec' = 0));
$output = '';
for($i = 0; $i count($file);
Jochem Maas wrote:
Adam Hubscher wrote:
The code looks like this:
if(($sock = socket_create(AF_INET,SOCK_STREAM,SOL_TCP)) 0){
print(Couldn't Create Socket: .
socket_strerror(socket_last_error()). \n);
}
socket_set_option($sock, SOL_SOCKET,SO_RCVTIMEO, array('sec' = 1,
'usec' = 0));
$output
Very good prices, very good support.
--
Adam Voigt
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
); //bool(true)
var_dump(0 === 0);//bool(false)
--
Adam Bregenzer
[EMAIL PROTECTED]
http://adam.bregenzer.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Here is my snippet of code. It takes cardnum from the database, removes
the duplicates for each individual date, and then counts how many discrete
numbers there was.
!-- snippet of code starts here --
//database connect and selection here, now my sql statement:
$sql = select convert(
array_unique() removes duplicate values from an array.
Is there an opposite function or way of keeping all values in a single
dimentional array that are duplicates and removing all that are
duplicates?
for example if I have an array:
array( [0] = 'dog', [1] = 'cat', [2] = 'rabbit', [3] =
XPath variables instead, but I
don't understand how to do implement this.
I would really appreciate any examples on what people have done to get
around this issue, if any one has at all.
Regards,
Adam.
--
Adam Randall [EMAIL PROTECTED]
(206) 285-8080
100 West Harrison
North Tower, Suite 300
I need some help passing a session variable with a header() function.
According to www.php.net/header, the documentation states:
*Note*: Session ID is not passed with Location header even if
session.use_trans_sid
session.configuration.php#ini.session.use-trans-sid is enabled. It
must by
abdulazeez alugo wrote:
Hi,
Well I'ld say the reason is quite obvious. You have simply not set
$_session[username] . I'ld have done something like:
-- option.php --
?php
session_start();
if ($_POST[option] == View Pending Requests)
{
$_session[username]= true; //sets the session
have you looked into this? http://postgis.refractions.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have the code:
$mysqli_get_support_types = Select types from support_types order by
types;
$mysqli_get_support_types_result =
mysqli_query($mysqli,$mysqli_get_support_types) or
die(mysqli_error($mysqli));
while (mysqli_fetch_array($mysqli_get_support_types_result))
{
echo
Shawn McKenzie wrote:
No. How about:
while ($row = mysqli_fetch_array($mysqli_get_support_types_result))
{
echo option.$row['types'];
}
thanks, now that you provided that, I see that I left out the $row variable!
--
PHP General Mailing List (http://www.php.net/)
Is there a way to determine if a mysql query returns an empty set? I am
selecting 10 results at a time with a limit statement and need to know
when i've ran out of rows. I've only got 2 rows in the database, so
when I start with row 10, it returns an empty set. I have the following
code:
Nitsan Bin-Nun wrote:
mysql_num_rows() maybe? if not I probably haven't understood your question.
Thanks, I never thought of trying that. This code works!
$mysqli_get_requests = mysqli_query($mysqli,$get_requests);
if (!mysqli_num_rows($mysqli_get_requests))
Andrew Ballard wrote:
It won't be any of those because the query is successful even if it
returns no records. You could use
http://us2.php.net/manual/en/mysqli-stmt.num-rows.php to determine how
many rows were returned.
Andrew
Oh ok, thanks that makes sense. Thanks for the link also
--
I have a form where users submit search terms and it explodes the terms
into an array based upon spaces. But, how can I have explode() keep
words in quotation marks together? For example, if someone enters on
the form:
John Jill Judy Smith
and I run $termsarray = explode( , $_POST[terms]);
Jan G.B. wrote:
You could try it with regular expression matching..
for example:
?php
preg_match_all('/([a-z]+|[a-z ]+)/i', $searchstring, $resultarray);
?
Regards
Thanks. That seems to create 2 duplicate arrays, though. Can it be
narrowed down to just array [0]?
Jan G.B. wrote:
Yes, preg_match_all returns all matches and the subpattern matches
(the stuff inside the brakes)
You can ommit stop it by using (?:) instead of ()..
So: preg_match_all('/(?:[a-z]+|[a-z ]+)/i', $_POST[terms], $termsarray)
You might want to check out the regular expression
Andrew Hucks wrote:
I've been coding PHP for about a year, and I'm running out of things to code
that force me to learn new things. If you have any suggestions, I'd greatly
appreciate it.
I'm currently writing an in-house PHP helpdesk ticket system. I looked
at all the open source ones i
Ron Piggott wrote:
How do I specify an actual SMTP server? (Like mail.host.com)
This is what I have so far:
mail($email, $subject, $message, $headers);
I was to http://ca2.php.net/manual/en/function.mail.php and saw this
syntax:
mail ( string $to , string $subject , string $message [,
With the wide range of users on the list, I'm sure there are plenty of
opinions on what are good graphical IDE's and which ones to avoid. I'd
like to get away from using notepad.exe to code with due to its
limitations. Something that supports syntax/code highlighting and has
browser previews
I have staff fill out a form that contains a textarea with their
problem description and emailed to me when they click submit. Staff
will press enter in the text area, but I'm having problems converting
the \r\n into a new line in the email that is sent to me, here is the code:
$subject =
Daniel Brown wrote:
In a cursory glance, I've noticed the following code:
htmlspecialchars(nl2br(str_replace('\r','',$_POST[problem])))
You are using a literal '\r' in your str_replace() function. This
should instead be replaced with double quotes to translate the \r to
its
that allows them to enter a range?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
- Adam Shannon ( http://ashannon.us )
General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
- Adam Shannon ( http://ashannon.us )
found the list by the link on php.net (lists.php.net), I mainly joined to
grow in my experience with PHP.
--
- Adam Shannon ( http://ashannon.us )
I have a page where a user authenticates, fills in some information in
an HTML form, and then when clicking on the submit button, will need to
execute a php schell script as that user to write some data to their
/home/username directory. Since apache web server runs as the user
nobody, how
On Sat, Jul 18, 2009 at 7:54 PM, Govinda govinda.webdnat...@gmail.comwrote:
On Jul 18, 2009, at 6:36 PM, Adam Shannon wrote:
On Sat, Jul 18, 2009 at 7:01 PM, Govinda govinda.webdnat...@gmail.comwrote:
Hi all,
..sitting here thinking this is so easy, and I must have been over
/ to treat .html files as .php
Just add this to your root .htaccess
AddType x-mapp-php5 .html
Thank you
-Govinda
Govinda
govinda.webdnat...@gmail.com
--
- Adam Shannon ( http://ashannon.us )
php.ini
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
- Adam Shannon ( http://ashannon.us )
901 - 1000 of 1386 matches
Mail list logo