[PHP] Mac Address Lookup
I am trying to do a lookup of a Mac Address via PHP. Is there any way to do so like gethostbyaddr that gets me the name of a machine? Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Form's : making me sick!
Couldn't you also make your initial page a php page? So then you would have onChange as Steffan says but then pass the values to self.php?vars which would then be used by the php page to fill in the next select with vars? Hope that makes sense.. On Tue, 13 Nov 2001, PACKER, Steffan wrote: You cannot nest forms however if you set the action to the same page and submit the entire form to itself, then you can use javascript to change the action to the eventual target by using an onChange event on the final field: input type=text name-lastField onChange=document.formName.action='newAction.cgi' Hope this helps! Steffan -Original Message- From: De Necker Henri [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 13, 2001 1:10 PM To: PHP-General (E-mail) Subject: [PHP] Form's : making me sick! I just want to know how to make a form inside a form get to respond or dont make any browser errors? It looks someting like this : form input type = text input type = text form select onchange = this.form.submit(); //This must change the next select values ! /select /form select //this values must be cahnge /select /form Everthing is working fine but i just cant get the two forms to work together.If i only can get some ideas on what action,or onchange values to change it will be greatfull! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] _ This message has been checked for all known viruses by the MessageLabs Virus Scanning Service. For further information visit http://www.messagelabs.com/stats.asp DISCLAIMER Any opinions expressed in this email are those of the individual and not necessarily the company. This email and any files transmitted with it, including replies and forwarded copies (which may contain alterations) subsequently transmitted from the Company, are confidential and solely for the use of the intended recipient. It may contain material protected by attorney-client privilege. If you are not the intended recipient or the person responsible for delivering to the intended recipient, be advised that you have received this email in error and that any use is strictly prohibited. If you have received this email in error please notify the Network Manager by telephone on +44 (0) 870 243 2431. Please then delete this email and destroy any copies of it. This email has been swept for viruses before leaving our system. Admiral Insurance Services Limited, Cardiff CF10 3AZ _ This message has been checked for all known viruses by the MessageLabs Virus Scanning Service. For further information visit http://www.messagelabs.com/stats.asp --- Ashwin kutty.. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Symbolic Link - Security Issue?
Hi, I have a directory with an index.php script so that the url is something along the lines of http://www.mydomain.com/search/ .. Now following the same logic I wanted to write another script but not bother creating another directory so I wrote my script called test.php and then created a symbolic link to it by pointing 'test' (without the quotes, of course) to test.php and upon going to http://www.mydomain.com/search/test I got my script's source displayed in plain text on the browser .. Now maybe this is something I shouldnt be doing or the way I have the webserver configured but, just thought Id find out, by checking to see if anyone else knows anything about this.. BTW, I am on a Redhat 8 Linux (kernel version 2.4.7-2) server running php version 4.0.6 and I have checked in the conf of Apache to see for the source its set to phps .. Thanks.. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] header() + link..
Hi, I thought as much.. And no, dont want to use frames.. Id rather just have the URL shown in the Location Field.. I do realise, there is no real way to ever hide the URL, however, I just dint want to make it too obvious for the users to bookmark or pass around to people who are not authorized to view the page.. However, thanks for the reply.. * RzE: wrote: Reply There's actually no good way to achieve it in a different way. You could include/require the new page, but that's actually what you don't want (quoteBesides printing the page in the script itself/quote). But there is a different way to do it. It concerns the frame-layout, though. 'Cause if you use frames, the URL of one of the frames will not be shown in the location bar. But then you'll have to use frames, which I don't know if you want. One thing I can tell you though... of a page that's being shown, you cannot hide the URL. Never. /Reply -- * RzE: -- -- Renze Munnik -- DataLink BV -- -- E: [EMAIL PROTECTED] -- W: +31 23 5326162 -- F: +31 23 5322144 -- M: +31 6 21811143 -- -- Stationsplein 82 -- 2011 LM HAARLEM -- Netherlands -- -- http://www.datalink.nl -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] header() + link..
Hi, Is there a simple way to hide the redirect url when using the header function? I would like for the script url or even the form url to remain, but not the redirected url.. Besides printing the page in the script itself, would there be any other way? Any help is appreciated.. thanks.. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] File Open and Writes..
Hi, I have a little function in my script that used to work until a little while back and for some reason it has decided to act up.. It is a basic function that reads a number from a file and then processes it, but increments it by 1, writes it back to the file and closes it.. now it used to work ok, but somehow, suddenly.. The function looks something along the lines of.. $filename ='/path/to/my/file/filet'; $fd = fopen( $filename,r); $prev_ord_id = fread ($fd, filesize ($filename)); $order_id = $prev_ord_id+1; fclose( $fd ); $ord_id = BW . $order_id; $fp = fopen( $filename,w+); fwrite( $fp, $order_id, 26); fclose( $fp ); The version of PHP on the server is:- 4.0.4pl1 and it sits on a RedHat Linux 7.1 server.. I know there were some questions about file related functions in one of the versions of PHP but since this was working fine until now, I dont know..? -- Wise men talk because they have something to say; fools talk because they have to say something. - Plato Ashwin Kutty Systems Administrator Dalhousie University Libraries (902) 494-2694 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] php chat or customer support center
try phprojekt @ http://www.PHProjekt.de its quite a good product and does a lot more that just one-on-one chat and in fact is a complete suite for customer support.. On Tue, 8 May 2001, Black S. wrote: We have all seen these one-on-one chat systems placed on sites like home.com and others. You can click on a button and chat live with a customer service agent. Does anyone know if a PHP based system like this exists? If not, what are your recommendations for such a system? Java? Thanks All, Blake S. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Anyone interested to build with me a chat software (in php and MySQL)
PHPProjeckt at the following URL has not only a chat utility but a whole lot others built in, maybe you should look into it.. http://www.phprojekt.de/en/ On Tue, 20 Mar 2001, Marian Vasile wrote: I want to create a free php and MySQL chat. Anyone interested in this project ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] --- Ashwin kutty.. Systems Administrator Dalhousie University Libraries (902) 494-2694 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Develop e-mail like using PHP
There is one already made called, IMP at http://www.horde.org/imp/ On Tue, 13 Mar 2001, Szeto wrote: Hello, My company currently undergo a project to develop Internet e-mail system using PHP and Unix OS. I wondering what do i needed to understand before working on this project or any sample that i can download thank you -- -- Any suggestions would be appreciated. Thank You Khai Mun, Ng -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] --- Ashwin kutty.. Systems Administrator Dalhousie University Libraries (902) 494-2694 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Strings..
Was wondering if someone could tell me how I could do this.. I need the dynamically generated number (NUM) from a string, where the string is:- http://blah.blah.com/blah/blah?blah.com/blah=something:%3Asessionid=NUMdbname=blah Now I tried explode and split, with the '' being as the delimiter, but how do you dump the rest of the string.. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Dynamic Links..
We wont.. Their banners, logos, URL's etc. appear on the pages, so even if it is in the frameset, it will be fine.. Jon Haworth wrote: As a quick caveat you need to be *very* careful you're not obfuscating the target site copyright infringement, anyone? -Original Message- From: Richard S. Crawford [mailto:[EMAIL PROTECTED]] Sent: 08 March 2001 00:02 To: Ashwin Kutty; [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Dynamic Links.. At our company we solve this problem by including the second page in a frameset. That's what I would recommend for you. At 07:39 PM 3/7/01 -0400, Ashwin Kutty wrote: No, not the URL and therefore not HTTP_REFERER.. This is how it is.. My_Script.php redirects to Someone_Elses_Dynamically_Generated_Page.html Someone_Elses_Dynamically_Generated_Page.html has 'link' to another Page. I want My_Script.php to grab the a href="contents" of the 'link' and redirect to it, right after. The reason I want to do the above is, the first page dynamically creates a session id and attaches it to the 'link'.. I need that session id to continue on, and since this page is not on my server I cant control it.. Thanks.. ** 'The information included in this Email is of a confidential nature and is intended only for the addressee. If you are not the intended addressee, any disclosure, copying or distribution by you is prohibited and may be unlawful. Disclosure to any party other than the addressee, whether inadvertent or otherwise is not intended to waive privilege or confidentiality' ** -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- "Wise men talk because they have something to say; fools talk because they have to say something." - Plato Ashwin Kutty Systems Administrator Dalhousie University Libraries (902) 494-2694 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Dynamic Links..
I dont want to get into a long drawn out debate about the copyright infringements since we have already established our agreements with the companies.. You are right of course, sometimes the URL does tell it all, and as I mentioned, and if you read my note carefully, "Their banners, logos, URL's etc. appear on the pages.."; mind you this is also not required by the company in question, but we are doing it nonetheless.. Thanks for the heads up anyways.. "Boget, Chris" wrote: As a quick caveat you need to be *very* careful you're not obfuscating the target site copyright infringement, anyone? We wont.. Their banners, logos, URL's etc. appear on the pages, so even if it is in the frameset, it will be fine.. Yes, but their URL won't be in the address line. Not that it makes much of a difference, the site in question might actually care about that. A URL is as much a product brand as a logo is. Chris -- "Wise men talk because they have something to say; fools talk because they have to say something." - Plato Ashwin Kutty Systems Administrator Dalhousie University Libraries (902) 494-2694 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Dynamic Links..
Hi, I want ease the authentication process of the users on my network.. Now, here is the problem.. I have a php script that re-directs to another company's page.. In that page, there is a link to go forward, but that link has a session id in it, that is dynamically generated when the page is called.. What I need is the contents of that link, is there any way to grab it? What I need is the contents of that dynamic link since it has a session id.. So, for example.. test.php - othercompany.html - dynamic link from other company.html Thanks.. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Dynamic Links..
No, not the URL and therefore not HTTP_REFERER.. This is how it is.. My_Script.php redirects to Someone_Elses_Dynamically_Generated_Page.html Someone_Elses_Dynamically_Generated_Page.html has 'link' to another Page. I want My_Script.php to grab the a href="contents" of the 'link' and redirect to it, right after. The reason I want to do the above is, the first page dynamically creates a session id and attaches it to the 'link'.. I need that session id to continue on, and since this page is not on my server I cant control it.. Thanks.. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Knowledgebase HelpDesk
Anyone know of any project in the works right now that is a HelpDesk and Knowledgebase combined? Thanks.. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]