[PHP] Re: Submit Form Values To Parent

2005-12-01 Thread DvDmanDT
Like you do it if the target was the same window? PHP doesn't know which window is the target.. -- // DvDmanDT mail: dvdmandt¤telia.com msn: dvdmandt¤hotmail.com ""Shaun"" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > Hi, > > How can

[PHP] Re: How to make binary strings useful?

2005-02-02 Thread DvDmanDT
PHP files can be named whatever you want.. Just know that they are parsed on the serverside, not the client side.. Therefore, text/php would be pretty stupid to do.. And I don't know what you mean be that

[PHP] Re: How to make binary strings useful?

2005-02-02 Thread DvDmanDT
ode, you'll get something like the results of atoi() or something like that.. -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com "Jerry Miller" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > Here's the code (with the domain name removed)

[PHP] Re: How to make binary strings useful?

2005-02-02 Thread DvDmanDT
It's a pretty big difference, so there's logic for that.. You can't really compare them.. Not in my opinion anyway.. -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com "Jerry Miller" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] &

[PHP] Re: Is this a bug?!!! I cna't believe! Sorry, if im wrong...

2005-01-30 Thread DvDmanDT
[1] will be a reference to $a, which is still a reference to A.. Something like that.. I can only guess it'll work as expected ("(wsx)(wsx)") if you change =&new to =new.. -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com "News.Php.Net" <[EMAIL PROTECT

Re: [PHP] Re: Image Resolution

2005-01-26 Thread DvDmanDT
on to me, but it might be the way to go.. :p -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com "Richard Lynch" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > DvDmanDT wrote: > > Take a quick look at imagecopyresampled.. It can change the s

[PHP] Re: Image Resolution

2005-01-26 Thread DvDmanDT
, because chances are the PDF functions will resize instead of resample, and resampling gives a MUCH nicer result in most cases.. -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com "Martin Magnusson" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > Hi, &

Re: [PHP] Re: Avoiding NOTICEs on Array References

2005-01-26 Thread DvDmanDT
I'm pretty sure you can rely on the fact that they are undefined if not checked.. It's somewhere in the HTML or HTTP standard.. Also, the manual page of empty() says it won't generate errors if the variable isn't set.. So empty() is probably the best way to go then.. -- // Dv

Re: [PHP] Any idea when 4.3.11 will be released?

2005-01-16 Thread DvDmanDT
They aren't talking about it on internals.. Not much on QA neither.. So.. Don't expect a release tomorrow.. :p CVS version might be the best option if that bug is a problem..:p -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com "Gal" <[EMAIL PROTECTED]>

[PHP] Re: Comman line vs. phpinfo()

2005-01-16 Thread DvDmanDT
My guess is that something went wrong when you upgraded your PHP installation.. Maybe you didn't recompile Apache with the new PHP version or something.. -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com "Joseph E. Maxwell" <[EMAIL PROTECTED]> skrev i me

[PHP] Re: Problem with foreatch()

2005-01-16 Thread DvDmanDT
Well, it's spelled foreach, not foreatch, that's why you get the error.. -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com "Ben Edwards" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) T

[PHP] Re: How do you handle device detection?

2004-04-12 Thread DvDmanDT
But afaik that function is broken, and PHP isn't allowed to use that browscap.ini so.. Better make a list of user_agents that are devices.. -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com "Lukasz Karapuda" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL

Re: [PHP] PHP based Voice Chat Module

2004-04-07 Thread DvDmanDT
Hmm.. I'm pretty sure you can get Flash for Mac.. -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com "Pushpinder Singh" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > Thanks Raditha, > > Yes we are primarily looking at a PHP cha

Re: [PHP] PHP based Voice Chat Module

2004-04-07 Thread DvDmanDT
That's because he post to the newsgroup, Cc to the list, and the list system automaticly sends one to you personally.. :p -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com "Raditha Dissanayake" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTE

[PHP] Re: PHP Access Violation using PEAR::Mail_smtp

2004-04-06 Thread DvDmanDT
same thing work on windows Me).. Post when you find a solution, draws my intrest.. -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com "Ben Ramsey" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > I've asked about PHP Access Violation erro

Re: [PHP] Bug with multipart/form-data ?

2004-04-05 Thread DvDmanDT
Maybe the post_max_size is also exceeded, and therefore it's handled with sense I think.. Otherwise I'm not sure I think this is handled the right way, if it's only upload_max_filesize that's exceeded. -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com &quo

Re: [PHP] Re: Weird variable issue encountered... help needed!

2004-04-05 Thread DvDmanDT
Accutually, I intented ?action=post, and if($action=='post'), just forgot to add method="post".. :p -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com "Blake Schroeder" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > One pro

[PHP] Re: Weird variable issue encountered... help needed!

2004-04-05 Thread DvDmanDT
some other details I've missed? -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > This problem only seems to be happening on one of the virtual hosts on this > system, and I cannot seem to figure ou

Re: [PHP] Re: $HTTP_SESSION_VARS still holds original values even after unset?

2004-04-04 Thread DvDmanDT
Use the session_* functions then.. -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com "Andy B" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > "Umm.. Use $_SESSION for that.." > > wish i could but it wont work for the server

[PHP] Re: $HTTP_SESSION_VARS still holds original values even after unset?

2004-04-04 Thread DvDmanDT
Umm.. Use $_SESSION for that, and session_unregister() for the unsetting with the old style code.. -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com "Andy B" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] how would you empty all the contents of $H

[PHP] Re: \n is not working!

2004-04-04 Thread DvDmanDT
> echo "This doesn't work\n'; // Displays: This doesn't work\n Seems to me like that would generate parse error.. :s But yea, we get your point.. :) -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com -- PHP General Mailing List (http://www.php.net/

Re: [PHP] Session hell: register_globals off

2004-04-04 Thread DvDmanDT
"Randall Perry" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > Solved my main problem. I was assuming that variables registered with > $_SESSION were passed by reference. Apparently they're passed by value. Wouldn't make very much sense to pass by reference, would it? Seems to me

[PHP] Re: Newbie question on Array

2004-03-28 Thread DvDmanDT
You can't do it that way.. You'll probably get parse error.. -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > > Sorry, I am new and could not supply the correct search strings on search > si

[PHP] Re: PHP 4.2.3 || Can't unset $_SESSION!

2004-03-28 Thread DvDmanDT
It should be unset($_SESSION['checker']); try to use var_dump($_SESSSION); on another page, called test3.php, and let us know what happends.. also, I hope you remember to use session_start(); and no session_write_close(); on test2.php.. Otherwise, please mail me the files: dvdmandt at

[PHP] Re: $_SESSION vs Database Call

2004-03-25 Thread DvDmanDT
Probably depends on how efficient your database server is setup as well as what harddisks you use and so on.. Also depends on how much data it's about I think.. I'd use sessions if I was you.. -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com "Chris Thomas&quo

[PHP] Re: [4.3.4] Can't ksort a subarray

2004-03-25 Thread DvDmanDT
I'd do this I think: uksort($A,'strcasecmp'); reset($A); while(list($key,$val)=each($A)) { uksort($A[$key],'strcasecmp'); } -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com "Richard A. Devenezia" <[EMAIL PROTECTED]> skrev i meddela

Re: [PHP] servers in php

2004-03-15 Thread DvDmanDT
.. You have never used PHP on win32, have you? -- // DvDmanDT MSN: dvdmandt?hotmail.com Mail: dvdmandt?telia.com "Norbert Pfeiffer" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > Hi Comex, > > forget Win-PHP, it only scarcely to 60% of the > functio

[PHP] Re: servers in php

2004-03-13 Thread DvDmanDT
I was thinking about this a while ago accutually.. It does seem like you can use ticks to get a multithreaded server, with multiple connections, but I can't say for sure.. :p -- // DvDmanDT MSN: dvdmandt?hotmail.com Mail: dvdmandt?telia.com "Comex" <[EMAIL PROTECTED]> skr

[PHP] Re: header(Location: question

2004-02-29 Thread DvDmanDT
That will tell the browser "The movie is there!Go there instead!" umm.. Kinda like that anyway.. It lets the user download from there, and not your server.. -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com "John" <[EMAIL PROTECTED]> skrev i meddela

[PHP] Re: Problems with ö or ä in script

2004-02-07 Thread DvDmanDT
It's because the HTML or HTTP or whateverdoesn't allow them.. :p -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com "Piet From South Africa" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > When using ö or ä the hyperlinks or photo

[PHP] Re: read file only half the file loads ...

2004-02-02 Thread DvDmanDT
The server or the connection seems to be the problem.. :s -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com "Philip J. Newman" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > loadimage.php has the following code in it. > > >

Re: [PHP] php version difference - local installation very strict

2004-02-01 Thread DvDmanDT
Once on every page... I include one file once, on each page, and in that one I have session_start()... -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com "Phillip Jackson" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > That's great advice

[PHP] Re: php version difference - local installation very strict

2004-02-01 Thread DvDmanDT
Yes.. error_reporting=E_ALL & ~E_NOTICE in php.ini is most likely what your server uses.. :p Also, register_globals might give you problems.. :p -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com "Phillip Jackson" <[EMAIL PROTECTED]> skrev i meddelandet news:[E

[PHP] Re: Nested PHP

2004-02-01 Thread DvDmanDT
I think you are looking for the function eval()... Or preg_replace('!e!e',$phpcode,'e'); -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com "Russell Shaw" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > Hi, > I have

[PHP] Re: HTTP request parameters do not populate variables

2004-02-01 Thread DvDmanDT
Yes, I know what you mean.. :) If you use windows (or some other msn client), feel free to add me on MSN and I'll be glad to help you out if you get problems.. :) -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com "Slava Zinkovski" <[EMAIL PROTECTED]> skr

[PHP] Re: HTTP request parameters do not populate variables

2004-02-01 Thread DvDmanDT
iling-lists.php page.. :p -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com "Slava Zinkovski" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > Many thanks, man. You are very helpful! > I did try searching this news group. Nothing found. > Will

[PHP] Re: HTTP request parameters do not populate variables

2004-02-01 Thread DvDmanDT
ice saying 'Check the archives before posting a question, chances are it has already been asked and answered a few times.' This question has been answered just about a million times before.." -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com "Slava Zinkovski&qu

[PHP] Re: Act as a Server

2004-01-31 Thread DvDmanDT
Ofcorse it can be done... Wouldn't be worth it though, and it would be slooow as f I think... ... I really don't think it would be worth it accutually... -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com "Stephen Craton" <[EMAIL PROTECTED]> skrev

Re: [PHP] sending a hex string as it is?

2004-01-29 Thread DvDmanDT
No need to ge that deep (socket_create and stuff).. To send the HEX number 20 (also a space), you can do the following: "\x20"; chr(0x20); chr(hexdec('20')); pack('C',0x20); All of those _should_ create a space... -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdm

[PHP] Re: shell_exec and accents

2004-01-29 Thread DvDmanDT
As I said somewhere else about an hour ago, use like Iconv or something like that.. It's caused by different charsets.. Chances are quite big you want to use iso-8859-1, but the shell command uses something else.. -- // DvDmanDT MSN: dvdmandt?hotmail.com Mail: dvdmandt?telia.com "

[PHP] Re: Print All parameters

2004-01-28 Thread DvDmanDT
This is what I do, to get EVERYTHING: But this will also get all functions and constants.. use only the first command for only the variables.. -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com "Mike Mapsnac" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL

[PHP] Re: working with files

2004-01-28 Thread DvDmanDT
I use to do this: $lines=file($filename); $num_lines=count($lines); for($i=0;$i<$num_lines;$i++)echo ''.$lines[$i].''; -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com "Tony" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] &g

Re: [PHP] sending a hex string as it is?

2004-01-28 Thread DvDmanDT
Did you consider following? $var="\x10"; ? Or dechex();? -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com "Khoa Nguyen" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] Thanks for the info Dave, but I still can't make it work: I

[PHP] Re: working with files

2004-01-28 Thread DvDmanDT
Did you try file(); ? -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com "Tony" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > hi, > > i have problem with writing a reading to file > i want to write emails in files. like this

[PHP] PHP 1.0?

2004-01-27 Thread DvDmanDT
Hello everyone! Does anyone have a copy of PHP 1.0? Today I managed to get PHP 2 working, and I already had 3, 4 and 5 on my system.. So I want 1.0, just to have them all.. So, anyone? Please? I really want it.. Any pointers / comments / files appriciated! -- // DvDmanDT MSN: dvdmandt

[PHP] Re: RewriteRule REGEX ?

2004-01-25 Thread DvDmanDT
ly get alot more help there, since those are pointed towards apache rather than PHP... -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com "Monty" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > Actually, it's not the reverse that I wan

[PHP] Re: Can we make .exe programs with php?

2004-01-24 Thread DvDmanDT
A while ago there was someone who announced a link to some program that allowed you to make exe's (yes, it works)... Although, it's 100% uncompiled (not even to bytecodes), so the only thing you gain is that it'll be easier to run... :p Also checkout this: http://binaryphp.sf.net

[PHP] Re: RewriteRule REGEX ?

2004-01-24 Thread DvDmanDT
Did you try to remove that '^' ? That means start.. In other words you are saying that the uri starts with articles, when I would think it starts with /articles... Yes, that could really matter... -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com "Monty" <[

[PHP] Re: PHP has encountered an Access Violation at 00C4DA27

2004-01-22 Thread DvDmanDT
1;i<10;i++)free(calloc(i,sizeof(char))); Basicly that crashes it, after a couple of loops... :s Doesn't make any sense to me... Maybe I've missed something though... -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com "Amk" <[EMAIL PROTECTED]&g

[PHP] Re: Is this possible ?

2004-01-18 Thread DvDmanDT
returnsomething; } $numrows=0; $res_arr=MyFunc(&$numrows); Notice the &, that'll make the value of $numrows changed... I did not test this at all, but it should work.. If you only do MyFunc(); without any parameters, it'll just return the result of the SQL statement.. -- // D

[PHP] Re: /VAR is driving me crazy

2004-01-16 Thread DvDmanDT
I don't have any problems with it... -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com "Boaz Yahav" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] Hi Does anyone have an idea what is so special about the string "/VAR" ? If i crea

[PHP] Re: how to display a font with two words???

2004-01-13 Thread DvDmanDT
I just realized my misstake.. In GD you can't, in HTML it's possible.. Read the other ppls replies.. -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com "Dvdmandt" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > Rename the font... I t

[PHP] Re: how to display a font with two words???

2004-01-13 Thread DvDmanDT
Rename the font... I think that's the only solution... -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com "Matt Hedges" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > Howdy, > > I'm trying to specify in my php document... but

[PHP] Re: Installing PHP on 2nd Windows Drive

2004-01-13 Thread DvDmanDT
command to like autoexec.bat, your startup folder, or something like that if oyu plan on using it... -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com "Freedomware" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > Dvdmandt wrote: > > > I

[PHP] Re: Renaming and Moving php.ini and php4ts.dll Files

2004-01-13 Thread DvDmanDT
bout showing some files, but unless you plan on going into the system folder, open up some random file, change the content and save it, you can ignore those warnings... I mean, you wouldn't edit any of those if you didn't know exactly what you were doing, right? -- // DvDmanDT MSN: dvdmand

[PHP] Re: Installing PHP on 2nd Windows Drive

2004-01-13 Thread DvDmanDT
.. The only problem you'll get is that you can't une the Apache installer twice without uninstalling the first one... I use to just rename the Apache folder, uninstall (no files get removed), then I rename back, then I reinstall to overwrite the files which needs to be updated... -- // Dv

Re: [PHP] Re: Ver 5.0 Questions ...

2004-01-12 Thread DvDmanDT
Don't expect it to be solved next few days.. There are some wierd problems I think... Kinda like you don't really know what could cause them or something... -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com "Thomas Svenson" <[EMAIL PROTECTED]> skrev

[PHP] Re: PHP Installation Questions

2004-01-12 Thread DvDmanDT
an workaround that if you move some files... -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com "Freedomware" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > H... The first installation ended with this message: > > "Sorry, the so

[PHP] Re: Ver 5.0 Questions ...

2004-01-12 Thread DvDmanDT
What's the real difference.. We are talking something like 1-2 months I think... Although, there was thoughts about releasing 5.0 in 2002 as well IIRC.. -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com "Chris Tenharmsel" <[EMAIL PROTECTED]> skrev i me

[PHP] Re: PHP Installation Questions

2004-01-12 Thread DvDmanDT
There really should be one named httpd.conf.. Otherwise, that might be the one named httpd if you have extensions on filenames off (not recommended in any way)... Also, it should be LoadModule php5_module C:/PHP/php5Apache.dll sorry, my misstake.. :) -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail

[PHP] Re: PHP Installation Questions

2004-01-12 Thread DvDmanDT
/php5Apache.dll AddType application/x-httpd-php .php .php5 AddType application/x-httpd-php-source .phps Then restart Apache, 'NET STOP Apache', 'NET START Apache' for example... php.net/manual/en/, click install.. -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com &

Re: [PHP] Returning Newbie (Disoriented)

2004-01-12 Thread DvDmanDT
Swedish, English, and in few hours I'm gonna have french as well... Although, my primary language would still be PHP... :s Sweden is a really nice place really.. :) -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com "Freedomware" <[EMAIL PROTECTED]> skrev i me

Re: [PHP] Returning Newbie (Disoriented)

2004-01-12 Thread DvDmanDT
ince 4.1.. I've helped lots of friends with installation though... -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com "Freedomware" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > Dvdmandt wrote: > > > If you got dozens domains, m

Re: [PHP] Returning Newbie (Disoriented)

2004-01-12 Thread DvDmanDT
ts from it... -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com "Freedomware" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > Dvdmandt wrote: > > > If you got dozens domains, mod_l33t is highly recommended, but it's only for > >

Re: [PHP] Returning Newbie (Disoriented)

2004-01-12 Thread DvDmanDT
;s not recommended yet... Unless you run as CGI which I wouldn't recommend for anything in this world... It's much slower, and the computer is slowed down noticably after about 50 requests... At least it was like that for me with my old setup... -- // DvDmanDT MSN: dvdmandt¤hotmail.

Re: [PHP] Returning Newbie (Disoriented)

2004-01-11 Thread DvDmanDT
Just wondering... :) It was a host about a year ago.. Someone named Ryan was in the team, and I have a slight memory of him trying pre configured packages.. -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com "Ryan A" <[EMAIL PROTECTED]> skrev i meddelandet news:

Re: [PHP] Returning Newbie (Disoriented)

2004-01-11 Thread DvDmanDT
er to read but it's more.. well, you don't need to type as much in perl as in php.. Char effiency or whatever.. Some ppl like perl, some php... activestate.com, cpan.org -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com "Freedomware" <[EMAIL PROTECTED]>

Re: [PHP] Returning Newbie (Disoriented)

2004-01-11 Thread DvDmanDT
ally isn't hard at all... If you want help, I can guide you through it... If you wanna use PHP/Apache, it's better to setup them yourself.. That way you'll understand just about everything better.. :) Ryan: just wondering, does the acronym 'FH' mean anything to you (it wa

[PHP] Re: Exception number: c0000005 (access violation

2004-01-11 Thread DvDmanDT
rting to suspect some virus or something in my system32 folder... -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com "Gunter Sammet" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > I have 4.3.5-dev (Build Dec-22-2003) installed on a W2K Dell Inspiron 7

[PHP] Re: Ver 5.0 Questions ...

2004-01-11 Thread DvDmanDT
hest priority in 5.0 (along with XML support), but that's only my impression.. To view the history.. Check cvs, and read the NEWS file... -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com "Peter" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] >

[PHP] Re: Function returns

2004-01-11 Thread DvDmanDT
some things might return to a parameter... Right now I can't think of an example though.. -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com "Shawn McKenzie" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > Maybe a dumb question, but as go

[PHP] Re: Very confusing problem!

2004-01-07 Thread DvDmanDT
one... If that fails, make sure you turn notices on, make sure the register_globals setting is the same on both servers.. Not sure how, but register_globals seems to be able to break almost anything... -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com "Aaron Wolski" <

[PHP] Re: readfile from startpos to endpos

2004-01-05 Thread DvDmanDT
Like Matt Grimm said, add +14, and do fseek($file,$startPos); -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com ## Please, if you are using windows, you may be infected by Swen. Please go here to find out more: http://us.mcafee.com/virusInfo/default.asp?id

[PHP] Re: Echo HTML code Verses breaking out of

2003-11-21 Thread DvDmanDT
?>HTMLhttp://us.mcafee.com/virusInfo/default.asp?id=helpCenter&hcName=swen http://securityresponse.symantec.com/avcenter/venc/data/[EMAIL PROTECTED] ## "Joe Harman" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > Hello, > > I would like some opinions, or hop

[PHP] Re: passing second function through a function

2003-11-17 Thread DvDmanDT
function call_some_function($function,$args=NULL) { eval("$function($args)"); // Or something like that.. $function(); // also works I think.. } -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com ## Please, if you are using windows, you may be i

[PHP] Re: From form to an array

2003-11-17 Thread DvDmanDT
Hmm... Intresting... Like... Hmm.. Name the elements of the second form like Then turn on register_globals, then you'll very automaticly have $array1 and $array2.. -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com ## Please, if you are using windows

[PHP] Re: GD question

2003-11-17 Thread DvDmanDT
,6,0,0,3,3); imagecopy($im,$im2,6,6,0,0,3,3); imagepng($im); imagedestroy($im);imagedestroy($im2); or something like that.. :s -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com ## Please, if you are using windows, you may be infected by Swen. Please go here t

Re: [PHP] Re: Moving to php

2003-11-16 Thread DvDmanDT
Cool.. Weird.. I've used PHP since 4.1.0, on windows ME/Apache 1.3, using streams, sockets, w32api, gd, classes, printers and more, never ran into any other problems that w32api and bcompiler combined with Zend stuff.. :s -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤teli

Re: [PHP] Re: Moving to php

2003-11-16 Thread DvDmanDT
Well, yes.. But chanses aren't all that big you'll find any bugs (at least not windows specific), unless you try the w32api extension or bcompiler combined with zend optimizer... -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com ## Please, if you

[PHP] Re: Moving to php

2003-11-16 Thread DvDmanDT
group (php-win or php.windows).. :) MySQL and PHP is very good friends.. :) -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com ## Please, if you are using windows, you may be infected by Swen. Please go here to find out more: http://us.mcafee.com/viru

[PHP] Re: PHP session won't die!

2003-11-08 Thread DvDmanDT
setcookie(session_name(),"",0,"/"); session_unset(); session_destroy(); or something like that... -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com ## Please, if you are using windows, you may be infected by Swen. Please go here to

Re: [PHP] BTML 2.0 released!!!

2003-11-07 Thread DvDmanDT
Well, if the historians want to read it later, that's their problem... :D J/k, but think about all mess they have to go through when reading the posts with comments in the middle of the mails... In my opinion it's best to read the entire thread anyway, cause ppl trim posts... -- // Dv

[PHP] Re: PHP Themes/Wallpapers

2003-11-07 Thread DvDmanDT
Isn't there things like that on the official php.net site? -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com ## Please, if you are using windows, you may be infected by Swen. Please go here to find out more: http://us.mcafee.com/virusInfo/default.a

Re: [PHP] BTML 2.0 released!!!

2003-11-07 Thread DvDmanDT
Well, that's a bit overdue... I don't reverse the order of my posts... But anyway... I guess not everyone (you for example) follow threads like I do... -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com ## Please, if you are using windows,

Re: [PHP] BTML 2.0 released!!!

2003-11-07 Thread DvDmanDT
Oh.. I'm personally trying to avoid not top-posting, cause I think it's nicer when ppl place the message at the top where I can read it instantly without scrolling down.. :s So why bottompost? -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com ##

[PHP] Re: hard(?) syntax problem

2003-11-04 Thread DvDmanDT
You could try $tmp=constant("PL_ORT"); $value=$tmp[$key]; But I doubt it'll work.. -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com ## Please, if you are using windows, you may be infected by Swen. Please go here to find out more: http:

Re: [PHP] Code optimization: single vs. double quotes?

2003-10-27 Thread DvDmanDT
It's said that you shouldn't use tables for layout, but does people accutually listen to that? And what instead? -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com ## Please, if you are using windows, you may be infected by Swen. Please go here t

[PHP] Re: preg match compilation error

2003-10-27 Thread DvDmanDT
Start and end with same char, for example with a / or a #... Like if(preg_match("#[^a-zA-Z0-9,._\+\()\-]#",$filename)) -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com ## Please, if you are using windows, you may be infected by Swen. Please

Re: [PHP] RE: function help redirect help

2003-10-27 Thread DvDmanDT
)=="-")?$r[$i][0].$r[$i][1]:($r[$i][0].$r[$i][1]))." ";} No, that probably wont compile as that's only a little part of it, but still a pretty easy part of it.. :) -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com ## Please, if yo

[PHP] Re: function help simple redirect

2003-10-27 Thread DvDmanDT
$payment = "1"; function payment(){ global $payment; if ($payment == "0"){ header ("Location: test_page.html"); } elseif ($payment == "1") { header ("Location: test_page2.html"); } } -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia

Re: [PHP] Randomizing 3 different numbers.

2003-10-27 Thread DvDmanDT
Dont you mean || at the last loop? You loop as long as 3 is equal to both 1 and 2, || would cause it to loop while it's equal to any of them.. -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com ## Please, if you are using windows, you may be infect

Re: [PHP] Idea for new operator

2003-10-27 Thread DvDmanDT
Will he get one? -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com ## Please, if you are using windows, you may be infected by Swen. Please go here to find out more: http://us.mcafee.com/virusInfo/default.asp?id=helpCenter&hcName=swen

[PHP] Re: how to use pclzip class

2003-10-25 Thread DvDmanDT
ilename"] (not sure) -> ["stored_filename"] (filename in archive) -> ["size"] (uncompressed size) -> ["compressed_size"] (name says it all) -> ["index"](index in archive) -> ["mtime"] (last mod) $zip->extractByIndex($

[PHP] Re: problem with intval and !=

2003-10-23 Thread DvDmanDT
Outputs Number: 12, Value: 12.3 Bad for me running XP home nosp, Apache 1.3.28 mod_php 4.3.4rc2, or as standalone cgi... -- // DvDmanDT MSN: [EMAIL PROTECTED] Mail: [EMAIL PROTECTED] "Cesar Cordovez" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > Can somebod

[PHP] Age from birthdate?

2003-10-22 Thread DvDmanDT
ideas? -- // DvDmanDT MSN: [EMAIL PROTECTED] Mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: php_w32api.dll ... fatal error

2003-10-21 Thread DvDmanDT
memstat_pf (long &a1,long &a2) From w32apitest.dll"); $api->registerfunction("long cool (MEMORYSTATUS a1) From w32apitest.dll"); $a=$api->InitType("MEMORYSTATUS"); $api->GlobalMemoryStatus($a); // call a w32api function -- // DvDmanDT MSN: [EMAIL PROTECTED] Mail: [EMAIL

[PHP] Re: DvDanDT->Re: [PHP] Re: Session hijacking

2003-10-19 Thread DvDmanDT
their values, so they should remain globals... Guess it's just to try.. :p The $$ is not a typo, it means the name of the new variable should be the value of the other one... $tmp="hello"; $$tmp = "world"; echo $hello; // will output 'world' -- // DvDmanDT MSN

[PHP] Re: cok->Re: [PHP] Re: Session hijacking

2003-10-19 Thread DvDmanDT
$_REQUEST is a great superglobal, check it out... And at the top of the hijacked script: while(list($tmp1,$tmp2)=each($_SESSION)) $$tmp1=$tmp2; $tmp1=tmp2=NULL; Could work.. :p -- // DvDmanDT MSN: [EMAIL PROTECTED] Mail: [EMAIL PROTECTED] "Ryan A" <[EMAIL PROTECTED]> skrev i

[PHP] Re: $_POST in MySQL query issue...

2003-10-16 Thread DvDmanDT
$sql="insert into $table set Name = '".$_POST["elementName"]."'"; or even better: $sql="insert into ".$table." set Name = '".$_POST["elementName"]."'"; But the method both Jake and Bao suggested will also wo

[PHP] Age from date field?

2003-10-11 Thread DvDmanDT
only looking for the age in years... Thanks in advance -- // DvDmanDT MSN: [EMAIL PROTECTED] Mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

  1   2   >