[PHP] Re: help me please!

2003-07-15 Thread DvDmanDT
It's a php.ini options named like force_redirect or something... "Pehepe Php" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > My system is windows 98 second edition > im using pws > i built php 4.2.2 > when ý struggle to reach any .php file for example 127.0.0.1/sample.php > this

[PHP] Re: 4.3.2 and CLI

2003-07-17 Thread DvDmanDT
You must remove Accelerator... "Michael Rubin" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > I'm running PHP 4.3.2 (cli) as well as Zend Optimizer and PerformanceSuite > (Accelerator only version), on RH 7.1 with apache 1.3. I keep getting the > following errors when I try to do

[PHP] Re: Link acting as a submit button

2003-07-24 Thread DvDmanDT
Warning for ... It's also the ending for PHP you see... Shouldn't matter in this case, although, wouldn't suprise me at all if it was... -- // DvDmanDT MSN: [EMAIL PROTECTED] Mail: [EMAIL PROTECTED] "Matt Palermo" <[EMAIL PROTECTED]> skrev i meddelandet news:[EM

[PHP] Re: Get the current file name

2003-07-25 Thread DvDmanDT
$tmp=split("\\|/",__FILE__); $s=$tmp[count($tmp)-1]; or something.. -- // DvDmanDT MSN: [EMAIL PROTECTED] Mail: [EMAIL PROTECTED] "Shaun" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > Hi, > > due to a current PHP upgrade i am unable to

Re: [PHP] /n not working

2003-07-26 Thread DvDmanDT
I must suggest to just add like header("Content-Type: text/plain"); // Don't use HTML To the top of examples like that... -- // DvDmanDT MSN: [EMAIL PROTECTED] Mail: [EMAIL PROTECTED] "Curt Zirzow" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED

[PHP] Re: Recompiling the PHP Binary with PCNTL

2003-07-27 Thread DvDmanDT
Windows or linux? Under windows you need like visual studio to compile it... But how to add parameters there is not my area... -- // DvDmanDT MSN: [EMAIL PROTECTED] Mail: [EMAIL PROTECTED] "David Goodchild" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > H

[PHP] Re: ereg() can't recognize characters such as èéêë...

2003-07-29 Thread DvDmanDT
Use preg_*() functions then? Not that I think they would be much better but... -- // DvDmanDT MSN: [EMAIL PROTECTED] Mail: [EMAIL PROTECTED] "Ivo Fokkema" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > Hi list, > > I read through the manual and tried to

[PHP] Re: ereg() can't recognize characters... [SOLVED]

2003-07-29 Thread DvDmanDT
What? Did it seriously help? You might be intrested in this regex then: preg_replace("#[a-z0-9\-\._îÎèéüÜÉÈáàÁÀäÄåÅöÖ]+#i",'',$VARIABLE); // Should hit most chars you want... -- // DvDmanDT MSN: [EMAIL PROTECTED] Mail: [EMAIL PROTECTED] "Ivo Fokkema" <[EMAIL PRO

[PHP] Re: ereg() can't recognize characters... [SOLVED]

2003-07-29 Thread DvDmanDT
Also... You know, there's a (.*?) command as well.. Might work just about perfect in your situation... -- // DvDmanDT MSN: [EMAIL PROTECTED] Mail: [EMAIL PROTECTED] "Ivo Fokkema" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > Well d*mn, why didn't I

[PHP] Re: ereg() can't recognize characters... [SOLVED]

2003-07-29 Thread DvDmanDT
Notice the ?... The ? after the * is at least supposed to stop that problem... So preg_replace("#\{(.*?),(.*?)\}#","\\2",$whatever); should do what you want... :p -- // DvDmanDT MSN: [EMAIL PROTECTED] Mail: [EMAIL PROTECTED] "Ivo Fokkema" <[EMAIL PROTECTED]

Re: [PHP] Weird Problem

2003-07-29 Thread DvDmanDT
mething also tells me you are using mysql_fetch_row... Why not array? You should try to just switch between them and try once... I didn't notice it at first... mysql_fetch_array($result) is what I would use... Will probably return same thing, but who knows? -- // DvDmanDT MSN: [EMAIL PROTECTED]

[PHP] Re: help with php

2003-07-29 Thread DvDmanDT
I agree to Parker's post, but I think I understand you... thescript.php: That script or command requires the following form: Send to this email: Your email: Subject: Message: Maybe this what you wanted, maybe not.. :p -- // DvDmanDT MSN: [

[PHP] Re: Parsing a local file

2003-07-29 Thread DvDmanDT
Also, it's a remote file you are trying to parse, not a local... local=server, remote=user... Like John linked, you must upload it... Can't do it other ways... -- // DvDmanDT MSN: [EMAIL PROTECTED] Mail: [EMAIL PROTECTED] "Jason D. Williard" <[EMAIL PROTECTED]> skrev

Re: [PHP] Re: Parsing a local file

2003-07-29 Thread DvDmanDT
lol, yeah, guess so... Although, when you talk about these things, do you say you must download a file from the client? Or that you must open the remote logfile in your script? Damn, this is getting screwy... -- // DvDmanDT MSN: [EMAIL PROTECTED] Mail: [EMAIL PROTECTED] "Curt Zirzow&quo

[PHP] Re: Opinions on Micro$oft .NET

2003-07-31 Thread DvDmanDT
hat will make your PHP scripts run even faster than ASP.NET technology... Although, wouldn't really be a PHP script anymore... -- // DvDmanDT MSN: [EMAIL PROTECTED] Mail: [EMAIL PROTECTED] "Jay Paulson" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] I kno

[PHP] Re: Search Engine

2003-08-01 Thread DvDmanDT
in it and then some varchars to store meta data... Or do it like php.net does for function searching.. -- // DvDmanDT MSN: [EMAIL PROTECTED] Mail: [EMAIL PROTECTED] "Imran" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] Hi, Does anyone know any free search engin

[PHP] Re: What is $$

2003-08-01 Thread DvDmanDT
Well, it's a variable that tells php what variable to use... so it's like if $var is "hello", then $$var is the same as $hello... -- // DvDmanDT MSN: [EMAIL PROTECTED] Mail: [EMAIL PROTECTED] "Ryan A" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTE

[PHP] Why does virtual behave like it does?

2003-08-03 Thread DvDmanDT
ected... Now, why does virtual teminate ob? I think it would be better with the possibility to parse the output some... Why? Cause I access my Tomcat from Apache and Tomcat must generate a XML page that would basicly need to be parsed... -- // DvDmanDT MSN: [EMAIL PROTECTED] Mail: [EMAIL PRO

[PHP] Re: CHAT about PHP

2003-08-20 Thread DvDmanDT
Things like this should block the sender... How many times has he just posted a link to that site? -- // DvDmanDT MSN: [EMAIL PROTECTED] Mail: [EMAIL PROTECTED] "Damian Brown" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > www.phpexpert.org > Programm

[PHP] Re: Off the subject I need help...

2003-08-20 Thread DvDmanDT
Consider using news servers...news://msnews.microsoft.com... There are lots of groups there about sqlserver which I guess is what you're after, or are sqlserver and mssql different things? Can't you like select * where 1 to some file and then import to MySQL? -- // DvDmanDT MSN: [EMAIL

[PHP] Re: rich text editing

2003-08-20 Thread DvDmanDT
Look into activeX stuff... That's how they do it... -- // DvDmanDT MSN: [EMAIL PROTECTED] Mail: [EMAIL PROTECTED] "Redmond Militante" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visi

Re: [PHP] This is getting ridiculous

2003-08-20 Thread DvDmanDT
f we don't know who is behind it, then let's check when we started recieving those mails and check who joined the list at that time... -- // DvDmanDT MSN: [EMAIL PROTECTED] Mail: [EMAIL PROTECTED] "Ray Hunter" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] &

[PHP] Re: problem writing \t and } tp text files

2003-08-20 Thread DvDmanDT
Can you post a short code snippet please? Miht have to do with {$arr[0]} style syntax... Try \t\t\t\t\t\} instead.. although, I don't really know if this matters, just a though that came to my head... -- // DvDmanDT MSN: [EMAIL PROTECTED] Mail: [EMAIL PROTECTED] "Tan Ai Leen" &l

[PHP] Re: ensim problems

2003-08-21 Thread DvDmanDT
Maybe AllowOverride isn't set to All... Or maybe php is installed as cgi... Then that directive wont work in .htaccess... -- // DvDmanDT MSN: [EMAIL PROTECTED] Mail: [EMAIL PROTECTED] "Dennis Gearon" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > plea

[PHP] Re: error when using $this

2003-08-21 Thread DvDmanDT
Has with classes to do... The error claims that code isn't in a class which makes it invalid as $this is the current class... If you aren't in a class then there's no $this... however, if you are in a class, you just found a bug or a typo in your script... -- // DvDmanDT MSN: [

[PHP] What's user_dir?

2003-08-22 Thread DvDmanDT
what? 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

[PHP] Re: homepage script..

2003-08-24 Thread DvDmanDT
easyhost and invisionpower filemanager... Although, it seems better to write the script yourself, would make it so much more fitting your exact wantings and needs... -- // DvDmanDT MSN: [EMAIL PROTECTED] Mail: [EMAIL PROTECTED] "Dasmeet" <[EMAIL PROTECTED]> skrev i meddela

[PHP] Re: finding out localhost :-P

2003-08-24 Thread DvDmanDT
work... So, check the settings... -- // DvDmanDT MSN: [EMAIL PROTECTED] Mail: [EMAIL PROTECTED] "Pag" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > > Heres the problem. I have one of my client's site hosted on a crappy > server, and i have it runnin

[PHP] Re: how to keep decimals from rounding

2003-08-25 Thread DvDmanDT
use floor(), I think that rounds it down... ceil() rounds it up... -- // DvDmanDT MSN: [EMAIL PROTECTED] Mail: [EMAIL PROTECTED] "Rob Yelvington" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > Is there a way to surpress round() or number_format() from roundi

[PHP] Re: How easy is this idea?

2003-06-06 Thread DvDmanDT
You could do all of that easily... "Simon Thurtle" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > OK, now I have I have been convinced that PHP is the best thing since cheese > burgers, I have a question... > How easy is it to... Have a set of 6 HTML drop downs each with texted ba

[PHP] Re: Creating alphabetical index links

2003-06-06 Thread DvDmanDT
Not sure this will work and I wont try right now... SELECT * FROM $table WHERE SUBSTRING(FIELD_WITH_NAMES,0,1) = '$letter' ORDER BY FIELD_WITH_NAMES... You could always try I guess, but I really don't think it would work... "Awlad Hussain" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECT

[PHP] Re: Linux vs. Windows

2003-06-06 Thread DvDmanDT
It's quite suprising how fast my PHP (and Perl) is under WinME/Apache 1.3.27/PHP 4.3.2... It's unstable as F though so not way to recommended... I was intrested in your server specs? How much RAM? And so on... And was the tests on the same server or did I missunderstand something? "Azflsite" <[EMA

Re: [PHP] Re: Linux vs. Windows

2003-06-06 Thread DvDmanDT
er. I had .NET installed > and tested. Then installed Linux on same box. The box > is a p4 1.7 gig with 512 ddr with a 30 gig 7200rpm hdd > > Im going to drop to win2k and see the results. I will > post results here if anyone cares. > > Silly > --- DvDmanDT <[EMAIL PROTECT

[PHP] Re: PATH_TRANSLATED

2003-06-07 Thread DvDmanDT
Are you sure it doesn't work? I thought it didn't at first, that variable doesn't exist unless you call the script with a index.php/dir/file.txt if you get what I mean... This was my case, pretty long ago so maybe things have changed... "ØYstein HåLand" <[EMAIL PROTECTED]> skrev i meddelandet news:

[PHP] Re: Zend Gone missing

2003-05-30 Thread DvDmanDT
Like just go to the folder where you installed it and run? "Chris Blake" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > Greetings learned PHP(eople), > > I just downloaded and installed the Zend Studio trial package as I`m > tired of usign vim for all my PHP stuff, and during the

[PHP] Re: general questions

2003-06-03 Thread DvDmanDT
You create a variable by assigning a value to it sorta... Am I misstaken or would every value be considered as different types? Don't think you would get problems with it... Maybe string... In PHP, it doesn't really matter all that much if a number is int or string as they are automaticly converte

[PHP] Re: Mail Harvester Warning (was Re: [PHP] I guess I'll give the list a shot [T2003060200WW])

2003-06-03 Thread DvDmanDT
That mail came to me as well... We must get rid of them! Only one mail was painful enough... "Steve Keller" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > Just wanted to pass a little warning on to the list. I sent a reply to > David McGlone ([EMAIL PROTECTED]) and my email got fo

[PHP] Re: Object-Oriented PHP with MySQL

2003-06-03 Thread DvDmanDT
I'm not sure at all and I'm most likely wrong, but think about mysql_fetch_object... Isn't that what you want sorta? "Liam Gibbs" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] Is it efficient to load objects with data from MySQL for PHP? I'm looking into the OO-ness of PHP, and I h

[PHP] Re: PHP and base32 encryption

2003-06-04 Thread DvDmanDT
I've never even heard of base32... Only base64... Maybe mcrypt but nah, can't see why mcrypt would include that... Errmm... Maybe you should check for some RFC about this... geektools.com seems to let you search RFC's... "Cditty" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > Some

Re: [PHP] PHP vs. jsp, advice please

2003-06-09 Thread DvDmanDT
Installing JSP isn't impossible, but it can be a true pain... At least on windows... There are lots of environiment variables to set (well, two at least), config files to edit, a directory structure to understand (this is probably way simplier than I currently think it is)... However, once you get

Re: [PHP] How to find if a string is an integer?

2003-06-11 Thread DvDmanDT
It's not that killing... :p preg_match("#^-?[0-9]+$#",$_POST["var_int"]); I was also thinking about that === operator.. And this: if(((string)((int)$_POST["var_int"]))==$_POST["var_int"]) "Jean-Christian Imbeault" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > Felipe Desiderati

[PHP] dotnet module?

2003-06-11 Thread DvDmanDT
Hello, I was wondering if anyone has a working php_dotnet.dll? I was also wondering is anyone was going to add class constructor support for it? Or is that already supported? Thanks in advance / DvDmanDT -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] dotnet module?

2003-06-11 Thread DvDmanDT
Damn, that was a fast response! 5 secs? anyway, why was the w32api functions removed from PHP 4.3? And I can only guess from 5.0 as well? They seem very intresting you see... Thanks in advance / DvDmanDT "Sterling Hughes" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROT

[PHP] Re: Vars inside an sql query [Regular expression question]

2003-06-12 Thread DvDmanDT
That doesn't work as the new string already is like "select * FROM `table` where id='2' order by name" assuming $value was 2... "Hatem Ben" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] Greetings all, I got a headache doing this, i need to get vars inside an sql query. For example

[PHP] w32api functions?

2003-06-12 Thread DvDmanDT
Hello everyone... I was wondering why the w32api functions were removed? And will they come back? Else, will the 4.2.3 version work with 4.3.2? I really want those functions for educational purposes you see... Thanks in advance // DvDmanDT -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] w32api functions?

2003-06-12 Thread DvDmanDT
-- John Powell > -Original Message- > From: DvDmanDT [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 12, 2003 1:31 PM > To: [EMAIL PROTECTED] > Subject: [PHP] w32api functions? > > > Hello everyone... I was wondering why the w32api functions > were removed? An

Re: [PHP] How to find if a string is an integer?

2003-06-12 Thread DvDmanDT
To be honest, I haven't really understood what three of them does... Is it the same value without type casting? "Jean-Christian Imbeault" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > Dvdmandt wrote: > > It's not that killing... :p > >

Re: [PHP] w32api functions?

2003-06-12 Thread DvDmanDT
Just wanted to download sources... But that's kinda impossible... 404 on every single mirror, both bz and gz... Hmm... I guess I'll go for snaps then... :p Someone, please fix this... "Dvdmandt" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > Preb

[PHP] Re: Url problem

2003-06-12 Thread DvDmanDT
The file get's parsed server side I guess... You would need to name it .txt or something for that to work... :p "Sparky Kopetzky" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] OK. I'm suffering from brain gas... I'm trying this, it doesn't work and I can't figure out why: inc

[PHP] Re: Redirects in PHP

2003-06-13 Thread DvDmanDT
It's like a meta tag... JavaScript version: function deelay(secs) { setTimeout("goto_url()",secs*1000) } function goto_url() { location.href="FILE.PHP" } "Carl Furst" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > I want to do one of those redirect pages where a php script prin

[PHP] Re: Pipe $var to a shell command

2003-06-13 Thread DvDmanDT
Like $myoutput=`command`; ? "Tim T" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > I have a mem var $myoutput I would like to pipe it to the input of a > shell_exec command. > > I tried shell_exec("command < $myoutput") however this is not quite right. > Anybody have any ideas??

[PHP] Re: Pipe $var to a shell command

2003-06-13 Thread DvDmanDT
Oh, sorry, I missunderstood you... You want $myoutput to be the programs input, not the output of the program... Hmm... Look into popen(), fputs() and fclose()... "Tim T" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > I have a mem var $myoutput I would like to pipe it to the input

[PHP] Re: Pipe $var to a shell command

2003-06-13 Thread DvDmanDT
Ok, last reply from me I think... Must read until I know for sure before I post... http://se.php.net/manual/en/function.proc-open.php seems to be just what you need! "Tim T" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > I have a mem var $myoutput I would like to pipe it to the i

[PHP] Re: header() and mozilla - HELP!

2003-06-13 Thread DvDmanDT
You could always try header("Location: www.url.com"); (uppercase)... "Deno Vichas" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > i'm runnig into a random problem of having all the headers being > displayed instead on the actual web page in mozilla, Ie doesn't seem to > suffer fro

[PHP] How to write a DLL that can play with w32api?

2003-06-14 Thread DvDmanDT
cygwin as well... I use Windows ME... Any help is appreciated... Thanks in advance // DvDmanDT -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: How to write a DLL that can play with w32api?

2003-06-14 Thread DvDmanDT
o at a time worked like I said... I was wondering, who is the coder(s) of this extension? Does anybody know? // DvDmanDT -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: is my server working

2003-06-15 Thread DvDmanDT
Check the source of the output (view->source), is the PHP tags there? If so, your Apache (php accutually) doesn't parse the .php files... "Khoo Merry" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > I'm using windows me, server apache 1.3 for php. > I had wrote this code and tried

Re: [PHP] is my server working

2003-06-15 Thread DvDmanDT
Allow me to paste the PHP bit of my httpd.conf: LoadFile C:/PHP/php4ts.dll Loadmodule php4_module c:\php\sapi\php4apache.dll AddType application/x-httpd-php .php4 AddType application/x-httpd-php-source .phps ScriptAlias /php3/ "c:/php3/" ScriptAlias /php4/ "c:/php/" ScriptAlias /php5/ "D:/php5/" A

Re: [PHP] opening msword files outside the browser

2003-06-15 Thread DvDmanDT
You could go for like javascript maybe.. but nah, that seems kinda impossible... But maybe not... VBS... "Maris Kalnins" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > yeah, i guess you're right! > then there's no such possibility :( > > "Adrian" <[EMAIL PROTECTED]> wrote in messa

[PHP] PHPFI? How to build on Win32?

2003-06-15 Thread DvDmanDT
Hello... Today I downloaded 'phpfi' from CVS and I was wondering how to build it? It included no dsw/dsp files so I tried cygwin ./configure make cd src make but it doesn't work... Says like no rules or something... Or that it doesn't know how to build... So, how? Thanks in

[PHP] Re: Minimalistic BBcode script

2003-06-15 Thread DvDmanDT
$text=preg_replace("#\[([bisu])\](.*?)\[/\\1\]#i","<\\1>\\2",$text); "Dz" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > Hello, > > I found one minimalistic BBcode script, but it doesnt work. > > Warning: Unknown modifier '1' in f:\_php\_f\bb-code\test.php on line 32 > > line 32 i

[PHP] Re: Including text with PHP and keeping blanks

2003-06-16 Thread DvDmanDT
,file($filename)); However, my code is often little confusing... You might have to add stripslashes() to the echo part to avoid \ all over your output... Hope it helped / DvDmanDT "Fredrik Fornwall" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > Hello! > &g

[PHP] Re: two php installations

2003-06-16 Thread DvDmanDT
on every request (well, maybe not _every_ request but)... // DvDmanDT "Terje Torkelsen" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > is there a way to install two phps on one apache server? want a stable php4 > on my production site and a php5-dev

Re: [PHP] Re: two php installations

2003-06-16 Thread DvDmanDT
Hehe, ok... I can't even count the number of servers I use at different ports... But I prefer to use the one on port 80... // DvDmanDT <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > hmm to spare the pain i run another instance of apache on a different > port

Re: [PHP] functions, opinion...

2003-06-16 Thread DvDmanDT
Or you could just temporarily enable ob... That's what I do when I have a function that needs to return lots of HTML containing many ' and "... I know it's possible to use \ as well, but ob is somewhat easier then... "John W. Holmes" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] >

Re: [PHP] functions, opinion...

2003-06-16 Thread DvDmanDT
7;m at the age of 14 and don't even know math yet so (I mean, I know +, -, / and *, but not advanced stuff)... // DvDmanDT "Hugh Bothwell" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > "Dvdmandt" <[EMAIL PROTECTED]> wrote in message > news:

[PHP] Re: Installation

2003-06-17 Thread DvDmanDT
That seems bad... Get mysql 4.0.13 instead... // DvDmanDT "Anand Tomar" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > Hi, > > i tried installing mysql-4.1.0-alpha, apache, php4.3.2. now the issue is > that i have all the 3 application running and in

[PHP] Re: Can we control the content of MS Outlook Express

2003-08-27 Thread DvDmanDT
Yes, mailto:[EMAIL PROTECTED]&body=Some_text_in_the_body... -- // DvDmanDT MSN: [EMAIL PROTECTED] Mail: [EMAIL PROTECTED] "Jack" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > Dear all > Here is the question: > I had a link which will open user&

[PHP] PERL exec() replacement?

2003-08-27 Thread DvDmanDT
Perl or Python (or whatever) script that outputs a XML file that would need to get parsed? Although, I guess it's not PHP authors fault, rather Apache's, is that right? Thanks for reading.. -- // DvDmanDT MSN: [EMAIL PROTECTED] Mail: [EMAIL PROTECTED] -- PHP General Mailing List

[PHP] Re: SMTP server response: 550 5.7.1 Unable to relay for

2003-08-27 Thread DvDmanDT
Maybe that feature is disabled or you didn't enter your DNS servers... If you add me to MSN, I can help you set that up... I had some problems myself you see (Xp, Apache, PHP, Argomail).. -- // DvDmanDT MSN: [EMAIL PROTECTED] Mail: [EMAIL PROTECTED] "ÀLex Camps" <[EMAIL P

[PHP] Re: IS THIS A BUG?

2003-08-27 Thread DvDmanDT
Considering the manual has examples using that method (or at least had), and many tutorials, I think you can use it... When using register_globals=off, this might be off intrest: (notice $$var) while(list($var,$val)=each($_REQUEST))$$var=$val; -- // DvDmanDT MSN: [EMAIL PROTECTED] Mail: [EMAIL

[PHP] Re: php equivalent to asp's instr()

2003-08-27 Thread DvDmanDT
stack))!==fa lse); } try that, although, that's just from the top of my head, not tested or anything and it's my pretty bad coding style... also, take a look at ereg()... -- // DvDmanDT MSN: [EMAIL PROTECTED] Mail: [EMAIL PROTECTED] "Chris W. Parker" <[EMAIL PROTECTED]>

[PHP] Re: IS THIS A BUG?

2003-08-28 Thread DvDmanDT
seful sometimes though (I got an example, but I'm a bit lazy...) -- // DvDmanDT MSN: [EMAIL PROTECTED] Mail: [EMAIL PROTECTED] "Steve Todd" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > Is it possible to define a variable, such as: > $foo = "bar&q

Re: [PHP] open php from

2003-08-29 Thread DvDmanDT
Yes, I's said so... Although, I use "Location: newfile.php" in lots of places and it sure works even if it's the wrong way to do it... Although, it's not tested with very many browsers so I guess not everyone can view it (the new page)... -- // DvDmanDT MSN: [EMAI

Re: [PHP] imagejpeg function output

2003-08-29 Thread DvDmanDT
Well, at the page where you want to show the image, you must type like , and then in generate_image.php, you have the image generation code... -- // DvDmanDT MSN: [EMAIL PROTECTED] Mail: [EMAIL PROTECTED] "Mike At Spy" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROT

[PHP] Re: Form Parameters

2003-08-29 Thread DvDmanDT
$_REQUEST["fieldName"] (there are also $_GET and $_POST, but $_REQUEST works with both of them, although, with cookies and env vars as well)... -- // DvDmanDT MSN: [EMAIL PROTECTED] Mail: [EMAIL PROTECTED] "Seth Willits" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMA

[PHP] BMP -> GD image?

2003-09-09 Thread DvDmanDT
.. Help anyone? -- // 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: Need Help With gethostbyname()

2003-09-17 Thread DvDmanDT
Well, try only the toplevel domain... For example, I have like hns345667dsvdtrt34.telia.com, I doubt that is registred, but telia.com sure is... I hope.. :S -- // DvDmanDT MSN: [EMAIL PROTECTED] Mail: [EMAIL PROTECTED] "Dan Anderson" <[EMAIL PROTECTED]> skrev i meddelandet news:

Re: [PHP] Re: Need Help With gethostbyname()

2003-09-17 Thread DvDmanDT
finds what it's looking for... Gah, jusst forget I even started typing this message, I have no real idea what I'm talking about... -- // DvDmanDT MSN: [EMAIL PROTECTED] Mail: [EMAIL PROTECTED] "Jennifer Goodie" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTE

[PHP] Re: Help!!!

2003-09-18 Thread DvDmanDT
add quotes... Although, it's not really errors, it's more just tips or something... -- // DvDmanDT MSN: [EMAIL PROTECTED] Mail: [EMAIL PROTECTED] "#Meen Shari-Ah#" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > > Hi, > > I have some problem wh

[PHP] Using PHP to compile uploaded sourcecode with cygwins gcc?

2003-09-20 Thread DvDmanDT
7;s a later problem) pwd returns I'm in the 'compiling' folder, in the php script, I chdir() to get into that folder... Can anyone help, please? Security is not a concern, it's private, and it's for learning purposes mostly... I use winXP home... I can install stuff like

[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

[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] 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: 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: 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] 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: 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] 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($

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

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

[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] 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: 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] 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: 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] 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 ##

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,

[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, 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

  1   2   >