[PHP] PHP calling an ISAPI Extension

2007-06-18 Thread Dan
I'm in need of a way to contact an ISAPI Extension from a PHP function. Does anyone know how I would be able to do this? Usually you would post a page to their URL/actionname. Can I do a POST from a PHP function without reloading the page, and get a result back? That's one tall order. Anyone

Re: [PHP] PHP calling an ISAPI Extension

2007-06-18 Thread Dan
I would normaly do it with an AJAX call but I need to do a post from WITHIN a PHP function, so when it's doing php stuff ex. function something() { echo 'whatever'; $response = post some data to a ISAPI Extension eg. post to http://domain.com/scripts/app.dll return $response . "other data"; }

Re: [PHP] PHP calling an ISAPI Extension

2007-06-18 Thread Dan
For example, I could use function fsockopen but that seems like it would probably be pretty slow doing all that, and if there's a php function or small script that would be preferable over the 50/60 lines you would need to do it properly with fsockopen. - Daniel ""Jay Blanchard"" <[EMAIL PROT

Re: [PHP] PHP calling an ISAPI Extension

2007-06-18 Thread Dan
gt; wrote in message news:[EMAIL PROTECTED] Dan wrote: I would normaly do it with an AJAX call but I need to do a post from WITHIN a PHP function, so when it's doing php stuff ex. function something() { echo 'whatever'; $response = post some data to a ISAPI Extension eg. post to

[PHP] fsocketopen not returning data properly

2007-06-18 Thread Dan
I'm having trouble with sockets in PHP, if anyone has the time to help out that would be awesome. I am trying to get the result of a post echo httpSocketConnection("www.google.com", "POST", "/search", "q=test", "80"); This should post to google.com with a query of test. Then give me the res

Re: [PHP] PHP calling an ISAPI Extension

2007-06-19 Thread Dan
gt; wrote in message news:[EMAIL PROTECTED] Tijnema wrote: On 6/19/07, Jim Lucas <[EMAIL PROTECTED]> wrote: Dan wrote: > I wish I could, I can't count on the script being on a linux machine. I > also can't expect people to rebuild PHP with the curl library just to > use m

Re: [PHP] fsocketopen not returning data properly

2007-06-19 Thread Dan
correctly? And I tried with GET, I get the same error. - Daniel "Tijnema" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] On 6/19/07, Dan <[EMAIL PROTECTED]> wrote: I'm having trouble with sockets in PHP, if anyone has the time to help out that would be awes

Re: [PHP] PHP calling an ISAPI Extension

2007-06-19 Thread Dan
Yes, the ISAPI would be on the same machine, sorry I didn't mention that earlier. I'll go take a look at COM. - Daniel "Jochem Maas" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Dan wrote: For example, I could use function fsockopen but that seems

Re: [PHP] PHP calling an ISAPI Extension

2007-06-19 Thread Dan
s" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Dan wrote: For example, I could use function fsockopen but that seems like it would probably be pretty slow doing all that, and if there's a php function or small script that would be preferable over the 50/60 lines y

Re: [PHP] PHP calling an ISAPI Extension

2007-06-19 Thread Dan
ut components 1 a textfield to type your name, the other a checkbox called likes. What's wrong? Here's it's code: Learning ISAPI Learning ISAPI! Please enter the following information Name: I like ISAPI! "Tijnema" <[EMAIL PROTECTED]> wrote in message new

Re: [PHP] PHP calling an ISAPI Extension

2007-06-20 Thread Dan
Content: Date: Tue, 19 Jun 2007 17:20:04 GMT The resulting page I really wished to be returned. How do I get this not to set the return header in the $result? Or shoudl I just somehow get rid of the header after I get it? I don't know how long it is so I can't do a substring. Idea

Re: [PHP] open a file in a folder without knowing the filename

2007-06-21 Thread Dan
Seconded :D "Tijnema" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] On 6/21/07, Daniel Brown <[EMAIL PROTECTED]> wrote: On 6/21/07, Tijnema <[EMAIL PROTECTED]> wrote: > I like that disclaimer :) > > I write a lot of code for this list in my mail.. Yeah, I think I use the "Gmai

[PHP] Re: Interesting article about PHP security exploit by GIF files

2007-06-21 Thread Dan
What's with all this checking of mime types, etc? As long as you check that it doesn't have .php at the end of it's filename then you're fine. Unless you have PHP set to run on every filetype or something strange. Isn't it obvious not to allow anything.anything.

[PHP] Strange Fatal Error Possibly Memory

2007-06-21 Thread Dan
error could mean? - Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Strange Fatal Error Possibly Memory

2007-06-21 Thread Dan
I cleared all my logs, then ran the app having problems a few times. There were no error messages in the Apache logs. Does PHP have error logs somewhere? - Dan "Tijnema" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] On 6/21/07, Dan <[EMAIL PROTECTED]>

Re: [PHP] Strange Fatal Error Possibly Memory

2007-06-21 Thread Dan
lication; global $Some; //Creates the form $Some=new Some($application); //Read from resource file $Some->loadResource(__FILE__); //Shows the form $Some->show(); ?> "Tijnema" <[EMAIL PROTECTED]> wrote in message news:[EMAIL

Re: [PHP] Strange Fatal Error Possibly Memory

2007-06-22 Thread Dan
"Tijnema" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] On 6/21/07, Dan <[EMAIL PROTECTED]> wrote: I'm using Delphi4PHP so a lot of the code is prewritten components, libraries, etc. Here's some code that I can post without giving away too muc

Re: [PHP] Strange Fatal Error Possibly Memory

2007-06-22 Thread Dan
I'll have to be more carefull from now on. They're now Cat and Dog, yeah but it works. - Dan "Tijnema" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] On 6/22/07, Dan <[EMAIL PROTECTED]> wrote: "Tijnema" <[EMAIL PROTECTED]> wrote i

Re: [PHP] Convert Date time into Seconds

2007-06-25 Thread Dan
Also if you're planning on doing regular math with the outputs it's pretty easy to check if it's been 24 hours if you're using a unix time stamp, if((larger - smaller) >= 86400) do something. ""kvigor"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Cool, Like Ambien, It worked li

[PHP] Re: PHP Brain Teasers

2007-06-26 Thread Dan
How are we going to respond to these? Should we answer or just kepe them to ourselves. SPOILER** Answer: Many a mickle makes a muckle? "Colin Guthrie" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Daniel Brown wrote: What the hell? Why not start a thread that

Re: [PHP] PHP Web Applications

2007-06-27 Thread Dan
Check out Delphi for PHP by Borland, this does pretty much what you're looking for. - Dan "Tijnema" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] On 6/27/07, Jochem Maas <[EMAIL PROTECTED]> wrote: Tijnema wrote: > On 6/27/07, Jochem Maas <[EM

Re: [PHP] Re: Swear filter ideas

2007-06-28 Thread Dan
:O Bad Word :P Anyway, I would think that there should be some sort of library already out there that has this functionality. This problem has been arround since the internet started. - Dan ""Daniel Brown"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PRO

[PHP] Re: Problems with mirror site script

2007-06-28 Thread Dan
elune http://www.zelune.net/ Are some of the extremly popular ones. No need to reinvent the wheel. - Dan ""Wikus Möller"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hi. I am currently writing a script to put on my site so people can browse other sites by usi

[PHP] PHP vs Delphi Comparison?

2007-07-02 Thread Dan
I'm looking for a way to introduce PHP to some Delphi programmers, so I thought a comparison would show them the major differences, but I can't find anything like that on the web. Anyone have an article like that or know of one? - Dan -- PHP General Mailing List (http://www.ph

Re: [PHP] Date Calculation Help

2007-07-02 Thread Dan
s, and you could set a default. - Dan "Fredrik Thunberg" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] of course ceil( month / 3 ); -- /Thunis Don't panic. --The Hitchikers Guide to the Galaxy Fredrik Thunberg skrev: $q = ceil( month / 4 ); --

Re: [PHP] implementation of guest book

2007-07-02 Thread Dan
ey're small enough not to need a configuration file. Failing that if it uses a database, the user and pass are probably in there. - Dan "brian" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Shiv Prakash wrote: Sir, I have implemented the guest book in web

Re: [PHP] looking for a good gateway - php

2007-07-03 Thread Dan
orthy. There's no simple answer I can give you. It's l ike asking, what's the best linux distro? - Dan "Lester Caine" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Ross wrote: Worldpay is far too expensive.I am looking for a good gateway that.

Re: [PHP] Stop Download managers

2007-07-05 Thread Dan
n a database, and if that counter ever went over let's say 30 in a minute, it would temporarily ban the IP using .htaccess or something of the like that PHP can write. - Dan ""Daniel Brown"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] On 7/5/07

[PHP] Re: PHP Courses in India

2007-07-05 Thread Dan
ea. Sorry I couldn't be more helpfull. - Dan ""OOzy Pal"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] I would like to take PHP courses (intermediate to Advance) in India. Can someone recommend a good institute anywhere in India? -- OOzy Ubuntu-Fe

[PHP] Re: Possible configuration problem w/ php??

2007-07-06 Thread Dan
You should probably contact squrrelmail or roundcube, I believe they are both open source and they are more likely to know the cause of have heard of it before. - Dan ""Jamie Dahl"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] So after I recently

[PHP] Re: Simple PHP setting arrays with keys question

2007-07-09 Thread Dan
Oh yeah, the problem isn't that I'm using -> instead of =>. Well that was a problem but I fixed that and it's still not working. - Dan ""Dan"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] I'm having a little problem assigni

[PHP] Re: Simple PHP setting arrays with keys question

2007-07-09 Thread Dan
Oh yeah, the problem isn't that I'm using -> instead of =>. Well that was a problem but I fixed that and it's still not working. - Dan ""Dan"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] I'm having a little problem assigni

[PHP] Simple PHP setting arrays with keys question

2007-07-09 Thread Dan
I'm having a little problem assigning a value to an array which has a key. It's simple, I just don't know what I'm doing wrong. foreach($Checkout as $value) { $products[] = $value['productName'] -> $value['actualValue']; } HELP!

Re: [PHP] Re: Simple PHP setting arrays with keys question

2007-07-10 Thread Dan
Yeah I wanted "$products[$value['productName']] = $value['actualValue'];". I've been working a lot in Delphi recently so my mind for PHP is somewhat messed up lately, missing easy things like this. - Dan "brian" <[EMAIL PROTECTED]> wrote in

[PHP] Proper way to remove an element from an array

2007-07-10 Thread Dan
n't find any sort of remove element function. I've just never needed to do this before. - Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Proper way to remove an element from an array

2007-07-10 Thread Dan
Thanks, this'll work. - Dan ""Eric Butera"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] On 7/10/07, Dan <[EMAIL PROTECTED]> wrote: I know in some languages there's a right way to remove an element from an array and other ways that

[PHP] Re: Php code in html buttons

2007-07-10 Thread Dan
Thanks man, that post made my day :D. - Dan ""k w"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] I'm trying to make a button execute some php code when the button is clicked. I'm not sure if it is the button i'm coding wrong or the php

[PHP] Re: Displaying HTML characters in real format

2007-07-12 Thread Dan
. This means that if there's an HTML equivelant it will translate into that. For example. ' and " don't have HTML equivelants, it is ', anything with a #number won't get translated. With htmlspecialchars it will. Hope that answered your question. - Dan "Do

[PHP] Re: SMS questions

2007-07-13 Thread Dan
What you're looking for is SMS Spoofing. Here's the first result from googling SMS Spoofing. It provides some services that let you spoof and talks about the legality of doing so http://www.answers.com/topic/sms-spoofing - Dan "Brian Dunning" <[EMAIL PROTECTED]&

Re: [PHP] SMS questions

2007-07-13 Thread Dan
Might want to retry that link, it's broken. - Dan ""Steve Perkins"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Richard makes some good points. Further to the original posting though, I have a friend who works with this SMS stuff, and out

[PHP] Re: header( 'refresh' ), form data, and IE

2007-07-23 Thread Dan
h ajax rather than having the page reloading, and passing variables back, etc. This is the EXACT purpose that Ajax as made for, validation of info. Check out XAJAX it's very simple to use but powerfull when you need it. - Dan "Daniel Kasak" <[EMAIL PROTECTED]> wrote in me

[PHP] Re: Better way to store data in memory?

2007-07-23 Thread Dan
Is there nothing like streams or a data type that's meant to hold lots of binary data in PHP? - Dan "Richard Davey" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hi php-general collective, I'm building up some image data in my PHP script (ready

[PHP] Re: need help,pls

2007-07-26 Thread Dan
been a lot of discussion about good books in the newsgroups in the past, and read that. Most of these topics are covered to some extent in a good book. Also your question is really hard to follow, take a look at this http://www.catb.org/~esr/faqs/smart-questions.html - Dan "esimaje jua

Re: [PHP] Is it possible to stop an image from being cached?

2007-07-26 Thread Dan
te in the past That will effect only the one specific image I use this on when generating it right? - Dan "Tijnema" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] On 7/27/07, Dan <[EMAIL PROTECTED]> wrote: Is this header you're refering to the header of the

Re: [PHP] Is it possible to stop an image from being cached?

2007-07-26 Thread Dan
Is this header you're refering to the header of the page which contains the image, or the image itself? - Dan "Tijnema" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] On 7/27/07, brian <[EMAIL PROTECTED]> wrote: Tijnema wrote: > On 7/26/07, Dan <

[PHP] Is it possible to stop an image from being cached?

2007-07-26 Thread Dan
e to avoid browser caching of an image? - Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: HTML Email Composing Problem.

2007-07-26 Thread Dan
I know it's not specificly a fix to your problem but it might be the easiest solution. Check out http://phpmailer.sourceforge.net/ it lets you specify an html and text body meaning it handles all the content-type stuff for you. It's really a nice solution. ""Tom Ray [Lists]"" <[EMAIL PROTECT

Re: [PHP] Is it possible to stop an image from being cached?

2007-07-26 Thread Dan
Awesome, seems to work. Thanks Tijnema! - Dan ""Dan"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Well, this is only one specific image that constantly changes, the rest of the page is handled regularly. From what you've said if I go with this

[PHP] Re: Malformed Email Date Header

2007-07-26 Thread Dan
han I origionally thought. - Dan ""Chris Aitken"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hi All, Just a query I have which by the looks of my research into it online, still exists on various installations around the world. The websites I buil

[PHP] Re: need insights on encrypting and uploading ASCII file using PHP

2007-07-30 Thread Dan
t) since you'll decrypt it later. - Dan ""John A DAVIS"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] We have various labs that submit coliform sample results in an ASCII file, quoted/comma delimited. We are being asked to encrypt this file for

[PHP] Re: audio recorder

2007-08-01 Thread Dan
7;t it be nice if they could record it using their own recorder, for example on windows there's sound recorder built right in. Then they could have a few takes and upload the best one. And all you would have to do is handle the mp3 or wav upload. - Dan ""John Pillion"&qu

[PHP] Saving

2007-08-06 Thread Dan
Has anyone had to save the insance of a class which had a properties which were pointers? I have a really simple class. Just a few functions and a couple properties & variables. But now I need to be able to save the class to a file. Of course when you re-open the file the pointers will be u

Re: [PHP] Saving

2007-08-06 Thread Dan
Aww fuck! I clicked the wrong newsgroup. Sorry about that guys. "Stut" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Dan wrote: Has anyone had to save the insance of a class which had a properties which were pointers? I have a really simple class. Just a few

[PHP] Re: get domain component from email

2007-08-07 Thread Dan
yes co.uk is a tdl. - Dan "Kevin Waterson" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hi all. Im looking for a way to get the domain from an email address. Not sub domains, just the domain, so [EMAIL PROTECTED] would return example.com.mn similarly, th

[PHP] Re: get domain component from email

2007-08-07 Thread Dan
ist($userName, $mailDomain) = split("@", $email); $anarray = split(".", $mailDomain); for ($i = 0; $i < count($anarray); $i++) { if (in_array($anarray[$i], $TLDArray)) // if $anarray[$i] is a TDL then we move back 1 to get it's domain return $anarray[$i-1] . '.

Re: [PHP] Re: get domain component from email

2007-08-07 Thread Dan
Well then he needs an array of ccTLD's and pretty much anything that can follow a domain name. In my previous code change the array you're giving it to be of ccTLD's and also you might want to pass that array in through the funciton. As I said, been a while since I did PHP.

Re: [PHP] get domain component from email

2007-08-07 Thread Dan
Yup, that's pretty much what I wrote but with a bit more feedback for invalid addresses. - Dan "Jim Lucas" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Kevin Waterson wrote: Hi all. Im looking for a way to get the domain from an email address. Not

[PHP] Re: Premature Ajax-ulation

2007-08-07 Thread Dan
Ahh, the PHP newsgroup. The last place I thought I would see a refrence to a Defcon or Blackhat talk. ""Jay Blanchard"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] One of my developers saw the following article; http://arstechnica.com/news.ars/post/20070802-security-experts-

[PHP] Echoing input w/o sanatizing - what is the danger

2007-08-07 Thread Dan
I've always heard it is bad if you let a user type some input, then show it back to them w/o sanatizing the code. Eg. I have a form, where the user types something, they hit submit and it submits to itself then prints back to the user something like, account created with password: whatever they

Re: [PHP] Echoing input w/o sanatizing - what is the danger

2007-08-07 Thread Dan
Thanks Stut and Daniel, I guess my fears were somewhat unfounded. At least in the case where you're the only one who sees the result. - Dan ""Daniel Brown"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] On 8/7/07, Dan <[EMAIL PROTECTED]>

Re: [PHP] Echoing input w/o sanatizing - what is the danger

2007-08-07 Thread Dan
anything. I'm not doing any database calls, just storing what they typed in either an array or a variable and echoing it. Simple as that. Is that insecure? - Dan ""Daniel Brown"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] I'm just forwa

Re: [PHP] Re: get domain component from email

2007-08-07 Thread Dan
blem with this myself. Plus it makes users once signed up feel more special. - Dan "Kevin Waterson" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] This one time, at band camp, Stut <[EMAIL PROTECTED]> wrote: Which brings me back to my earlier questio

[PHP] Re: Object reference into variable?

2007-08-08 Thread Dan
ve away quickly. - Dan ""Sándor Tamás (GMail)"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] I forgot to tell you that I have to use PHP4.2 because of my web provider. Anything besides of _clone? SanTa - Original Message - From: Hamza Saglam

[PHP] Re: string as file

2007-08-10 Thread Dan
Well, I have no idea what the Phython StringIO method does. Could someone explain in PHP terms maybe? Google gave me this explaining stringIO http://docs.python.org/lib/module-StringIO.html . It didnt' make much sense still after reading it though. - Dan "Rick Pasotto" &l

Re: [PHP] Code Igniter for 'novices' ?

2007-08-10 Thread Dan
Um yeah. The PHPpatterns.com site hasn't been updated for years. Plus I'm unable to find any actual content on anything there. I looked through the indexes but didn't find anything. ""Nathan Nobbe"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] steve, though i havent used c

[PHP] Re: Forwarding $_POST[]...

2007-08-10 Thread Dan
each has a specific function. Does anyone know of an easy to pass data between PHP files? - Dan ""Tony Di Croce"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] I keep wanting to do something, and either I dont know how to do it, or I'm doing someth

[PHP] Hostname Filtering

2006-03-14 Thread Dan
.com'; I want to quickly parse this array and return a simple boolean if I am in the blacklist. I could create a loop and cycle through the array valves and to a regex on each but I was hoping someone would have a more elegant solution. Thanks, Dan T -- PHP General Mailing List (ht

Re: [PHP] Hostname Filtering

2006-03-15 Thread Dan
The hostname lookup does not impact performance at all. I am only doing a look-up on the remote ip of the user not on my full blacklist. I am using this on a site to log hits to a banner ad and on listings on a ebay style marketplace. I log the IP and the hostname on a look- up. Dan T

[PHP] Re: Secure way to handle pw on session.

2008-09-09 Thread Dan
hashes are once way since they are like a sum, the inverse is impossible to compute). - Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Recursive Static Method

2008-11-13 Thread Dan
within the included file is only executed once. You'd need to use include/require (not include_once/require_once) to make execute repeatedly. If this isn't your problem, and you're still having trouble, paste us the code you're using (or a subset of it) and I'll have a look for

[PHP] Important m$6h?3p

2005-01-24 Thread dan
See the ghg5%&6gfz65!4Hf55d!46gfgf -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Using SSL with PHP5's socket_* functions

2005-02-02 Thread dan
Hello, all - I am a bit new to PHP, especially sockets, so what I am asking may very well be comparing apples to oranges. I am writing a function to interact with an SSL server, but I see no way of how I can communicate over SSL. I expected to be able to enter an address such as https://10.10.

Re: [PHP] Delay?

2005-06-02 Thread dan
Danny Brow wrote: On Thu, 2005-06-02 at 15:32 -0400, GamblerZG wrote: Sebastian wrote: yea.. takes hours... sometimes 6+ or more. i dont post that much to the list for this reason.. if it stays like this i'll just unsubscribe.. its pointless... this is suppose to be E-mail, not post office

[PHP] MySQL-4.1.x support for PHP-4.3.11 under Windows

2005-06-25 Thread Dan
Hi all. The mysql dlls bundled with php-4.3.11 for Windows are for mysql-3.x. Are there any pre-compiled dlls for mysql-4.1.x? I kinda need them, pronto, and don't have the time / expertise to compile them under Windows. Dan -- BEGIN-ANTISPAM-VOTING-

[PHP] Mail SMTP settings

2005-12-02 Thread Dan
eived: from mail.wavefront.ca ([unix socket]) by mail.wavefront.ca (Cyrus v2.2.12-OS X 10.4.0) with LMTPA; Fri, 02 Dec 2005 12:45:07 -0700 I've also tried the IMAP functions but also with no success. I basically want the mail to look as though it was from the other domain.

Re: [PHP] Mail SMTP settings

2005-12-03 Thread Dan
Yes that does work but the return path and my mail headers still show the main domain. My point is that PHP should be acessing my SMTP server specified but it is using the default local host instead. Dan T On Dec 3, 2005, at 11:06 AM, Curt Zirzow wrote: On Sat, Dec 03, 2005 at 12:45:24AM

[PHP] Overloading Constructors

2002-11-25 Thread Dan Field
is it doable? ie class myClass { var $myInt; // default constructor function myClass() { } // overloaded constructor function myClass($newInt) { $this->myInt = $newInt; } } -- Dan Field Systems Developm

Re: [PHP] Overloading Constructors

2002-11-25 Thread Dan Field
On Mon, 2002-11-25 at 10:57, Dan Field wrote: > is it doable? well I found a way. It's a bit of a hack but FYI heres how it works: function Form() { // a slight hack which allows us to overload // constructors by the number of args $name = "Form&q

[PHP] XSLT support for RH8

2002-11-27 Thread Dan Kuykendall
I cannot seem to get RH8 to to compile XSLT support. Has anyone else gotten this to work? Anyone with the resulting php-xslt rpm? Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] OpenSSL Encryption to a browser.

2002-11-29 Thread Dan Hardiker
sort of task, but its possible) - Using ssl certificate pairs and installing them in a custom manner on the apache installation - Alternative methods PS: if your not using apache, I cant help you at all. Others may. --- Dan Hardiker [[EMAIL PROTECTED]] ADAM Software & Systems Engineer First Creat

Re: [PHP] hiding php

2002-12-03 Thread Dan Hardiker
t what it is right off the bat. > > That will not work.. try the following: > > telnet yourserve 80 > > and than type GET / HTTP1.0 and press Enter twice > > You'll see the server response which will tell anybody that the server > is Apache and even the operation

RE: [PHP] hiding php

2002-12-03 Thread Dan Hardiker
ed (eg: .cfm as cold fusion), but at a blank completely, eg: http://your-server.com/some.script With .script being parsed by php, but the outside world not knowing what technology you are using behind the scenes. Very simple, yet very effective way of blindfolding the end user. -- Dan Hardiker [[EMAIL

[PHP] querystring and PHP 4

2002-12-04 Thread Dan Wade
he missing something in his install? thanks, -Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Just Curious

2002-12-09 Thread Dan Field
On Sun, 2002-12-08 at 04:31, conbud wrote: > I was just curious, but what program or website do you all use to view and > reply to the newsgroups with ? Ximian Evolution 1.0.8 -- Dan Field Systems Development Officer - Social Services Dept. Ceredigion County C

Re: [PHP] PHP-4.3-dev - What is it for?

2002-12-11 Thread Dan Hardiker
rmation on which lists to use for what (bugs, qa, dev questions) can be found on the php website. -- Dan Hardiker [[EMAIL PROTECTED]] ADAM Software & Systems Engineer First Creative -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Restarting a daemon in PHP

2002-12-12 Thread Dan Hardiker
after sending mail from a PHP webmail > client. I'm puzzled, too... This could because exec statements are executed in the foreground. Your best bet would be to background the process with &. exec("perl myscript.pl &"); -- Dan Hardiker [[EMAIL PROTECTED]] ADAM Softw

RE: [PHP] Re: Compiling php-4.0.6 with MySQL support

2002-12-18 Thread Dan Rossi
not the sources where you put your libmysql, i prefix my apps , as its easier to contain and find stuff -Original Message- From: Igor Shulgin [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 18, 2002 10:00 PM To: electroteque; [EMAIL PROTECTED] Subject: Re: [PHP] Re: Compiling php-4.0.

RE: [PHP] upload_max_filesize + ini_set

2002-12-23 Thread Dan Rossi
maybe someone would like to report it , my reports either get ignored or are false alarms , i am creating a function to get the line upload_max_filesize and change its value in .htaccess its the only way , and this is everytime i load the uploader page -Original Message- From: Ford, Mike [

RE: [PHP] RE: PHP3 + session handling limitation

2002-12-31 Thread Dan Rossi
yes sorry to be vague i've started to try and implement this , but is tedious to get going, plus it has the pear db like functions so upgrading shouldnt be a problem then when it comes round to it -Original Message- From: Tom Rogers [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 31, 20

RE: [PHP] RE: PHP3 + session handling limitation

2002-12-31 Thread Dan Rossi
oh have you got an example proper usage of it ? i had it working then suddenly i didnt :| -Original Message- From: Tom Rogers [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 31, 2002 7:57 PM To: electroteque Cc: [EMAIL PROTECTED] Subject: Re: [PHP] RE: PHP3 + session handling limitation

Re: [PHP] parse error

2003-01-02 Thread Dan Goodes
Or, another option is to use single-quotes in the HTML: echo(""); That way you can include variables in there if you see fit (since the string itself is still double-quoted), and you don't have to worry about escpaing the double-quotes. -Dan On Thu, 2 Jan 2003, Michael J.

RE: [PHP] gettext and translations

2003-01-09 Thread Dan Rossi
how does it work then ? i assumed from the description , you give it a locale and it will translate content from the database into the given language ? damn wish there was something like that -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 09,

RE: [PHP] gettext and translations

2003-01-09 Thread Dan Rossi
have a look at this guys http://www.translator.cx/ i'm installing it now -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 09, 2003 9:11 PM To: electroteque Cc: [EMAIL PROTECTED] Subject: Re: [PHP] gettext and translations Hello, "electroteq

RE: [PHP] php5 cvs

2003-01-12 Thread Dan Rossi
Fatal error caught: Call to private method class_test::echo_test() from context '' in /www/servers/electroteque/web/galleries/classtest.php on line 18 class Class_Test { function Class_Test() { } private function echo_test() { echo "test"; }

RE: [PHP] php5 cvs

2003-01-12 Thread Dan Rossi
its cool , i cant remember where i saw the reference , but it was claiming to prefix the functions with underscores to denote private functions in php 4 for the rollover of php5, it was a pretty legit resource i cant remember where though have too many bookmarks, oh well at least i know now , i th

[PHP] Input field array ends up as "Array" string

2003-01-21 Thread Dan Delaney
ending up as a "string" variable. So I printed it and it contains the string "Array"! Anyone know what's going on here? Thanks --Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Input field array ends up as "Array" string

2003-01-21 Thread Dan Delaney
first to see if the element is an array. Cheers --Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] continue after break

2003-01-22 Thread Dan Lowe
On Wednesday, January 22, 2003, at 10:44 PM, Reymond wrote: Hi everyone, I made a while loop and i'd like to know how to continue looping after I break it, and . Here is my script : I found just break looping on my page, can't continue :( break ends a loop. That's what it does. If you don't

Re: [PHP] continue after break

2003-01-22 Thread Dan Lowe
You are misunderstanding how break and continue work. When you call break, the loop ends. When you call continue, the loop starts over, skipping the part between continue and the end of the loop. When you call break, you're ending the loop. You never even get as far as continue (let alone as

RE: [PHP] set_error_handler inside a class

2003-01-28 Thread Dan Rossi
sorry is there a way to do this in php3 ? my work currently only has php3 , where i am upgrading it for them soon, this is a bummer, i soughta wanna catch errors and show the line and file in the error too -Original Message- From: John W. Holmes [mailto:[EMAIL PROTECTED]] Sent: Wednesday,

<    1   2   3   4   5   6   7   8   9   10   >