-auth=userid:passwd
httpd://mydomain.com/protected_dir//myphpscript.php > /dev/null
Hope that helps,
Tom Henry
Reductor wrote:
> do you mean perl?!?
> - Original Message -
> From: "Augusto Cesar Castoldi" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
t Doyle.
Covers basics nicely, and I've found myself going back to the book for
reference constantly as I do my own php medium size project as a
learning experience =)
Also, the code samples and explanations are top notch, and you come to
really understand what it is you're doing.
Good Day All
I am running windows xp pro and using built in IIS as my web-server. And I
installed PHP 5.2.5. I also installed MySQL 5.0.37. Now PHP is working, how
ever I having problems with the configuration with MySQL.
I used phpinfo(), and I notice this
doc_root no value
ve path:
/mobilkamera/admin/phpfunctions/addnewmanufacturer.php
--
Joe Henry
www.celebrityaccess.com
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ill remain
> open until the page has finished loading or it is explicitly terminated.
>
> You can lose the session however if the the page contains a reference to
> with name and id references (which may be used if the image
> is referencing a dynamic image, called by javascr
your local machine? If you
do, then that would be where you'd run the command "which php".
On Linux/Mac OS X, you can ssh via a terminal. On Windows, a program like
PuTTY will do the trick.
Link for PuTTY download (just in case):
http://www.chiark.greenend.org.uk/~sgtatham/p
;
> throw new Exception("non existing property!");
> }
> }
>
> $f = new Foo;
> echo $f->foo,"\n";
> $f->foo = "bar";
> echo $f->foo,"\n";
Maybe I'm wrong, but I thought you couldn't use the "
ed.
--
Joe Henry
www.celebrityaccess.com
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Wednesday 29 March 2006 9:52 am, Merlin wrote:
> white label solution
Can someone enlighten me as to what this means? Thanks.
--
Joe Henry
www.celebrityaccess.com
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
- or how would i do this?
> >
> > Russ
You might want to look at CURL, too.
http://us2.php.net/manual/en/ref.curl.php
--
Joe Henry
www.celebrityaccess.com
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
anyone give me some insight as to where I'm going wrong?
>
> thanks
>
> --
>
> Angelo
I found an AJAX regex tester the other day. It'll check PCRE, Posix, and
Javascript. Don't know how useful this is, but thought I'd throw it into this
thread.
http://rexv.org/
--
Joe Henry
www.celebrityaccess.com
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
e function call. Something like:
function foo (&$bar) {
...
}
Here's a link to that section of the php manual:
http://us3.php.net/manual/en/language.references.pass.php
Hope that helps.
--
Joe Henry
www.celebrityaccess.com
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.
On Friday 07 April 2006 1:37 pm, Tom Chubb wrote:
> $insertSQL = "INSERT INTO cars (model, `year`, details, price, image1,
Not sure if this is your problem, but those look like backticks around year
instead of single quotes. Should there even be quotes there?
HTH
--
J
field in the DB isn't numeric this would be
> '{$_POST['model']}'
>
> Dan
>
> -------
> http://chrome.me.uk
>
>
> -Original Message-
> From: Joe Henry [mailto:[EMAIL PROTECTED]
> Sent: 07 April 2006 20:53
> To: php-gener
Chris:
>
> Please forgive my ignorance, but when did that happen?
>
> tedd
> --
> ---
>- http://sperling.com
I'm not sure when this happened. I'm fairly new to php, myself. Maybe someone
else could answer that?
--
Joe Henry
www.celebrityaccess.com
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Thursday 13 April 2006 11:13 am, Robert Cummings wrote:
> On Thu, 2006-04-13 at 12:56, Wolf wrote:
> > How much wood would a wood chuck chuck if a wood chuck could chuck wood??
>
> Canadian, American, or "Other" woodchuck?
>
Leave or we shall taunt you a
t of JobID's and see
> which ones need to be updated.
>
If I'm understanding what you're asking, you have an array of checkboxes whose
values you want passed to you PHP via the $_POST array. The HTML form syntax
would be something like:
etc.
Then in your PHP script, $_
e, the Web 2.0 Movement was born.
Web development and war in the same sentence. Killer!
--
Joe Henry
www.celebrityaccess.com
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Thursday 20 April 2006 1:18 am, Richard Lynch wrote:
> Is 5 longer than 4?
Size doesn't matter. At least that's what I've been told. ;)
--
Joe Henry
www.celebrityaccess.com
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
ed in
> preg_match() in PHP?
http://us3.php.net/manual/en/reference.pcre.pattern.syntax.php
--
Joe Henry
www.celebrityaccess.com
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ts.php
HTH
--
Joe Henry
www.celebrityaccess.com
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Tuesday 02 May 2006 6:14 pm, Ezra Nugroho wrote:
> Does anyone know of any tools to test the sanity of your php code?
This sounds an awful lot like the Halting Problem to me, which isn't solvable.
http://en.wikipedia.org/wiki/Halting_Problem
--
Joe Henry
www.celebrityaccess.co
mong all PHP-general subscribers. That would
be, like, a latte or beer each. Yippee!
--
Joe Henry
www.celebrityaccess.com
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
>
> Also tried exec. I really want to take advantage of the
> temporary named pipes so I don't have to worry about the temporary files
> generated. I've been googling around without much help. Could anyone
> plz give me some hint? Thanks a lo
On Thursday 11 May 2006 9:51 am, Bing Du wrote:
> Any functions that can help remove all the HTML tags in it? What about
> just removing selected tags, like ?
Looks like strip_tags() will do the trick for you:
http://us3.php.net/manual/en/function.strip-tags.php
--
Joe
On Thursday 11 May 2006 10:08 am, Jim Moseby wrote:
> In dog we trust
Am partial to "Dog is my co-pilot"
--
Joe Henry
www.celebrityaccess.com
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
=> (first page loads but
next/previous buttons produce no results)
Blank: none that I tested
Don't have Firefox on the Mac box. I just clicked the next/previous buttons a
few times, so take it for what's it's worth.
Thanks to you Tedd. Made me realize I
Browser and FTP client act as if the image
files do not exist, even though the directory
contents can be views via FTP...
What did I do?
Bryan
On Thu, 26 Feb 2004 17:56:25 -0600, Bryan Henry <[EMAIL PROTECTED]>
wrote:
Hello all,
I wrote a small script to rename a few thousand images
files, especially if you ran
the script as some privileged user like root. chmod or chown can be
used to changed these.
Mike
Bryan Henry wrote:
Browser and FTP client act as if the image
files do not exist, even though the directory
contents can be views via FTP...
What did I do?
Bryan
On T
Here is the script I used to rename images.
foreach ($config as $line) {
if ( $line == "" ) next($config);
elseif ( $line == "\n" ) next($config);
elseif ( strstr($line,"#")) next($config);
else {
$value = split(Chr(9),$line);
$imgs[$value[0]] = $value[1];
Chmod and file_exists report that the file does not exist,
even though I can view the files via the FTP client.
bryan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Fri, 27 Feb 2004 00:01:47 +, Michael Nolan
<[EMAIL PROTECTED]> wrote:
Check the permissions and ownership of the files, especially if you ran
the script as some privileged user like root. chmod or chown can be
used to changed these.
Mike
Bryan Henry wrote:
Browser and FTP client act
images can be downloaded as binary files with
no problem..
I now have over 3000 images I cannot download or view
on our website. What about rename caused this?
Thank you,
Bryan Henry
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ON values on each page. If
a value suddenly disappears then I pop an error to the user and write
the event to a text file on the server. This is okay as a stop-gap, but
I need to track down what's causing the problem in the first place.
Any ideas?
tia
Mark H
--
Mark Henry Enterpris
That was on of the first things I checked:
safe mode is set to off
Any ideas...
Henry
Voip tech said the following on 11/20/2005 10:31 PM:
> Hello,
> I cannot get exec(), system() or passthru() to run an extenal program.
> From the command line it runs perfectly:
> I'm g
is the php I've created, fairly simple:
On 11/22/05, n.g. <[EMAIL PROTECTED]> wrote:
>
> is /var/www/html your web root dir ?
> maybe its the plobrem.
>
> On 11/23/05, Henry Castillo <[EMAIL PROTECTED]> wrote:
> > That was on of the first things I checked:
&
I added 2>&1 but still nothing... as a matter of fact it won't execute
anything. I put echo exec('asdf');
and nothing happend either ( i should've echoed an error)
However it'll execute some other commands echo exec('ls -lart'); will
output correctly.
Any ohter Idea?
Henry
Hi,
Thank you, after a frustrating month the problem was solved. My system
had SElinux blocking that.. no php, apache or file permissions.
Something else to keep in mind.
Henry
On 11/24/05, n.g. <[EMAIL PROTECTED]> wrote:
> put the executable into another directory rather than DOC_ROOT
I have some experience with PHP, but not with these operators:
->
=>
Can someone explain how they are working in this snippet from Yahoo's search API
foreach($xml->Result[$i] as $key=>$value)
I don't see anything about them in the "Array Operators" documentation..
Thanks
The input name must include [] (brackets) to let php know it's an array.
Ex: input type=text name=xname[] value="3303"
On Feb 1, 2006, at 9:07 AM, Mauricio Pellegrini wrote:
Hi ,
I have a HTML page with a form in which there are some inputs like
these:
input type=text name=xname va
you could try pathinfo()
http://us3.php.net/pathinfo
On Feb 2, 2006, at 8:59 AM, Jeremy Privett wrote:
John Nichel wrote:
$_SERVER['DOCUMENT_ROOT']
http://www.php.net/manual/en/
reserved.variables.php#reserved.variables.server
Nope. I've already tried that... $_SERVER['DOCUMENT_ROOT'] c
On Feb 6, 2006, at 12:11 PM, James Kaufman wrote:
Answers that show SQL commands that apply to specific databases annoy
me. Not everyone uses MySQL. I've worked with several databases that
don't support a LIMIT command. At least mention the database engine
you are referencing.
Response like th
alue ) -->the variables value<--"
Exactly as required!!
I hope that you can help, since I am getting frustrated after 4 days trying
to fix this problem.
Henry
--
Sorry about the fo
Thing is that
although its meant for use with PHP it is javascript so I'm not sure where
to post it.
Henry
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Did you send this post at 17:17 and did it arrive at 17:22?
"Niels Andersen" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> When I post something here, it first appears several hours later. How can
it
> be so?
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
clarification since my actual app still doesn't work!
Henry
"Kirk Johnson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> In the first file, replace this line:
>
> $HTTP_SESSION_VARS['variable']="the variables value";
>
> wi
Hi All,
I need to process the inbox. Any pointers, I don't use Perl and would like
to use PHP. Also I do not have PHP compiled for a comand line so I'll
probably use a crontab and unix text based web browser to invoke the PHP
page to process the inbox.
TIA Any help much appreciat
Hi,
Please let me know if you find one thats any good?
Henry
"Dan Sabo" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> What I'm looking for is either an open source or commercial solution which
> is supported by either commercial or OS a
Hi All,
I know that you will probably tell me to RTFM but I have (several times) and
I cannot quite understand it!
So failing that I turn to you for help.
I know that this is very trivial but please humour me.
I have a line containing "From: Henry< henry @ .com >"
(p
Hi All,
This has to be easy to do using preg_match!
Can no one spare a minute of their time?
Henry
"Henry Grech-Cini" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi All,
>
> I know that you will probably tell me to RTFM but I have (several ti
I tried
if(preg_match("/^From:(.*)$/", $headers[$line], $info))
{
echo "[";
print_r($info);
echo "]";
echo "",HtmlSpecialChars($headers[$line]),"";
}
But all I get is
[Array ( [0] => From: [1] => ) ]
From: Hen
Found a solution
if (preg_match("/Form:[ ]*(.+)[ ]*<(.+)>/", "Form:Henry <[EMAIL PROTECTED]>",
$info))
{
print_r($info);
}
else
print "Pattern not found";
but I'm refining it so that it doesn't need the last bit, any more pointers
appreciat
ke this.
Untitled Document
handle."\n";
echo "Path: ".$d->path."\n";
while (false !== ($entry = $d->read())) {
echo $entry."\n";
}
$d->close();
?>
Any ideas about how to get round this other than making a .php file to call
in the
e($file_name)."&file_size=$file_size";
echo "download it";
The download_it.php file looks as follows:
Appart from the fact that the Content-Disposition appears not to be working
under IE6 since the file name is not correct.
The downloaded file does not contain Windows
I'm confused!
Did you want to make a new post for this comment or a reply to another post.
Or does it in some way relate to my question. On my newsgroup browser it
appears as if this post is in the wrong place! In answer to my post on
"Newlines in fputs"
Thanks for responding
Hi All,
Is this possible?
I really don't want to go back to perl5 to setup an autoresponder system!
Henry
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
You may also want to look at wget as a way of invoking
your PHP script if command line support is not available.
Henry
"I.A. Gray" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi.
>
> I am wanting to use a PHP script to check on an hourly/daily basis on
Hi All,
function extractFieldsets($subject)
{
$regexp="/]*)>[^(<\/fieldset>)]*/i";
$replacement;
$matches=array();
preg_match_all($regexp, $subject, $matches);
return ($matches);
}
$result=extractFieldsets('testcontent of
helloblahgoodbye');
echo "";
foreach($result as $key=>$str
Hi All,
I don't actually think regexp is fault. But if anyone could explain this or
give me some example code that will extract the attributes and data between
a "fieldset" tag pair I would be appreciated.
Henry
"Henry Grech-Cini" <[EMAIL PROTECTED]> wrote in mess
dbye]
as we can see the second fieldset is included in that which is between the
fieldset tags!
:-(
Thanks everyone for you help including Mike (with the post out of chain).
Henry
"Sven" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> Henry G
Thanks for that Mike,
I was getting lost.
Is there anyway to say
Any characters excluding the sequence
so I could do something like
/]*)>(.* whilst not <\/fieldset>)<\/fieldset>/i
Or alternatively is there a switch to say get the smallest sequence
Thanks
Henry
&quo
I came accross this link
http://www.alpha-geek.com/2003/12/31/do_not_do_not_parse_html_with_regexs.html
">
http://www.alpha-geek.com/2003/12/31/do_not_do_not_parse_html_with_regexs.html
Do we all agree or should I keep trying?
Henry
--
PHP General Mailing List (http://www.php.
Absolutely brilliant, also I'm using the /s modifier to process newlines as
well.
Great
Thanks to everybody for their help.
"Jome" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> "Henry Grech-Cini" <[EMAIL PROTECTED]> skrev i meddelan
="<?php echo $url[$index]; ?>";
window.location="<?php echo $url[$index]; ?>"; // for NS <= 2.x no support
for replace
// -->
Forward Page
Your browser appears not to support any form of automatic redirect. Pleaseclick
here to be redirected to the w
this:
";
break;
case 2:
echo 'enter you telephone number:";
break;
default:
echo "oops, no form ID";
break;
}
?>
you could imagine calling this as follow:
http://www.yoursite.com/form.php?formid=1
or
http://www.yoursite.com/f
Hi
The problem is that the header requires that no output
be generated by your script before it is invoked.
It makes this clear in the error message when it indicates
that on line 6 you produced output!
Try this instead (although the code seems a little confused).
http://www.index.php";);
}
e by 1,2&3 it should work with all (most) browsers
Thanks for all the help
Henry.
"Christophe Chisogne" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Vincent Jansen wrote:
> >>If you output a location header then I don't know what th
Hi
I am using deskpro. see http://www.deskpro.com
It's written in PHP, but it is not cheap. From my brief experience I would
have to say however that it certainly seems to be worth it.
Such a sophisticated ticketing system would take a very significant amount
of time to build from scratch.
HTH
y and thats whats even more confusing).
Suggestions?
Henry
I tried URL's as follows:
http://www.microsoft.com/
http://www.microsoft.com
function url_reachable( $link )
{
$url_parts = @parse_url( $link );
if ( $url_parts["scheme"]!="http" ) return
Hi,
I have Function A containing a preg_replace_callback calling Function B.
The code works quite nicely.
Now, is there a way for the callback function (B) to receive *additional*
arguments
(from A), so that, for example, it may optionally perform additional tasks?
If not, is there a way for B to
101 - 170 of 170 matches
Mail list logo