On Thursday 05 August 2004 13:42, PHP E-Mail List wrote:
> You don't have permission to access /directory uploaded
> to/renamed file.txt on this server.
What are the permissions on that file?
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integ
On Thursday 05 August 2004 13:18, PHP Gen wrote:
> I did, but forget it, I got another answer from Wudi
> that is far more helpful and I think a starting point.
IOW rather than looking up the answer yourself, you would like someone else to
do it for you then copy and paste it to the list? Is tha
Ok, I figured I'd tackle this since I've been coding php for about 6
months now. And wouldn't ya know, I'm having problems with, what I
thought would be the easiest thing to code ever. Yeah well I get the
file to upload, and heck I can even take the file and display what text
was uploaded.
How
Hey,
> Here's another big clue: have
> a look at the section of the class which does the
> output.
I did, but forget it, I got another answer from Wudi
that is far more helpful and I think a starting point.
I guess knowing the answer and still playing games
makes you feel all powerful, to each
On Thu, 05 Aug 2004 03:11:33 +0200, Jordi Canals <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I have some forms on which user must enter some data. This data is
> sometimes used to be inserted/updated in the database, and sometimes to
> query it with a SELECT.
>
> The scripts that do that, does not a
Might be a dumb idea but have you tried putting method="POST" instead of
method="post" ?
Andy Loftus wrote:
Does anyone have any ideas as to why $_POST would be empty when
submitting a form to php?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
On Wed, 4 Aug 2004 19:36:40 -0700 (PDT)
PHP Gen <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Have very little of idea of the GD functions (and dont
> ahve imagemagik) so am having problems
>
> 1. I need to read all the images from a dir and write
> something on it at the bottom right side of the
> p
mmTranslatedValueHiliteColor="HILITECOLOR=%22Dyn%20Untranslated%20Color%22"
mmTranslatedValueDynAttrs="DynAttrs=value"
mmTranslatedValueHiliteColor="HILITECOLOR=%22Dyn%20Untranslated%20Color%22"
mmTranslatedValueDynAttrs="DynAttrs=value"
mmTranslatedValueHiliteColor="HILITECOLOR=%22Dyn%20Untransla
Yeah, I would expect a 50x response for a Deny from all. I tried
adding the Limit directive to .htacces in both the cgi directory and
the www directory, no luck:
Order Allow,Deny
Allow from all
I found this C code:
ftp://ftp.ncsa.uiuc.edu/Web/httpd/Unix/ncsa_httpd/cgi/cgi-src/post
On Thursday 05 August 2004 11:52, PHP Gen wrote:
> > Big clue: look up each of the image*() functions
> > used in your class and find
> > out what they do.
>
> Arn't you the genius?
Not genius, just common sense.
> I dont know if you read my older posts (around 2-3
> days ago) when I asked if som
> Big clue: look up each of the image*() functions
> used in your class and find
> out what they do.
Arn't you the genius?
I dont know if you read my older posts (around 2-3
days ago) when I asked if someone could recommend a
good place to learn about PHP classes...
Still learning and still
CHAN YICK WAI wrote:
> I learn to write a small PHP form with "submit" button
> for different actions, however, it seems to me variable
> can't be passed. Any experience can share for my debugging?
Turn on register_globals or use $_REQUEST['action']
--
John Holmes
php|architect - The magazin
On Thursday 05 August 2004 11:21, PHP Gen wrote:
> I *DID* RTFM, just am more confused after doing so,
> did you read my post or did you stop after the first 3
> lines?
Big clue: look up each of the image*() functions used in your class and find
out what they do.
--
Jason Wong -> Gremlins Asso
On Thursday 05 August 2004 06:18, Justin Patrin wrote:
> if($_SERVER['HTTPS'] != 'on') {
Careful, IIRC the value of $_SERVER['HTTPS'] differs depending on websever.
The original isset() is the better way.
Bing, IIRC you're redirecting back to the same page weren't you?
> if ($option == 'cont
Hi,
I learn to write a small PHP form with "submit" button for different actions, however,
it seems to me variable can't be passed. Any experience can share for my debugging?
Thanks, Yw
The script is as simple as ...
===
..
...
...
--- Jason Wong <[EMAIL PROTECTED]> wrote:
> On Thursday 05 August 2004 10:36, PHP Gen wrote:
>
> > Have very little of idea of the GD functions (and
> dont
> > ahve imagemagik) so am having problems
>
> So RTFM.
I *DID* RTFM, just am more confused after doing so,
did you read my post or d
On Thursday 05 August 2004 10:36, PHP Gen wrote:
> Have very little of idea of the GD functions (and dont
> ahve imagemagik) so am having problems
So RTFM.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & I
* Thus wrote AJL:
> On Wed, Aug 04, 2004 at 02:55:16PM -0700, Justin Patrin wrote:
> >
> > Sounds like Apache just isn't passing in POST data. Are you *sure*
> > there's Apache directive for this?
> Yeah, that's what I'm thinking more and more, apache not passing it in
> or in a way that php is no
Hi,
Have very little of idea of the GD functions (and dont
ahve imagemagik) so am having problems
1. I need to read all the images from a dir and write
something on it at the bottom right side of the
picture
2.save this image in a diff folder keeping the
originals as is.
I have worked out t
On Wed, Aug 04, 2004 at 02:55:16PM -0700, Justin Patrin wrote:
> On Wed, 4 Aug 2004 16:47:45 -0500, AJL <[EMAIL PROTECTED]> wrote:
> > I'm not sure if it is Apache or not. In fact, I wonder that it might
> > be. However, I do not have any clue as to what it could be.
> >
> > We have 1 apache ser
Jordi Canals wrote:
I tried that on my servers: Tested on the development server and the
production server. But It does not work for me.
Must say that I have to change this value by the .htaccess file, as I do
not have access to the PHP.INI
The manual says that session.gc_maxlifetime has a defa
Jordi Canals wrote:
Hi all,
I have some forms on which user must enter some data. This data is
sometimes used to be inserted/updated in the database, and sometimes to
query it with a SELECT.
The scripts that do that, does not accept html code to be entered. I
think with that we have some issues
On Wed, Aug 04, 2004 at 01:53:17PM -0700, Justin Patrin wrote:
> On Wed, 4 Aug 2004 13:20:00 -0400, John W. Holmes
> <[EMAIL PROTECTED]> wrote:
> > From: "Dan Phiffer" <[EMAIL PROTECTED]>
> > > Jason Davidson wrote:
> > >
> > > > How about
> > > > print_r($_REQUEST);
> > >
> > > That also fails to
I am certain php is configured as CGI, as per:
--SNIP SNIP--
$ ./php -v
PHP 5.0.0 (cgi) (built: Aug 3 2004 21:18:23) (DEBUG)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v2.0.0, Copyright (c) 1998-2004 Zend Technologies
--SNIP SNIP--
I'm using (for the time being) the default php.ini-dist f
* Thus wrote ARico:
>Using Variable Variables works fine inside functions for global
> defined variables if you declare them as global inside the function.
> Suprinsingly, it does not seem to work with superglobals. Take the
> following example:
>
> // code /
* Thus wrote Dan Phiffer:
> John W. Holmes wrote:
>
> >There's nothing in PHP that would not let POST values get through.
>
> Well, I think there are means of disabling the registration of $_POST,
> but that's not relevent to this problem.
why not?
Things that will prevent _POST from being fi
Hi all,
I have some forms on which user must enter some data. This data is
sometimes used to be inserted/updated in the database, and sometimes to
query it with a SELECT.
The scripts that do that, does not accept html code to be entered. I
think with that we have some issues solved.
My way for
One thing you can count on this list, if I say something incorrect, it will
get corrected, so stay tuned.
I had made some assumptions that perhaps I shouldn't have. I assumed that
your remote server was a typical machine running apache, php, mysql, and
lots of other stuff.
I don't believe pings
John Holmes wrote:
A one hour timeout is better controlled with the session.gc_maxlifetime
setting. This is the number of seconds after which an inactive session
file will be deleted. No session file means no session for the user. Set
this at 3600 and if the user is not active for over an hour,
okey, i had a hunch that my sollution was to easy to be the right one...
How about timing a ping sent to the server (e.g. like pinging a person
on irc), could that be possible, or is there flaws in that plan to???
Warren Vail wrote:
I could be wrong, but I don't think it measures all the time you
I could be wrong, but I don't think it measures all the time you want.
The fsockopen will measure the time it takes to resolve the dns entry, and
open the socket, but it does not measure the time it takes to get the
request to the server (you could send the request thru your socket and if
you ar
i meant time from i send the requestpacket to the server begins
processing the request, but i think that i have found a sollution now.
I've used microtime() to time how long it took to make a fsockopen() on
the webpage... schouldnt the output then be showing the result of my
problem??
Warren V
I support several PHPNuke sites and the page preparation time is measured by
taking a microtime stamp at the very beginning of the script and another
just before echoing the last couple of lines at the bottom of the page and
producing something like the following on the bottom of the page;
Page Ge
Hey,
> Just change the echo to an fwrite.
>
> for($j = 0; $j < 100; ++$j) {
> if($pics[$i * 100 + $j]) {
>fwrite($handle, '');
> }
> }
Works like a charm, thanks a million.
-Mag
=
--
- The faulty interface lies between the chair and the keyboard.
- Creativity is great, but plagi
M. Sokolewicz wrote:
Tobias grønlund wrote:
Im trying to find a way of getting the responsetime from a remote
webserver before it actually starts sending some output for your
browser to read. Any ideas??
try timing the fsockopen() or (whatever you use) call. :) That'll give
you a reasonable esti
On Wed, 4 Aug 2004 15:40:03 -0700 (PDT), PHP Gen <[EMAIL PROTECTED]> wrote:
>
> --- Justin Patrin <[EMAIL PROTECTED]> wrote:
>
> > > 4: put 100 tags to call 100 images per page
> > > (confused here)
> >
> > I put some code inline below. Should work. If you
> > want a thumbnail
> > gallery, you c
Tobias grønlund wrote:
Im trying to find a way of getting the responsetime from a remote
webserver before it actually starts sending some output for your browser
to read. Any ideas??
try timing the fsockopen() or (whatever you use) call. :) That'll give
you a reasonable estimate.
- Tul
--
PHP G
On Wed, 04 Aug 2004 17:39:51 -0500, Jeff Oien <[EMAIL PROTECTED]> wrote:
>
>
> Justin Patrin wrote:
> > On Wed, 04 Aug 2004 16:01:31 -0500, Jeff Oien <[EMAIL PROTECTED]> wrote:
> >
> >>I'm using the code below to post form data to an ASP script. But I need
> >>to redirect to a "thank you" page wh
Im trying to find a way of getting the responsetime from a remote
webserver before it actually starts sending some output for your browser
to read. Any ideas??
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- Justin Patrin <[EMAIL PROTECTED]> wrote:
> > 4: put 100 tags to call 100 images per page
> > (confused here)
>
> I put some code inline below. Should work. If you
> want a thumbnail
> gallery, you could also create thumbnails using the
> GD functions in
> PHP, same them, and create an img
Justin Patrin wrote:
On Wed, 04 Aug 2004 16:01:31 -0500, Jeff Oien <[EMAIL PROTECTED]> wrote:
I'm using the code below to post form data to an ASP script. But I need
to redirect to a "thank you" page when it all done or the person filling
out the form sees what they're not supposed to see. Any way
am new to PHP and I am having a problem removing a password restriction
from a simple Text Updater script (below). I have a bunch of files that need
to be protected and I am planning to use .htaccess, but this script calls
for the password to be input before allowing the update (redundant for my
Josh Acecool M wrote:
>>> var $The_Template_Sys;
>>>
>>>$this -> The_Template_Sys = file_get_contents("$The_Template_File");
>>>
>>>$this -> Sub_Template = TRUE;
Any ideas?
I have an idea I said in a previous email!
you say you're getting a parse error. How could anyone possibly help you
troublesh
On Wed, 4 Aug 2004 15:06:45 -0700 (PDT), PHP Gen <[EMAIL PROTECTED]> wrote:
> Hi,
> I have 13 folders with a few thousand images each, now
> the client wants me to export the "gallerys" to
> another server that does not run phpso he wants
> plain .htm files.
>
> Below is how far I have come to
Scott Fletcher wrote:
I think I'm looking at it the wrong way. Both of them are not related to
the 1 hour session timeout that I set up with I think there is no such
feature and that I would have to write a custom PHP script to manage that.
Am I right??
A one hour timeout is better controlled
On Wed, 4 Aug 2004 17:02:30 -0500 (CDT), Bing Du <[EMAIL PROTECTED]> wrote:
> Ok, now I'm confused and cannot understand the result of the following
> code snippet. After click the link that I want to redirect, the URL in
> the Address box of the browser changed from http to https fine (that's
> w
On Wed, 04 Aug 2004 23:55:12 +0200, Jay <[EMAIL PROTECTED]> wrote:
> Justin Patrin wrote:
> > On Wed, 04 Aug 2004 19:02:41 +0200, Jay <[EMAIL PROTECTED]> wrote:
> >
> >>Jay Blanchard wrote:
> >>
> >>>[snip]
> >>>Is there any class, functions etc that will convert old HTML to XHTML.
> >>>
> >>>I wan
Hi,
I have 13 folders with a few thousand images each, now
the client wants me to export the "gallerys" to
another server that does not run phpso he wants
plain .htm files.
Below is how far I have come to "porting" this... the
idea being: generate .html files then simply copy the
images folder
Ok, now I'm confused and cannot understand the result of the following
code snippet. After click the link that I want to redirect, the URL in
the Address box of the browser changed from http to https fine (that's
what I expected). But 'hello my friend' was also displayed. How come?
On Wed, 4 Aug 2004 16:47:45 -0500, AJL <[EMAIL PROTECTED]> wrote:
> I'm not sure if it is Apache or not. In fact, I wonder that it might
> be. However, I do not have any clue as to what it could be.
>
> We have 1 apache server running. It currently has php4.1.1 built as
> apache module. Code w
Justin Patrin wrote:
On Wed, 04 Aug 2004 19:02:41 +0200, Jay <[EMAIL PROTECTED]> wrote:
Jay Blanchard wrote:
[snip]
Is there any class, functions etc that will convert old HTML to XHTML.
I want to send in some HTML text and get XHTML back.
e.g: the following would be converted:
in="hello"
out="hell
Justin Patrin wrote:
On Wed, 04 Aug 2004 23:15:03 +0200, ARico <[EMAIL PROTECTED]> wrote:
Using Variable Variables works fine inside functions for global
defined variables if you declare them as global inside the function.
Suprinsingly, it does not seem to work with superglobals. Take the
fol
I'm not sure if it is Apache or not. In fact, I wonder that it might
be. However, I do not have any clue as to what it could be.
We have 1 apache server running. It currently has php4.1.1 built as
apache module. Code works fine for this build. In addition, I have
php4.3.8 and php5.0.0 built a
yeah, Dan's code fails as well. here's my code:
---START SNIP SNIP---
');
print_r($_POST);
print('GET');
print_r($_GET);
print('REQUEST');
print_r($_REQUEST);
print('');
?>
POST FORM
field one:
field two:
GET FORM
field one:
field two:
---END SNIP SNIP---
--
Andy
On Wed,
On Wed, 04 Aug 2004 23:15:03 +0200, ARico <[EMAIL PROTECTED]> wrote:
> Using Variable Variables works fine inside functions for global
> defined variables if you declare them as global inside the function.
> Suprinsingly, it does not seem to work with superglobals. Take the
> following example:
Thanks, everyone. I appreciate this very much.
Cheers,
Michael
"Michael T. Peterson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Evidently the strtotime() function will not convert an SQL datetime to a
> timestamp. Am I missing something? Here's an example of what I mean:
>
>
Using Variable Variables works fine inside functions for global
defined variables if you declare them as global inside the function.
Suprinsingly, it does not seem to work with superglobals. Take the
following example:
// code
$va
On Wed, 04 Aug 2004 16:01:31 -0500, Jeff Oien <[EMAIL PROTECTED]> wrote:
> I'm using the code below to post form data to an ASP script. But I need
> to redirect to a "thank you" page when it all done or the person filling
> out the form sees what they're not supposed to see. Any way I can do
> this
I'm using the code below to post form data to an ASP script. But I need
to redirect to a "thank you" page when it all done or the person filling
out the form sees what they're not supposed to see. Any way I can do
this? If take out the last line and print a header(URL) it won't post
the data. T
On Wed, 4 Aug 2004 13:20:00 -0400, John W. Holmes
<[EMAIL PROTECTED]> wrote:
> From: "Dan Phiffer" <[EMAIL PROTECTED]>
> > Jason Davidson wrote:
> >
> > > How about
> > > print_r($_REQUEST);
> >
> > That also fails to reflect posted data. $_GET is working as expected.
>
> There's nothing in PHP th
On Wed, 04 Aug 2004 19:02:41 +0200, Jay <[EMAIL PROTECTED]> wrote:
> Jay Blanchard wrote:
> > [snip]
> > Is there any class, functions etc that will convert old HTML to XHTML.
> >
> > I want to send in some HTML text and get XHTML back.
> >
> > e.g: the following would be converted:
> > in=" > size
Hello,
I'm having the weirdest problem. I'm trying to install PHP as a CGI program using
SuExec and FastCGI but I keep on getting a "Premature end of script headers: php"
error in my Apache error_log. I got it working when I set up PHP to run as a CGI
program when there's no virtual hosts,
I am hosting a few sites on PHPNuke and have modified PHPNuke to use the
HTMLArea JavaScript addon to allow textareas to be edited in wysiwyg
fashion, without having to deal with HTML. Initial reaction seems to be
very favorable, especially the htmlarea version with the image manager
plugin.
http
http://www.interaktonline.com/products/KTML/
> -Original Message-
> Hi all,
>
> I could use some advice/pointers on a sold method for achieving this
> feature on a site I am building. One of the features is an event
> calendar. The events are listed by date, not in a calendar view, but a
I have just succesfully installed PHP and need one script @ work. No idea
how to do that and I have to have it about in two weeks. :) So please help!
Anyways I want to parse some words from log file and then output the line
wich contains this words. Simple script I think.
Log file format:
Mon Aug
Hi all,
I could use some advice/pointers on a sold method for achieving this
feature on a site I am building. One of the features is an event
calendar. The events are listed by date, not in a calendar view, but a
list with a short description of the event. This part is no problem.
What I am not
you could loop thru the array, and using a nested loop, test each value
against all other values.. and keep ones that match in a new array.
But as mentioned, SQL would be easier.
Jason
Curt Zirzow <[EMAIL PROTECTED]> wrote:
>
> * Thus wrote Adam Williams:
> > for example if I have an array:
>
* Thus wrote Adam Williams:
> for example if I have an array:
>
> array( [0] => 'dog', [1] => 'cat', [2] => 'rabbit', [3] => 'cat')
>
> how do I make it just have array ( [0] => 'cat' )? i want to drop the
> non-duplicates and trim the array to only have one of the duplicates?
If you're pullin
$animals = array('dog', 'cat', 'rabbit', 'cat');
$duplicates = array_count_values($animals);
foreach($duplicates as $key => $value)
if($value > 1)
$new_array[] = $key;
print_r($new_array);
afan
At 02:20 PM 8/4/2004, Adam Williams wrote:
array_unique() removes duplicate valu
I think I'm looking at it the wrong way. Both of them are not related to
the 1 hour session timeout that I set up with I think there is no such
feature and that I would have to write a custom PHP script to manage that.
Am I right??
FletchSOD
"Scott Fletcher" <[EMAIL PROTECTED]> wrote in mes
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] => '
On Wed, 04 Aug 2004 08:14:55 -0700, Jon Bertsch <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> I have found a problem using the str_replace() function in PHP5. Over this
> past weekend we switched our production server to php5.0.0 running on
> apache 1.3.31 on SUSE9.1. Our development environment is
On Wed, 4 Aug 2004 09:04:33 -0500, Andy Baldwin <[EMAIL PROTECTED]> wrote:
> Would someone be willing to suggest a solution to a coding problem?
>
> After the following code (downloads a text file from the host server to
> my PC), how can I redirect the script to another one?
>
>$user_age
Run that again about php.ini configuration on the session expiration. I
looked up at http://www.php.net/manual/en/ref.session.php and it said
--snip--
session.cache_limiter specifies cache control method to use for session
pages (none/nocache/private/private_no_expire/public). Defaults to nocache
Any ideas?
"John Holmes" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Josh Acecool M wrote:
> > var $The_Template_Sys;
> >
> > $this -> The_Template_Sys = file_get_contents("$The_Template_File");
> >
> > $this -> Sub_Template = TRUE;
>
> Please respond to the list and not me per
John W. Holmes wrote:
There's nothing in PHP that would not let POST values get through.
Well, I think there are means of disabling the registration of $_POST,
but that's not relevent to this problem.
Are you
sure this isn't a web server issue only allowing GET requests to pages that
it serves?
I
From: "Dan Phiffer" <[EMAIL PROTECTED]>
> Jason Davidson wrote:
>
> > How about
> > print_r($_REQUEST);
>
> That also fails to reflect posted data. $_GET is working as expected.
There's nothing in PHP that would not let POST values get through. Are you
sure this isn't a web server issue only allow
Jason Davidson wrote:
How about
print_r($_REQUEST);
That also fails to reflect posted data. $_GET is working as expected.
-Dan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Jay Blanchard wrote:
[snip]
Is there any class, functions etc that will convert old HTML to XHTML.
I want to send in some HTML text and get XHTML back.
e.g: the following would be converted:
in="hello"
out="hello"
[/snip]
Have you searched phpclasses.org? Google?
Yes i have searched but couldn´t
Assuming the snippet is correct, your function is not spelled correctly.
You should be using mysql_field_name() or mssql_field_name() (MySQL or MS
SQL respectively).
Jon Bertsch
[snip]
When I write: echo "".msql_field_name($result). "";
I get the error message:
Fatal error: Call to undefined func
* Thus wrote Adam Williams:
> ...
>
> And now my question. What I need to do is create a single
> dimensional array that contains each number that
> count(array_unique($value)) is counting. how would I do this? I can't
> use the SQL query because I have to remove duplicate cardnums for each
Jason,
Thanks for looking.
Very perplexing (to me at least).
Jon Bertsch
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Wednesday 04 August 2004 11:50, [EMAIL PROTECTED] offered
up the following tid-bit of information :
> I'm trying to create a links page, and I wanna filter by category.
> Anyhoo,
> What I need to do, is have one block of code that I repeat ad neaseum,
> based on each category, so if I adda new
* Thus wrote Mark:
> I use MySQL: C:\mysql\bin>mysqladmin version status proc
> C:\MYSQL\BIN\MYSQLA~1.EXE Ver 8.40 Distrib 4.0.20a, for Win95/Win98 on i32
> Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB
> This software comes with ABSOLUTELY NO WARRANTY. This is free software,
* Thus wrote [EMAIL PROTECTED]:
> I'm trying to create a links page, and I wanna filter by category.
> Anyhoo,
> What I need to do, is have one block of code that I repeat ad neaseum, based on each
> category, so if I adda new category, I don't need to add new code...
>
> All good so far.
> So
* Thus wrote Jon Bertsch:
> ...
>
> $html_output_1 .= $html_string[0];
>
> $output = str_replace("@@FISCAL_YEAR@@", $this_year, $html_output_1 );
>
> (I call it three times to do the replacements in the string).
>
> ...
>
> On our development box this little application runs fine. In productio
I'm trying to create a links page, and I wanna filter by category.
Anyhoo,
What I need to do, is have one block of code that I repeat ad neaseum, based on each
category, so if I adda new category, I don't need to add new code...
All good so far.
So I have a variable $show_links but I wanna chan
I use MySQL: C:\mysql\bin>mysqladmin version status proc
C:\MYSQL\BIN\MYSQLA~1.EXE Ver 8.40 Distrib 4.0.20a, for Win95/Win98 on i32
Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to mod
My mistake on $this_year.
Jon Bertsch <[EMAIL PROTECTED]> wrote:
>
>
> Jason,
>
> This code is not using any OO the variable is $this_year not $this->year.
>
> Running it under php5 on my dev box the string replace function works and
> replaces the text as expected.
>
> Jon Bertsch
>
>
On Wednesday 04 August 2004 11:53, Hull, Douglas D offered up the following
tid-bit of information :
> Really stupid question. I set up apache, mysql, phpadmin etc., and
> started personal web sharing of course on my mac and created a couple of
> databases. My question is on my hard-drive, where
Jason,
This code is not using any OO the variable is $this_year not $this->year.
Running it under php5 on my dev box the string replace function works and
replaces the text as expected.
Jon Bertsch
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.
Really stupid question. I set up apache, mysql, phpadmin etc., and started personal
web sharing of course on my mac and created a couple of databases. My question is on
my hard-drive, where and/or what file holds my databases?
Thanks for any help,
Doug
--
PHP General Mailing List (http://www.
Yup, i understand not in php 5, there was some large OO changes in php
5, which is why i asked about $this->year. Ive been using php 5 for the
last year, and havent had a problem with str_replace, and have used it a
fair amount for loading email templates.
So when you look at the source, the @@F
Jason wrote:
>is it possbile $this->year isnt what you expect?
If I hard code the value it makes no difference and it works fine
in php4.3.x and in dev just not on php5 with some load on the server. It
was tested on the same server before moving to live production and it
worked then as well.
How about
print_r($_REQUEST);
Dan Phiffer <[EMAIL PROTECTED]> wrote:
>
> Craig Donnelly wrote:
> > Show the code you are using...
>
> I'm having the same problem. Here is a test script that prints Array()
> regardless of what you enter and submit with the form:
>
> -- test.php --
>
>
>
>
is it possbile $this->year isnt what you expect?
Jason
Jon Bertsch <[EMAIL PROTECTED]> wrote:
>
>
> Hi all,
>
> I have found a problem using the str_replace() function in PHP5. Over this
> past weekend we switched our production server to php5.0.0 running on
> apache 1.3.31 on SUSE9.1. Our
Hi all,
I have found a problem using the str_replace() function in PHP5. Over this
past weekend we switched our production server to php5.0.0 running on
apache 1.3.31 on SUSE9.1. Our development environment is identical. I have
an application that runs a series of str_replace calls to drop in so
Craig Donnelly wrote:
Show the code you are using...
I'm having the same problem. Here is a test script that prints Array()
regardless of what you enter and submit with the form:
-- test.php --
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.
On Wednesday 04 August 2004 09:45, M offered up the following tid-bit of
information :
> How can I get a user's IP who is behind a proxy?
Ask them for it? ;)
Seriously, there is no sure fire method to do this. Of course, 9 times out
of 10 the IP of the system behind the proxy will be of no use
Your'e right. the $_SERVER["HTTP_X_FORWARDED_FOR"] should work in this case.
Nicke
-Original Message-
From: Ivan Kovalenko [mailto:[EMAIL PROTECTED]
Sent: den 4 augusti 2004 16:36
To: [EMAIL PROTECTED]
Subject: RE: [PHP] User IP
Nicklas Bondesson wrote:
Actually, there's way to determ
1 - 100 of 135 matches
Mail list logo