Your problem probably is including the miec.php from the .shtml
document. Does the .shtml document send any output to the browser before
including your .php script? If so, you're not going to be able to send
any cookies from the .php script. Once any standard output makes it to
the browser (inc
try not setting the domain.
~Chris /"\
\ / September 11, 2001
X We Are All New Yorkers
/ \ rm -rf /bin/laden
On Tue, 13 Nov 2
I just ran your code as you pasted earlier, and set up a mysql database
with the table defined below ... and it inserted 223,110 passcodes into
the table.
PHP 4.0.99-3 (Identifies itself as 4.1.0RC1)
MySQL 3.23.43-3
~Chris /"\
On Fri, 16 Nov 2001, Jeff Lewis wrote:
> What I need to do, however, is append a variable portion to a constant prefix. So I
>have a set of variables that are named $MYdog, $MYcat etc. and I need to do
>
> $a = "dog"
> ${"MY$a"} being the same as $MYdog
>
> Can this be done, and if so - how? I
"//","$$1",$curline);
>
> So for the current line I am looking for something like I
> want to replace that with the contents of $copyright.
>
> Can variable variables be used in regular expressions?
>
> Jeff
> - Original Message -
> From: "
On Sat, 17 Nov 2001, Mitja Pagon wrote:
> I want to know if there is a way to include(require) a file using a path
> relative to web server root.
I think you'll find the $DOCUMENT_ROOT environment variable handy :)
~Chris /"\
I _hate_ echo'n out big batches of HTML, so I never do it. I prefer to
include HTML, or have a class or function write HTML. However, printing
in heredoc style is very handy ... more so than sliced bread.
For example:
The bear is ${name}.
EOF;
print( date() );
?>
PHP code, fo
On Sun, 25 Nov 2001, Rudi Ahlers wrote:
> Can anyone explain classes to me please? On many sites have I seen classes,
There are people earning PHD's while explaining classes. I know your
question originates from using PHP, and this is a PHP general mailing list
... but your question is just a ta
On Sun, 25 Nov 2001, Miles Thompson wrote:
> Not such a useless explanation at all, in fact a damned good one. Tight &
> concise, and you immediately related the functions to code examples, along
> with an easy-to-visualize object, the chair.
Sweet ... I'm glad you found it useful! TY
> 1. Why
On Mon, 26 Nov 2001, Greg Sidelinger wrote:
> Can someone tell me how to store a class in a session var. I want to
There are several things you need to do.
1) include the class definition before you do anything
2) start the session shortly thereafter
3) register a session variable
4) create y
I think an animal mascot is a beat idea.
Needlenose pliers. Enough said! ;)
~Chris /"\
\ / September 11, 2001
X We Are All New Yorkers
Greetings:
I have a field entry in a MYQSL table that stores the date as:
August 02, 2001 :(
Is there anyway to convert this to 08-02-2001 outside of the table via php?
Better yet is there ayway I can go back into my table and change these dates
into a better format for computation?
--
P
Thanks to all for the replies, I am looking into many options. One of which
is traveling back in time and creating the table correctly
;p
-ccma
- Original Message -
From: Robert V. Zwink <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; Christopher CM Allen <[EMAIL P
all you need is a unvisible iframe ( ... ) and give it a name.
then, you do a framename.write('data') with data in this format:
followed by a formname.submit();
that's about all it is.
k/r
chrissl
ICQ#54897804
> I want to pass a large (easily 1500-2500 characters) variable between a
ot;exit" you can also use "die"
2) the simplest of searches on www.php.net would have told you that
http://www.php.net/manual/en/function.exit.php
http://www.php.net/manual/en/function.die.php
http://www.php.net/manual/en/ <---SmartThing[tm]
Christopher
--
PHP General Ma
"Nafiseh Saberi" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> hi.
>
> what is cookie??
>
> thanks much.
what the... oh its you again.
I am too tired to give you the complete setup. Here is the short term
explanation. Read the links below for more info.
"Nafiseh Saberi" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> hi.
> what is the difference between $var and '$var' ?/
> thanks.
'$var' has little marks like this --> ' <--- around it
call it a "border" useful when adding such item to a sql query or pri
>
> In order to transfer out (USD 126 M) One hundred and
> twenty six million United States Dollars) from African
> Development Bank
>your private telephone and fax
> number including the full details of the account to be
> used for the deposit.
lol sheesh!
--
PHP General Mailing List (http:
Greetings Php'ers:
<2 cents>
bahh to servelts-asp these are new kids on the block. Template this or that,
it doesnt matter, most templates are for lazy peeps anyways :)
, a solid base of people have been using phtml->php for years. It doesnt
matter to me what the e-zines say about which is more ro
>
> I'm afraid that PHP is not yet very credible in that world. The truth is
> there is not great marketing force behind PHP like there is Sun behind
> Java or Microsoft behind .Net
Good point, and how does one go about marketing a language that is
open-source?
I do it by not allowing FP like ext
>
> Large corporations are like railroad steam locomotives whose era has
> ended. They may continue running for a while, but in time, many will
> disappear like the steam locomotive did.
hmm not according to Marx. ;p
Anyways,
back on topic, how to promote php and who is going to do it? Who i
Good Morning(CST USA here :))
>
> PHP is represented at every important technical conference right alongside
> Perl and Python. When you hear someone talk about scripting languages,
> they will usually say Perl, Python and PHP. I don't see any problem with
> the current state of PHP "marketing"
On Tue, 28 Aug 2001, Hugh Danaher wrote:
> I think at one time I tried using double quotes but didn't get good results.
> If you have time to answer, why the backslash and what the hell is "foo"?
Using the backslash escapes the double quote ... tells php to not use the
double quote (as it does t
> Exactly. When you do ./configure --with-foo=shared; make
> then modules/foo.so will appear magically and you can dl() that or load it
> using "extension=foo.so" in your php.ini. You don't have to recompile
This is very good news! I must have mis-rad the manual on this part!! Is
there any way
On Wed, 29 Aug 2001, Joseph Bannon wrote:
> I want to use fgets to get an image off the server and then print it. Kinda
> like if you call the script picture.php, an image will appear. How do I do
I do this, with fopen() and fpassthru() ...
$im = fopen( "myImage.jpg", "r" );
if(
On Thu, 30 Aug 2001, Joseph Bannon wrote:
> What exactly does fpassthru do? Does it download it to my server and then
> shoot it to the browser??
(http://php.net/fpassthru)
For the file pointer on which it operates, it reads the file pointer until
EOF and sends the data to STDOUT. It is very m
On Thu, 30 Aug 2001, Joseph Bannon wrote:
> The thing I want to avoid is using my server's bandwidth. Each member gets a
> profile and can have a photo referenced from their homepage. I use to allow
> people to upload photos, but I'm getting close to using my 60GB bandwith
> limit. The people tha
On Fri, 31 Aug 2001, Nic Skitt wrote:
> Warning: Cannot add header information - headers already sent by (output
> started at c:\apache\apache\htdocs\client-secure.php:11) in
> c:\apache\apache\htdocs\client-secure.php on line 18
>
> Which would indicate that the line 11 is sending output to the
Php'ers:
These are great points that have been brought up (a kinda synopsis, since we
are repeating here :)
1) some want direct marketing
2) Some believe the status quo is enough
3) all agreee php is useful as a web development tool/language
4) some agree that it can/should be more (GTK/Command
On Mon, 3 Sep 2001, Dhaval Desai wrote:
> session_encode($dhaval);
...
> when I check out the c:\tmp\ directory and check out
> the session data I can still read the same as
> dhaval=trythisout and it's not encoded...is it coz the
session_encode() returns a string for you to use in a PHP script
On Mon, 3 Sep 2001 [EMAIL PROTECTED] wrote:
> I am filling out a form , and submitting it to the next
> page which just prints what I submitted, but it doesnt print any
> returns, i used when i filled out the previous
Try using nl2br() in the output script (page).
http://php.net/nl2br
On Mon, 3 Sep 2001, Bob wrote:
> look. What I am looking for is the cool factor. I know technology needs time
> to improve but what's going to be cool in PHP5??? It's like a race that never
> finishes and who is winning? ASP or PHP?
PHP5 will still run on your Free OS, your CLI OS, your Pay
On Tue, 4 Sep 2001, Seb Frost wrote:
> I have a folder of ~80kb images that are dynamically resized using PHP into
> ~1.4kb thumbnails. Now for each one the PHP server sends an HTTP request
> for the 80kb image, and this is being counted against my 10,000MB.
>
> Should it? Am I in the right in
On Mon, 3 Sep 2001, Miguel wrote:
> I need to refer these fields like vector in PHP and Javascript mode.
> When I write then I can see values
> in PHP sccript, BUT can't see values in javascript mode, thats to say
> document.form.myfield[index].value doesnt work.
> On the other side, when I make
On Mon, 3 Sep 2001, Michelle Marcicki wrote:
> website. It is using PHP3 and MySQL. We had to move it to a new server, that
> as it turns out only supports PHP4. I have been looking through all the FAQs,
Are you running an Apache web server? If so, add this line to your
httpd.conf file and r
On Mon, 3 Sep 2001, Michelle Marcicki wrote:
> I am NOT running the server. I am using a local ISP (excellent guy but not
> really accessible on this long weekend), so I have no control over what the
OOOH ... Nasty! If the admin can't add the .php3 extension for you, then
you'll be stuck renami
On Tue, 4 Sep 2001, sagar wrote:
> I have a remote server running my website. I've to make the backup of the mysql db
> i'm using. i can use mysqldump for this. but i'm not sure where the file will be
>created
> on the server and also i want to make that file to .zip and then download it to my
On Tue, 4 Sep 2001, Jason Murray wrote:
> Nah, in Illegal Monopoly OS, its just as easy as Apache.
Rather than the web server config, I was referring to renaming all the
.php3 files to have .php extensions, and combing through all the files,
finding all references to .php3 files, and changing th
On Tue, 4 Sep 2001, Jason Murray wrote:
> But then, the right tools make the job easy regardless of
> platform.
For sure! I don't bother with all that clicking ... now you [Unix folk]
don't have to either :)
#!/bin/sh
for PHP3FILE in `find . -type f -name "*.php3" -print`
do
PHP4FILE=`e
On Tue, 4 Sep 2001, Boaz Yahav wrote:
> I'm currently using PHP 4 on Solaris on a front end server with MySQL on
> Solaris as a db server.
...
> I want to work with MSSQL Server 2000 instead of MySQL, does anyone have
> experience with working with such
> a combination? PHP4 on Solaris as front an
On Wed, 5 Sep 2001, nyon wrote:
> I got an error "Maximum execution time of 30 seconds exceeded in C:\... on line 224"
>while
> accessing a PHP page tie to a Mysql database.
>
> 3. How to I set it to 60 seconds ?
This is the default PHP configuration.
In your php.ini file, look for this line:
On Wed, 5 Sep 2001, Johan Vikerskog (EMP) wrote:
> My php script is generating a file that is saved in Unix format.
> I automatically get the "^M" in the end of everyline. Is there a way
> of saving this without getting the "^M" in the end of each line?
The ^M you see is a DOS carriage return/li
Hello,
With all the news of HP and Compaq I was wondering if php works and works well on
Tru64 systems? I believe it does from a bug report I saw concerning StrongHold but
does anyone have any pros or cons?
Thanks,
--ccma
> >
> >
> > has anybody written any routines or functions they'd care to share for
> > parsing the tracking information out of UPS, FEDEX, or other shipping
> > carriers tracking pages?
> >
/*
Begin FEDX GROUND
*/
$fp = fopen
("http://grd.fedex.com/cgi-bin/rrr2010.exefunc
> for an example I send the variable $user='user 1', and in the url there
> appears user=user+1 (which I think is correct) but when I read the
variable
> in the php page it displays user+1 (doesn´t it has to return to user
'1'?).
urlencodes counterpart is "urldecode"
you need to decode each varia
> > Is there any way for a function to determine the name of the calling
> > function?
This would be very useful!! Great Idea!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list ad
B-,
I get 4-5 new ip's daily on each of my machines. It's ridiculous and I have
given up trying ot notify each of these machines that they have a problem.
-ccma
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
>>Well, exactly not! Just look at the track record of "believe". May I
>>remind you of the "great" deeds in the name of god (which god doesn't
>>matter).
Let me remind you of the deeds not done in Gods name -> Hitler Deed's &
Stalin Deed's.
Enough said... take it off the list.
--
PHP Genera
On Tue, 11 Sep 2001, Ryan Stephens wrote:
> Im trying to output a list of options, each with a checkbox named "ChkBox"
...
Name each checkbox "ChkBox[]" ... the brackets are the key.
When the form is submitted, you'll have an array called $ChkBox that will
contain the data only from the checked
Greetings:
Looking for a way to say *.php in this code:
if ($file != ".htaccess" && $file != "." && $file != ".."&& $file != ANY PHP FILE)
I have tried *.php...
Any Ideas?
Thanks
CCMA
Thanks Much Martin!
--ccma
> --snip--
>
> good luck!
>
> /Martin
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
--
P
On Sun, 16 Sep 2001, Luboslav Gabal ml. wrote:
> I have script for getting header of article from NNTP server using sockets:
> output have look so:
> From: "Antonin Mohaupt" <[EMAIL PROTECTED]>
> but it is only
> From: "Antonin Mohaupt"
> What's the problem ? I tried higher raise length of da
@todd; Micah - Precisely why I presented the question anew. Not only do I not
have enough time to troll through the archives; I was looking for a fresher set
of responses based on today's smorgasbord. Thank you for your input; I have
looked at both YII and CI and they look promising. I love the
Unfortunately, you are correct. This is the only way to do it at the moment.
tagName/nodeName are readonly in the DOM and are set when created. I know
this is possible in the .NET world and I am still beside myself as to which
is the better way.
-Original Message-
From: Michael A. Peters
Not to mention if this is written for v 5 then you need to wrap your joins
in ()
-Original Message-
From: Jan G.B. [mailto:ro0ot.w...@googlemail.com]
Sent: Sunday, March 15, 2009 9:47 AM
To: PJ
Cc: Daniel Brown; php-general@lists.php.net
Subject: Re: [PHP] left join does not work, why?
2
The following comment is not intended to be helpful
*smacks head on desk repeatedly...*
This comment is..
I would hazard to say that if you are unwilling or unable to grasp OOP, MVCs
and any decent framework that is necessary then maybe stepping back and
tackling only things you can grasp.
Original message:
I suggest you put in a support ticket with GoDaddy. The URL's are not
genuine and beyond that I would hazard a guess that possibly your site login
has been compromised. Again, contact GoDaddy or whomever your hosting
provider is. (You said you domain is with GD but you didn't s
IP lookups are like Marxism, great idea in theory, terrible in reality. IP's
can be spoofed. The best recommendation I can think of would be to add some
word filters to your (I'm assuming javascript) form validation script. Even
here caution needs to be used, i.e don't filter Moscow because there i
This is why I am pushing for legislation to make this a licensed profession.
-Original Message-
From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk]
Sent: Friday, March 20, 2009 9:18 PM
To: Shawn McKenzie
Cc: php-general@lists.php.net
Subject: Re: [PHP] Re: So called "PHP Expert"
On
My personal take on this goes something like this:
I'm not a huge fan of re-inventing the wheel. However, it seems that since
the first stable release of PHP 5 into the wild a much needed emphasis has
been placed on OOP solutions within the PHP world. Don't read me wrong, I
know the importance was
I is a hi skool gradjuate
-Original Message-
From: abdulazeez alugo [mailto:defati...@hotmail.com]
Sent: Sunday, March 29, 2009 7:10 PM
To: gp...@thenetnow.com; php-general@lists.php.net
Subject: RE: [PHP] Security Support
> From: gp...@thenetnow.com
> To: php-general@lists.php.net
I recommend switching to Hostgator for your ded and ask them for their
custom modsec. I'm not affiliated with them except that I am a customer and
have been for 6 years. I do bring this up because you stated that they "do
not know" which if true tells me that do not know how to do even the
smallest
-Original Message-
From: Bob McConnell [mailto:r...@cbord.com]
Sent: Monday, April 20, 2009 9:59 AM
To: Marc Christopher Hall; php-general@lists.php.net
Subject: RE: [PHP] 800 pound gorilla
From: Marc Christopher Hall
>
> Sun buys MySQL and now Oracle buys Sun (not final, yet)
Sun buys MySQL and now Oracle buys Sun (not final, yet). What will happen
with the main db we PHP'ers have come to know and love especially since v 5
-Original Message-
From: paras...@gmail.com [mailto:paras...@gmail.com] On Behalf Of Daniel
Brown
Sent: Monday, April 20, 2009 9:52 AM
To: Marc Christopher Hall
Cc: php-general@lists.php.net
Subject: Re: [PHP] 800 pound gorilla
On Mon, Apr 20, 2009 at 09:48, Marc Christopher Hall
wrote
My suggestion is to use the Find and Replace feature of your code editing
software. Sorry to disagree with Mr. Hayes, however, if you do as he says
and replace as you go you will be creating errors as these variables,
functions, etc will most likely be CaSe SenSItiVe. Change one then you need
to ch
I would like to add that last time I checked, this is the PHP Mailing List
and not CSS or anything else. Can we please get back to regular PHP banter?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
__ Information from ESET
and so I don't feel like a complete ass
http://jeffhowden.com/code/css/forms/
__ Information from ESET Smart Security, version of virus signature
database 4084 (20090518) __
The message was checked by ESET Smart Security.
http://www.eset.com
--
PHP General Mailing List (
First time I've ever seen LAMP described as a language...
__ Information from ESET Smart Security, version of virus signature
database 4234 (20090711) __
The message was checked by ESET Smart Security.
http://www.eset.com
--
PHP General Mailing List (http://www.php.net/)
-Original Message-
From: Floyd Resler [mailto:fres...@adex-intl.com]
Sent: Monday, July 13, 2009 5:41 PM
To: c...@hosting4days.com
Cc: php-general@lists.php.net
Subject: Re: [PHP] mod primary key field - newbie question
Sounds like you want to set the auto increment. To do that, use th
-Original Message-
From: cr.vege...@gmail.com [mailto:cr.vege...@gmail.com]
Sent: Saturday, October 17, 2009 8:20 AM
To: Tommy Pham; general php
Subject: Re: [PHP] all local sites stopped working ... [SOLVED]
- Original Message -
From: "Tommy Pham"
To: "general php"
Sent: Sat
Hi everyone,
I am having a hard time with a numerical problem.
I need to round some numbers up and I've tried $round($number) and it
doesn't work so I'm misunderstanding something.
For example, if a user inputs 685000 I need it to round up to 69 or if
they input 149560 I need it to
class Base {
static function f() {
self::g();
}
static function g() {
print("Base\n");
}
}
class Derived extends Base {
static function g() {
print("Derived\n");
}
}
Derived::f();
I want that to print
You can do this in Python:
def myFunc(arg1, arg2, arg):
#do something
myList = [1, "arg", 5]
myFunc(*myList) # calls myFunc(1, "arg", 2)
Can that be done in PHP, and if so, how?
Thanks for the help.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.ne
Richard Lynch wrote:
> On Wed, May 11, 2005 12:13 pm, Christopher J. Bottaro said:
>> You can do this in Python:
>>
>>
>> def myFunc(arg1, arg2, arg):
>> #do something
>>
>> myList = [1, "arg", 5]
>> myFunc(*myList) # calls myFunc(1
Is there such a thing? You know, with single stepping, breakpoints,
examining vars, etc. 100% of my PHP stuff is CLI (wacky, huh?) and I'd
really benefit from a traditional debugger. Oh btw, I'm looking for a
free/opensource one.
Thanks!
P.S. Yes, I've searched Google and www.php.net/manual,
Maybe I'm using "reentrant" incorrectly, but here is what I mean...
class Test {
function __get($nm) {
if ($nm == 'x')
return $this->func();
elseif ($nm == 'y')
return 'y';
elseif ($nm == 'xx')
return 'x';
}
function func() {
return $
Jochem Maas wrote:
> Christopher J. Bottaro wrote:
>> Maybe I'm using "reentrant" incorrectly, but here is what I mean...
>>
>> class Test {
>>function __get($nm) {
>> if ($nm == 'x')
>> return $
Marek Kilimajer wrote:
> Christopher J. Bottaro wrote:
>> Jochem Maas wrote:
>>
>>
>>>Christopher J. Bottaro wrote:
>>>
>>>>Maybe I'm using "reentrant" incorrectly, but here is what I mean...
>>>>
>>>>
I'm following the PEAR docs to use Mail/SMTP. Below is the code I use,
swiped directly from the docs--I've changed the authorization data to
protect privacy, but otherwise it's identical (and email sent from a client
on this same machine using the same settings works fine). I'm running PHP
4.3.6 I
What is the best way to produce a report listing the fieldname and then the
data in that field. It is a report containing only one row from a table, but
I don't want to hard code the fields since they change often.
I can get the field names dynamically like this:
$fields = mysql_list_fields("Netw
If I want to use PEAR DB to handle my database connections, how do I
retrieve the recordID (primary key) added when I run an INSERT query?
mysql_insert_id($db_object) doesn't seem to work if the object is PEAR, and
the PEAR docs don't seem to show the same function.
Tx, --CJ
--
PHP General Mail
On 26. Sep 2007, at 13:19, mike wrote:
i've downloaded PEAR packages before and used them manually.
all PEAR is is PHP object code modules in a central place. nothing
special, really.
you just have to tweak some script paths and you can use
include/require on the files like normal.
That's w
On 26. Sep 2007, at 15:26, Nathan Nobbe wrote:
i just read the first message in this thread and NuSoap immediately
came to
mind. though it will solve your problem you may end up like me,
hating to use
NuSoap under duress. i think it was really popular back in th php4
days when there
was n
On 26. Sep 2007, at 16:14, mike wrote:
On 9/25/07, Nathan Nobbe <[EMAIL PROTECTED]> wrote:
i try to stay away from it if i can.
i think the same of SOAP. in my opinion a shower is the only place
for soap.
Well put. :-D
I, too, fail to see what's so terribly special about it.
--
PHP Gene
On 26. Sep 2007, at 16:45, Nathan Nobbe wrote:
i hate to suggest it, but you might want to take a little time and
investigate what other restrictions you host has. if the list is
long you may want to consider a
move. it may seem arduous now, but the longer you wait the more
arduous it will
Your biggest problem will be if you accept any kind of user input
which could be in any kind of language.
Depending on your server configuration you'll probably have some
serious cleaning and filtering to do.
I often have to employ this line for example:
foreach (array_keys($_POST) as $key) $c
On 23. Oct 2007, at 19:55, Martin Marques wrote:
Wouldn't it be easier to upgrade to CentOS 5?
We tried to explain that to our host, but their service *major
expletive*, and other hosts in Tokyo ain't better either. :-(
Chrs,
Dav
--
PHP General Mailing List (http://www.php.net/)
To unsub
On 23. Oct 2007, at 20:33, Colin Guthrie wrote:
If you compile PHP and it finds v3 of mysql that means that you must
have the old development libraries for mysql 3 installed in some
capacity (I believe).
What is the output of:
rpm -qa --nosignature --nodigest | grep -i mysql
This should give
On 23. Oct 2007, at 21:07, Colin Guthrie wrote:
No, I reckon Jul 5th could be about right when was .45 released? I
had it in my head it was august but Jul doesn't seem too far before
that
so entirely possible.
Ah sorry, I was thinking about source installs. RPMs keep the
original cre
Hi,
I'm trying to set up my PHP app at my host, but am stumbling over the
PHP configuration there. register_globals is enabled, which seems to
auto-serialize my objects into $_SESSION, which in some cases
overwrites variables in there. I'm not sure if register_globals is
where the auto-se
On 31 Oct 2007, at 13:50, Larry Garfield wrote:
Try:
php_value register_globals Off
Same Apache misconfiguration error. Even though the host actually
requires me to enable PHP processing via an "AddHandler" .htaccess
directive, php_flag/value directives are throwing an error. Weird.
..
On 31 Oct 2007, at 15:32, Jochem Maas wrote:
aside from this error (my guess is your not allowed to override it)
I can't
see the problem of serialization .. don't put the object in $_SESSION?
...
what are you doing? show us the code?
I'm not putting the object in $_SESSION, but PHP apparen
On 31 Oct 2007, at 16:16, Jochem Maas wrote:
are you using session_register()? (dont)
also are you setting the value in $_SESSION by reference?
No and no. The only time I'm writing to $_SESSION["basket"] is by
setting $_SESSION["basket"][] = "foo", I'm never touching the actual
$_SESSION[
t;bar"
$foo = "12345";
$var = "";
function test() {
$foo = "67890";
}
test();
After execution finished $_SESSION["foo"] is now "12345", but there's
no $_SESSION["var"].
What's going on here?
On 31 Oct 2007, at
On 31 Oct 2007, at 17:23, hochprior wrote:
I got the following in my main .htaccess (and it works just fine...):
php_flag register_globals 0
Well apparently I'm not allowed to override register_globals.
Looking at the problem a little closer, it also doesn't seem like
register_globals is th
Copying half a pixel? I dare say that's where the problem is.
Chrs,
Dav
On 31 Oct 2007, at 19:34, Merlin wrote:
Hi there,
I do have a small problem with the proportions of image copy
The image is originally vertical in 100px width and 141px height.
Now I want to crop it to 80 px width and 60
What about comparing the pure HTML output of both servers _including
headers_, for example with curl?
On 3 Nov 2007, at 23:46, Erick Paquin wrote:
Hi All,
If someone has seen this before it would greatly help me.
I have done a php site at work on my windows server. The site renders
perfectl
Hi,
I want to offer visitors of my site the possibility of downloading
printable, foldable pocket guides for certain things that come out of
my database. The problem is that items will be entered into the
database very frequently, so I need to automate the process of
creating these guides
On 27 Nov 2007, at 11:51, Chris wrote:
There are a few packages you can use.
http://pear.php.net/package/File_PDF
http://www.fpdf.org/
are two I know of, I'm sure there are more.
Thanks! The built-in PDFlib functions didn't seem to appealing, but
FPDF looks pretty good. I'll certainly play
401 - 500 of 527 matches
Mail list logo