Re: [PHP] PHP and curl

2013-09-26 Thread Shawn McKenzie
Unfortunately this isn't anything to do with PHP. I don't have any info on the app, what it's supposed to return or what the parameter passed should be. The PHP soap call is working, but the app isn't returning what you want or expect I guess. On Thu, Sep 26, 2013 at 8:36 AM, Alf Stockton wrot

Re: [PHP] PHP and curl

2013-09-25 Thread Shawn McKenzie
Keep on list. $result = $client->GetSequenceNo( "CIS" ); shouldn't be throwing that error. Maybe you are trying to do something with $result afterwards? Try var_dump($result); On Wed, Sep 25, 2013 at 10:12 AM, Alf Stockton wrote: > > On 25/09/13 16:52, Shawn McKenzie wrote: > > $client->GetS

Re: [PHP] PHP and curl

2013-09-25 Thread Shawn McKenzie
SOAP functions can be called as methods of the SoapClient object. Maybe: $client->GetSequenceNo( $parameters ); -Shawn On Wed, Sep 25, 2013 at 9:17 AM, Alf Stockton wrote: > In an attempt to interface with a webservice on a Windows 7 server I have > started writing the following:- > [code] >

[PHP] PHP and curl

2013-09-25 Thread Alf Stockton
In an attempt to interface with a webservice on a Windows 7 server I have started writing the following:- [code] $client = new SoapClient("http://192.168.0.10/CISWebService/Mediamanager.asmx?WSDL";); var_dump($client->__getFunctions()); $result = $client->__doRequest("GetSequenceNo

RE: [PHP] PHP and Powershell

2013-07-22 Thread Alan Loos
...@gmail.com] Sent: Monday, July 22, 2013 4:09 AM To: Alan Loos Cc: php-general@lists.php.net Subject: Re: [PHP] PHP and Powershell Hi, Thanks for your change. I understand what has happend, from MSDN forums http://social.technet.microsoft.com/Forums/windowsserver/en-US/4b841530-9d8c-4d09-a77c-b89c6e

Re: [PHP] PHP and Powershell

2013-07-22 Thread Serge Fonville
f46c9f15-70b4-496c-a9d6... > NotConnected > > [5] => > > [6] => > > ) > > > > End Of Scene > -- > > > > > > *Alan Loos* > > > > CONFIDENTIALITY NOTICE: This e-mail and the attachment(s)

RE: [PHP] PHP and Powershell

2013-07-19 Thread Alan Loos
ccompanying attachment(s) is strictly prohibited. If you have received this e-mail in error, please immediately notify the sender by return e-mail. From: Serge Fonville [mailto:serge.fonvi...@gmail.com] Sent: Friday, July 19, 2013 12:16 PM To: Alan Loos Cc: php-general@lists.php.net Subject: Re: [P

Re: [PHP] PHP and Powershell

2013-07-19 Thread Tedd Sperling
To all: Sorry for top posting and sorry for sounding like the list-police, but you need to trim the excess from your post. Hitting reply without considering that other have to read through a bunch of old add-on email is not good. So, please just trim your post to what is important. Cheers, te

Re: [PHP] PHP and Powershell

2013-07-19 Thread Serge Fonville
d and intended only for > the addressee(s) hereof. If you are not an intended recipient, you are > hereby notified that any disclosure, copying, distribution or use of this > e-mail and/or the accompanying attachment(s) is strictly prohibited. If you > have received this e-mail in error,

RE: [PHP] PHP and Powershell

2013-07-19 Thread Alan Loos
mailto:serge.fonvi...@gmail.com] Sent: Friday, July 19, 2013 11:13 AM To: Alan Loos Cc: php-general@lists.php.net Subject: Re: [PHP] PHP and Powershell How have you determined that invoke-command requires -computername? Kind regards/met vriendelijke groet, Serge Fonville http://www.sergefonville.

Re: [PHP] PHP and Powershell

2013-07-19 Thread Serge Fonville
mail.com] > *Sent:* Friday, July 19, 2013 3:05 AM > *To:* Alan Loos > *Cc:* php-general@lists.php.net > *Subject:* Re: [PHP] PHP and Powershell > > ** ** > > Hi, > > Although this is more powershell related than PHP... > > When Powershell returns an object, you

RE: [PHP] PHP and Powershell

2013-07-19 Thread Alan Loos
il. From: Serge Fonville [mailto:serge.fonvi...@gmail.com] Sent: Friday, July 19, 2013 3:05 AM To: Alan Loos Cc: php-general@lists.php.net Subject: Re: [PHP] PHP and Powershell Hi, Although this is more powershell related than PHP... When Powershell returns an object, you can pipe the output through

Re: [PHP] PHP and Powershell

2013-07-19 Thread Serge Fonville
Hi, Although this is more powershell related than PHP... When Powershell returns an object, you can pipe the output through Select-Object to get only certain object properties. To better answer your question: First, why do you specify ComputerName as 127.0.0.1 if the credential is already specif

[PHP] PHP and Powershell

2013-07-18 Thread Alan Loos
Good morning everyone, First time posting in here, although I've been listening in for a few weeks now. So this one has got me stumped, I am fairly new to PHP but I cannot seem to Google through this one. I cannot figure out how to 'exclude' PSComputerName and RunspaceId, which is ultimately w

[PHP] PHP and webmaster tools

2011-11-02 Thread Rick Dwyer
Hello list. I am looking for someone who knows PHP and has extensive experience with webmaster tools. I have a series of crawl errors I need resolved but cannot find the bad URL's anywhere on the site. Please contact me off list. Thanks, --Rick -- PHP General Mailing List (http://www.php.

Re: [PHP] PHP and Windows 7 g6-bit (Solved)

2011-06-15 Thread Byron Como
On 6/15/2011 1:59 PM, Tim Thorburn wrote: On 6/15/2011 11:37 AM, Byron Como wrote: Does the precompiled windows binary work on win 7 64? It does, however if you're using Apache as your webserver, for PHP 5.3+ you won't be able to use the binaries from apache.org for Windows. There is a link

Re: [PHP] PHP and Windows 7 g6-bit

2011-06-15 Thread Tim Thorburn
On 6/15/2011 11:37 AM, Byron Como wrote: Does the precompiled windows binary work on win 7 64? It does, however if you're using Apache as your webserver, for PHP 5.3+ you won't be able to use the binaries from apache.org for Windows. There is a link to Apache Lounge found here: http://window

[PHP] PHP and Windows 7 64-bit

2011-06-15 Thread Byron Como
Does the precompiled windows binary work on win 7 64? I downloaded the apache installer, works with no problems. I got the php5 VC6 x86 Thread Safe version. It says "x86" so I'm guessing that's the problem. I can't find a current 64-bit version. Error message: Faulting application name: httpd

[PHP] PHP and Windows 7 g6-bit

2011-06-15 Thread Byron Como
Does the precompiled windows binary work on win 7 64? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP and HBCI?

2010-10-08 Thread Per Jessen
Stephan Ebelt wrote: > > common is probably XML via HTTPS transport (at least my bank seems to > do it that way). I have no C code whatsoever. > > Can PHP call arbitrary C functions? Then it might be possible to use > AqHBCI/AqBanking somehow? You (or someone) would need to write a PHP wrapper

Re: [PHP] PHP and HBCI?

2010-10-08 Thread Stephan Ebelt
phan >> >> >> >> >>> Thanks, >>> Ash >>> http://www.ashleysheridan.co.uk >>> >>> - Reply message - >>> From: "Stephan Ebelt" >>> Date: Fri, Oct 8, 2010 13:37 >

Re: [PHP] PHP and HBCI?

2010-10-08 Thread Sebastian Detert
nk account statements in order to show the balances. I am not too eager to issue transactions. thanks, stephan Thanks, Ash http://www.ashleysheridan.co.uk - Reply message - From: "Stephan Ebelt" Date: Fri, Oct 8, 2010 13:37 Subject: [PHP] PHP and HBCI? To: "PHP"

Re: [PHP] PHP and HBCI?

2010-10-08 Thread Stephan Ebelt
nt to process payments? Or wad it more of an > actual banking thing you needed? I've not heard of hbci before, so can't > offer much information back. > > Thanks, > Ash > http://www.ashleysheridan.co.uk > > - Reply message - > From: "Stephan Ebelt"

Re: [PHP] PHP and HBCI?

2010-10-08 Thread Stephan Ebelt
t; From: "Stephan Ebelt" > Date: Fri, Oct 8, 2010 13:37 > Subject: [PHP] PHP and HBCI? > To: "PHP" > > > Hello, > > is there a way to do HBCI banking with PHP? > > stephan > > > -- > PHP General Mailing List (http://www.php

RE: [PHP] PHP and HBCI?

2010-10-08 Thread Jay Blanchard
[snip] is there a way to do HBCI banking with PHP? [/snip] yes. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP and HBCI?

2010-10-08 Thread a...@ashleysheridan.co.uk
Fri, Oct 8, 2010 13:37 Subject: [PHP] PHP and HBCI? To: "PHP" Hello, is there a way to do HBCI banking with PHP? stephan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP and HBCI?

2010-10-08 Thread Stephan Ebelt
Hello, is there a way to do HBCI banking with PHP? stephan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP and SpatiaLite

2010-10-01 Thread TR Shaw
Anyone succeeded in geting php and SpatiaLite to work together?

Re: [PHP] PHP and schedules tasks/events

2010-04-16 Thread Ryan Sun
you can setup a schedule table in db and have a cron php script check the db every time and send email if the current time is around the scheduled_at time and close the schedule after you send the email On Fri, Apr 16, 2010 at 5:35 PM, Adam Richardson wrote: > On Fri, Apr 16, 2010 at 5:15 PM, Don

Re: [PHP] PHP and schedules tasks/events

2010-04-16 Thread Adam Richardson
On Fri, Apr 16, 2010 at 5:15 PM, Don Wieland wrote: > On Apr 16, 2010, at 1:26 PM, Bastien Koert wrote: > > Run a cronjob at midnight and send the email. Track who it got sent >> to, so you don't duplicate it. Easy peasy! >> > > This is fine if the email is to be sent at midnight. > > I am lookin

Re: [PHP] PHP and schedules tasks/events

2010-04-16 Thread Don Wieland
On Apr 16, 2010, at 1:26 PM, Bastien Koert wrote: Run a cronjob at midnight and send the email. Track who it got sent to, so you don't duplicate it. Easy peasy! This is fine if the email is to be sent at midnight. I am looking for more refinement. For example: A user signs up for an event -

Re: [PHP] PHP and schedules tasks/events

2010-04-16 Thread Bastien Koert
On Fri, Apr 16, 2010 at 4:20 PM, Don Wieland wrote: > Hi all, > > I am in need to schedule reminder emails and was wonder how to do this via > PHP / mySQL > > For example, I would like to give my user the ability to sign-up for an > event and have an email reminder generated X amount of time befor

[PHP] PHP and schedules tasks/events

2010-04-16 Thread Don Wieland
Hi all, I am in need to schedule reminder emails and was wonder how to do this via PHP / mySQL For example, I would like to give my user the ability to sign-up for an event and have an email reminder generated X amount of time before the event. I appreciate any feedback on how to do thi

Re: [PHP] PHP and javascript

2010-01-19 Thread Rene Veerman
oh, and if you're going to use ajax->non-phphttpd->php->andback, then check if your dear non-php httpd abuses the CPU while waiting for PHP to return the results... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP and javascript

2010-01-19 Thread Rene Veerman
To do what you want that new httpd server should at least be able to call up PHP via cli / whatever, and retrieve the output. It also needs to provide what's in php called $_GET and $_POST. Assuming you got that covered, then yes, you could route the calls via ajax (i recommend jquery.com for that

Re: [PHP] PHP and javascript

2010-01-15 Thread Ashley Sheridan
On Fri, 2010-01-15 at 14:07 -0500, Andres Gonzalez wrote: > How do I call PHP code that will run server side, from javascript code > that is running client side? > > I have a lot of PHP server side code written and working within > CodeIgniter. Now, my project > has changed and (for reasons un

Re: [PHP] PHP and javascript

2010-01-15 Thread Ryan Sun
I don't think you can call php cli from client javascript unless you have a wrapper http interface On Fri, Jan 15, 2010 at 2:07 PM, Andres Gonzalez wrote: > How do I call PHP code that will run server side, from javascript code that > is running client side? > > I have a lot of PHP server side co

[PHP] PHP and javascript

2010-01-15 Thread Andres Gonzalez
How do I call PHP code that will run server side, from javascript code that is running client side? I have a lot of PHP server side code written and working within CodeIgniter. Now, my project has changed and (for reasons unimportant to this discussion) we are now NOT going to use apache and

Re: [PHP] php and XML BibTeX

2010-01-13 Thread Paul M Foster
On Wed, Jan 13, 2010 at 12:45:53PM -0800, Michael A. Peters wrote: > Hi - > > Currently on my web site, book and article references are just stored in > the database. While it works, I actually would like to move that out of > the database and to an XML file, the reason being is that if/when I nee

[PHP] php and XML BibTeX

2010-01-13 Thread Michael A. Peters
Hi - Currently on my web site, book and article references are just stored in the database. While it works, I actually would like to move that out of the database and to an XML file, the reason being is that if/when I need to add fields etc. to the referenced sources, it's a lot easier to just

Re: [PHP] PHP and SEO Workarounds

2009-12-20 Thread Ashley Sheridan
On Sun, 2009-12-20 at 20:05 -0500, Gautam Bhatia wrote: > hey guys, > Thanks a lot everyone for the links and suggestions , > I will take a look into mod_rewrite and search engine friendly URL's To > make the site more efficient , > > > Regards, > Gautam bhatia. > mail2gauta

Re: [PHP] PHP and SEO Workarounds

2009-12-20 Thread Gautam Bhatia
hey guys, Thanks a lot everyone for the links and suggestions , I will take a look into mod_rewrite and search engine friendly URL's To make the site more efficient , Regards, Gautam bhatia. mail2gautambha...@gmail.com On Sun, 2009-12-20 at 12:44 +, Ashley Sheridan wr

Re: [PHP] PHP and SEO Workarounds

2009-12-20 Thread TG
stuffing as many keywords in as possible. The search engines are pretty smart. Write good content and write it for humans... make it relevant to the topic and your audience and the search engines will see that and deliver it to your audience higher in search rankings. There are other things,

Re: [PHP] PHP and SEO Workarounds

2009-12-20 Thread Ashley Sheridan
On Sun, 2009-12-20 at 12:15 -0500, Gautam Bhatia wrote: > hey folks, > This is in regards to SEO and PHP, From what i have > read , most (Not all) the PHP Contents is dynamic , which makes it so > powerfull , but it also means that chances of it being indexed in search > engines ar

Re: [PHP] PHP and XML

2009-11-22 Thread Sudheer Satyanarayana
What do you recommend me to produce XML from those news of the SQL database?. What do you suggest to output XML from the existing content to then put those XML files into Flash. The posted news are saved in a MySQL database. I don't know if do I need to output from PHP then parse the output

Re: [PHP] PHP and XML

2009-11-22 Thread Phpster
I would just use concatenations and strings to build the XML. It's not gonna matter to the flash swf when it gets the string as it will attempt the data as XML. Bastien Sent from my iPod On Nov 22, 2009, at 2:27 PM, Juan Marcelo Rodríguez Monti r> wrote: Hi people, I have some doubts abou

[PHP] PHP and XML

2009-11-22 Thread Juan Marcelo Rodríguez Monti
Hi people, I have some doubts about this topic that I'm gonna explain. I have a few sites in flash, and I was requested to write a PHP frontend to send news. I have this already done and it works perfect. It's a LAMP App to send and edit news, post video, images and so on. Then, I need to put

Re: [PHP] PHP and Javascript escape character problem, --> those who like to solve things can try to solve this issue, its tricky I think ;)

2009-11-02 Thread Devendra Jadhav
:) On Mon, Nov 2, 2009 at 4:56 PM, acetrader wrote: > > lol thank you very much guys :) the escape character worked and now its > accepting my javascript functions, thank you all very much :) > :jumping::jumping: > -- > View this message in context: > http://old.nabble.com/PHP-and-Javascript-esc

Re: [PHP] PHP and Javascript escape character problem, --> those who like to solve things can try to solve this issue, its tricky I think ;)

2009-11-02 Thread acetrader
lol thank you very much guys :) the escape character worked and now its accepting my javascript functions, thank you all very much :) :jumping::jumping: -- View this message in context: http://old.nabble.com/PHP-and-Javascript-escape-character-problem%2C---%3E-those-who-like-to-solve-things-can-

Re: [PHP] PHP and Javascript escape character problem, --> those who like to solve things can try to solve this issue, its tricky I think ;)

2009-11-02 Thread Ashley Sheridan
On Mon, 2009-11-02 at 16:51 +0530, Devendra Jadhav wrote: > Ashley Sheridan: > > btw: I know I've written onClik wrong but I wrote it this way in this > forum > > cause it wouldn't let me post my thread because it regards it as an > illegal > > tag lol. B-)B-) > > :D > > > On Mon, Nov 2, 2009 a

Re: [PHP] PHP and Javascript escape character problem, --> those who like to solve things can try to solve this issue, its tricky I think ;)

2009-11-02 Thread Devendra Jadhav
Ashley Sheridan: > btw: I know I've written onClik wrong but I wrote it this way in this forum > cause it wouldn't let me post my thread because it regards it as an illegal > tag lol. B-)B-) :D On Mon, Nov 2, 2009 at 4:38 PM, Ashley Sheridan wrote: > On Mon, 2009-11-02 at 00:53 -0800, acetrade

Re: [PHP] PHP and Javascript escape character problem, --> those who like to solve things can try to solve this issue, its tricky I think ;)

2009-11-02 Thread Stuart
2009/11/2 Ashley Sheridan : > On Mon, 2009-11-02 at 00:53 -0800, acetrader wrote: > >> Hi there, >> >> I am doing an application that allows me to create RSS channels and put >> feeds inside of each channel. Everything works so far, but - now I have >> started to do the 'Edit Channel', 'Edit Feed',

Re: [PHP] PHP and Javascript escape character problem, --> those who like to solve things can try to solve this issue, its tricky I think ;)

2009-11-02 Thread Ashley Sheridan
On Mon, 2009-11-02 at 00:53 -0800, acetrader wrote: > Hi there, > > I am doing an application that allows me to create RSS channels and put > feeds inside of each channel. Everything works so far, but - now I have > started to do the 'Edit Channel', 'Edit Feed', 'Delete Channel' and 'Delete > Fee

Re: [PHP] PHP and Javascript escape character problem, --> those who like to solve things can try to solve this issue, its tricky I think ;)

2009-11-02 Thread Devendra Jadhav
Hey, You can do it this way as well $myFeedHTML .= " $feedItemImagePath > DeleteChannelAndAllOfItsFeeds()\" /> />DELETE"; So you can escape double quotes by \ (slash) try this .. It will work... you can escape any special character that you want to use as it is by prepend it by \ On Mon, N

[PHP] PHP and Javascript escape character problem, --> those who like to solve things can try to solve this issue, its tricky I think ;)

2009-11-02 Thread acetrader
Hi there, I am doing an application that allows me to create RSS channels and put feeds inside of each channel. Everything works so far, but - now I have started to do the 'Edit Channel', 'Edit Feed', 'Delete Channel' and 'Delete Feed' functionalities and have run into a problem. For me its a big

[PHP] php and ODBC

2009-09-04 Thread Marc Fromm
I am trying to figure out how to use ODBC with PHP. Specifically I need to connect a php script to a SunGard Banner table I know I need to set up some type of DNS connection, but I am not sure what exactly that is. [r...@dev ~]$ odbcinst -j unixODBC 2.2.11 DRIVERS: /etc/odbcinst.ini S

Re: [PHP] PHP and CGI

2009-08-20 Thread sono-io
Hi Tedd, In your .htacess file add this: # handler for phpsuexec. -- makes following prefixes considered for php SetHandler application/x-httpd-php Thanks for the code. I placed it in the .htaccess file for the output templates, but unfortunately it didn't work. It just prints ou

Re: [PHP] PHP and CGI

2009-08-19 Thread tedd
At 5:10 PM -0700 8/18/09, sono...@fannullone.us wrote: I've searched high and low for an answer to this. Hopefully someone here might know. Can PHP be used under a CGI? I tried to put the following code on one of my perl shopping cart pages but it doesn't work: "; for ($year = date("Y") ;

RE: [PHP] PHP and CGI

2009-08-18 Thread Daevid Vincent
> -Original Message- > From: sono...@fannullone.us [mailto:sono...@fannullone.us] > Sent: Tuesday, August 18, 2009 5:10 PM > To: PHP General List > Subject: [PHP] PHP and CGI > > I've searched high and low for an answer to this. > Hopefully some

[PHP] PHP and CGI

2009-08-18 Thread sono-io
I've searched high and low for an answer to this. Hopefully someone here might know. Can PHP be used under a CGI? I tried to put the following code on one of my perl shopping cart pages but it doesn't work: "; for ($year = date("Y") ; $year <= date("Y") + 8 ; $year++) { echo "$y

Re: [PHP] PHP and FoxPro

2009-07-21 Thread Floyd Resler
Matt, Thanks for the tip on handling memos. I always thought, "If I could just append to the end of the existing string..." but never figured out how to do it. I'll give your method a shot. Thanks! Floyd On Jul 21, 2009, at 2:04 PM, Matt Neimeyer wrote: What I did to handle memos... an

Re: [PHP] PHP and FoxPro

2009-07-21 Thread Matt Neimeyer
What I did to handle memos... and it's a HACK... was to create a function DoMemo that took as arguments the table, the primary key field of the table, the value of said pk, the field to update, and the string. Take the first 200 characters of the string. Replace all newlines in that substring with

Re: [PHP] PHP and FoxPro

2009-07-21 Thread Floyd Resler
Matt, Thanks for the information. I'll look into using ODBTP. I noticed you mentioned the problem with memos. I currently have that problem with the set up we're using and it is a pain! Thanks! Floyd On Jul 20, 2009, at 3:22 PM, Matt Neimeyer wrote: We currently use the Easysoft ODBC B

Re: [PHP] PHP and FoxPro

2009-07-20 Thread Matt Neimeyer
> We currently use the Easysoft ODBC Bridge to connect to a remote FoxPro > database. The problem is that the bridge, after a while, starts consuming a > ton of system resources and we have to reboot the machine. Afterwards, it > can take upwards to two hours before everything is running quickly

Re: [PHP] PHP and FoxPro

2009-07-20 Thread Floyd Resler
Paul, Believe me I would like nothing more that to get rid of FoxPro and convert it to MySQL. Sadly, that's not possible right now. I'll check into dBase. Thanks! Floyd On Jul 19, 2009, at 4:53 PM, Paul M Foster wrote: On Sun, Jul 19, 2009 at 09:00:49AM -0400, Floyd Resler wrote: We c

Re: [PHP] PHP and FoxPro

2009-07-19 Thread Paul M Foster
On Sun, Jul 19, 2009 at 09:00:49AM -0400, Floyd Resler wrote: > We currently use the Easysoft ODBC Bridge to connect to a remote > FoxPro database. The problem is that the bridge, after a while, > starts consuming a ton of system resources and we have to reboot the > machine. Afterwards, it can

[PHP] PHP and FoxPro

2009-07-19 Thread Floyd Resler
We currently use the Easysoft ODBC Bridge to connect to a remote FoxPro database. The problem is that the bridge, after a while, starts consuming a ton of system resources and we have to reboot the machine. Afterwards, it can take upwards to two hours before everything is running quickly

Re: [PHP] Php and regex help or advice

2009-06-17 Thread Martin Scotta
HTML usually change very often. Especially properties. A link can change from: Home to: Home So, your regex must avoid using the properties to match elements So, I think this should be a better expresion preg_match_all( '#]*>]*>(.+)(.+)(.+)Critical Violations Found:#imsU', $html, // <-- y

[PHP] Php and regex help or advice

2009-06-17 Thread Miller, Terion
Hi Everyone, Ok, so I've been plunged further into using php by being tasked to use it with regex (yes tylenol extra strength needed please) So far I have my code that grabs a full block of text by paragraphs, now I have to somehow write a snippet that goes inside this block and pulls out each lin

Re: [PHP] Php and Imagemagick problems

2009-06-10 Thread Simon
What exactly is the problem or error message you get? Also if this is your script, really, it needs a LOT of cleanup!! Here's an example that could point out the problem: > $FileName = > str_replace(".jpg", "", $FileName); > > $FileName = > str_replace("/", "", $ImageName); > $Fil

[PHP] Php and Imagemagick problems

2009-06-09 Thread Miller, Terion
I am having a heck of a time getting a script to convert images to workit worked fine for a few hours, then someone "tweaked it" and now it doesn't work and I can't get it back...they "tweaked" the original file The script runs and uploads files but no longer "converts" them with the Image

RE: [PHP] PHP and Send Mail

2009-04-09 Thread Jay Blanchard
[snip] And not one RTFM? [/snip] It is because I wasn't online at the time of the crime. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP and Send Mail

2009-04-08 Thread Phpster
And not one RTFM? Bastien Sent from my iPod On Apr 8, 2009, at 20:58, Chris wrote: Alejandro Esteban Galvez wrote: Hi!, I am making a web system and i need known how send a mail using PHP http://www.php.net/manual/en/function.mail.php -- Postgresql & php tutorials http://www.designmagic

Re: [PHP] PHP and Send Mail

2009-04-08 Thread Chris
Alejandro Esteban Galvez wrote: Hi!, I am making a web system and i need known how send a mail using PHP http://www.php.net/manual/en/function.mail.php -- Postgresql & php tutorials http://www.designmagick.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://w

Re: [PHP] PHP and Send Mail

2009-04-08 Thread Jason Pruim
Alejandro Esteban Galvez wrote: Hi!, I am making a web system and i need known how send a mail using PHP Bye HTTP://www.php.net/mail -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP and Send Mail

2009-04-08 Thread Alejandro Esteban Galvez
Hi!, I am making a web system and i need known how send a mail using PHP Bye --- Alejandro Esteban Galvez Administrador de Red IPICHMC Rimed, Radio-Aficionado CL2AEG Linux User #472120 - http://i18n.counter.li.org/ Correo: alejan...@infom

Re: [PHP] PHP and making a ZIP file

2009-03-27 Thread Ashley Sheridan
On Fri, 2009-03-27 at 16:11 +1100, Chris wrote: > Ron Piggott wrote: > > Does anyone know how to make a ZIP file using PHP? This is for an > > application where the files the user selected will be put into a ZIP > > file and then the ZIP file made available for download. Ron > > http://www.php.n

Re: [PHP] PHP and making a ZIP file

2009-03-26 Thread Chris
Ron Piggott wrote: Does anyone know how to make a ZIP file using PHP? This is for an application where the files the user selected will be put into a ZIP file and then the ZIP file made available for download. Ron http://www.php.net/zip would be a good place to start. Or http://pear.php.net/

[PHP] PHP and making a ZIP file

2009-03-26 Thread Ron Piggott
Does anyone know how to make a ZIP file using PHP? This is for an application where the files the user selected will be put into a ZIP file and then the ZIP file made available for download. Ron

Re: [PHP] PHP and named groups in regex/PCRE

2009-03-06 Thread Jim Lucas
Daevid Vincent wrote: > A friend was showing off his regex-fu and the virtues of "named groups" > and how great Python is, knowing that PHP had to be equally as good > (since it uses the same PCRE libraries), we whipped up this little test. > So now us PHP folks can enjoy the same benefit! :-) > >

Re: [PHP] PHP and named groups in regex/PCRE

2009-03-06 Thread Daniel Brown
On Fri, Mar 6, 2009 at 19:12, Daevid Vincent wrote: > A friend was showing off his regex-fu and the virtues of "named groups" > and how great Python is, knowing that PHP had to be equally as good > (since it uses the same PCRE libraries), we whipped up this little test. > So now us PHP folks can e

[PHP] PHP and named groups in regex/PCRE

2009-03-06 Thread Daevid Vincent
A friend was showing off his regex-fu and the virtues of "named groups" and how great Python is, knowing that PHP had to be equally as good (since it uses the same PCRE libraries), we whipped up this little test. So now us PHP folks can enjoy the same benefit! :-) vince...@dev1:~$ cat ./named_grou

Re: [PHP] PHP and Apache configuration

2009-01-19 Thread Török Alpár
2009/1/19 R B > I like this apache solution, but if i put > > SetEnvIf Referer "^http://www.yourdomain.com"; local_referal > > Then i can access the file putting this path in the URL: > > http://www.yourdomain.com/xyz/scriptfile.php > And i don´t want the script to be access by the url. That is

Re: [PHP] PHP and Apache configuration

2009-01-19 Thread R B
I like this apache solution, but if i put SetEnvIf Referer "^http://www.yourdomain.com"; local_referal Then i can access the file putting this path in the URL: http://www.yourdomain.com/xyz/scriptfile.php And i don´t want the script to be access by the url. That is the main problem. Thanks O

Re: [PHP] PHP and Apache configuration

2009-01-19 Thread ceo
I doubt that you can use re-direct and do what you want, since a re-direct does just that: re-direct the USER to the URL. What you *could* do is get rid of the re-direct and just include('scriptfile.php'); by using ForceType on imagefile.jpg to be application/x-httpd-php Then scriptfile.

Re: [PHP] PHP and Apache configuration

2009-01-19 Thread Kyle Terry
On Mon, Jan 19, 2009 at 11:38 AM, Richard Heyes wrote: > > ... > > This may be of some help. It's from the Apache website and only allows > access if the Referer header is sent by the browser and is > www.yourdomain.com, ie. Direct access is not permitted: > >

Re: [PHP] PHP and Apache configuration

2009-01-19 Thread Richard Heyes
> ... This may be of some help. It's from the Apache website and only allows access if the Referer header is sent by the browser and is www.yourdomain.com, ie. Direct access is not permitted: ### SetEnvIf Referer "^http://www.yourdomain.com"; local_referal

Re: [PHP] PHP and Apache configuration

2009-01-19 Thread Kyle Terry
On Mon, Jan 19, 2009 at 11:28 AM, R B wrote: > Hello, > > I need that every time someone access one image file in my server, then > redirect to a php file. > > I make this well with: > > Redirect 301 imagefile.jpg scriptfile.php > > But i need that the file scriptfile.php can only be accessed by

[PHP] PHP and Apache configuration

2009-01-19 Thread R B
Hello, I need that every time someone access one image file in my server, then redirect to a php file. I make this well with: Redirect 301 imagefile.jpg scriptfile.php But i need that the file scriptfile.php can only be accessed by this redirect command. If someone try to access directly from

Re: [PHP] Php and CSS where to put it

2009-01-12 Thread VamVan
-- should be placed in between Thanks, V

Re: [PHP] Php and CSS where to put it

2009-01-12 Thread Stephen
Terion Miller wrote: I have this code and the css seems to not work in IE at all, do I need to put it somewhere different on the page maybe? I don't see the html headers. Nor a body. Get that fixed and see what happens. Stephen -- PHP General Mailing List (http://www.php.net/) To unsubs

[PHP] Php and CSS where to put it

2009-01-12 Thread Terion Miller
I have this code and the css seems to not work in IE at all, do I need to put it somewhere different on the page maybe? xCount ORDER BY RAND() LIMIT 3"; $result = mysql_query($sql); echo " "; while ($row = mysql_fetch_array($result)) { echo " {$row['title']}{$row['blurb']} {$ro

Re: [PHP] PHP and Cyrus problem

2008-11-07 Thread Richard Heyes
> ...PHP for webmail. Did you know you can use Gmail for webmail, even having the From: address set to your own domain? It will require a little more setup (well, with ten thousand mailboxes that would be "a lot") but you end with one of the best webmail clients there is. -- Richard Heyes HTML5

[PHP] PHP and Cyrus problem

2008-11-06 Thread Emerson Virti
Hello, My company have almost ten thousand mailboxes on Cyrus Imap. We use Thunderbird for IMAP client and PHP for webmail. We have a problem in a very few mailboxes. This boxes don't have any visible problem with Thunderbird access but in PHP, the (webmail) access provide a "segmentation failed".

Re: [PHP] PHP and SQL Server

2008-10-13 Thread Andrew Ballard
On Tue, Sep 23, 2008 at 10:17 AM, Jason <[EMAIL PROTECTED]> wrote: > At 15:05 23/09/2008, you wrote: > > [snip] > >> So, I'm left wondering what that leaves. Is there anything currently >> available that could be considered stable for a production >> environment, supports parameterized queries and

Re: [PHP] PHP and getting part of URL

2008-10-08 Thread Per Jessen
Jason ML wrote: > Hi PHP'ers, > > PHP 4.4.8 and 5. > > say I have a url like: > > http://www.mydomain.tld/jason/index.php > > In that index.php I want to have a piece of code that runs that tells > me the 'jason' part of the URL so that I can run some custom read only > queries for 'jason' >

Re: [PHP] PHP and getting part of URL

2008-10-07 Thread Micah Gersten
Your original post has this as the URL: > http://www.mydomain.tld/jason/index.php That's why I gave you that command. If you want jason out of what you posted, Check out the following commands: http://us.php.net/array_pop http://us.php.net/explode Thank you, Micah Gersten onShore Networks Inte

Re: [PHP] PHP and getting part of URL

2008-10-07 Thread Jason ML
Daniel, I get: URL: /net1003/people Thoughts on what I am doing wrong. Yeah. Not R'ing TFM. dirname() gives you the name of the directory ABOVE what you pass. http://php.net/dirname Thanks for the pointer. You are indeed correct. -Jason -- PHP General Mailing List (http://ww

Re: [PHP] PHP and getting part of URL

2008-10-07 Thread Daniel Brown
On Tue, Oct 7, 2008 at 7:57 PM, Jason ML <[EMAIL PROTECTED]> wrote: > > But then doing: > >$jason = dirname($_SERVER['REQUEST_URI']); > >echo "URL: "; >echo $jason; > > I get: URL: /net1003/people > > Thoughts on what I am doing wrong. Yeah. Not R'ing TFM. dirname() g

Re: [PHP] PHP and getting part of URL

2008-10-07 Thread Jason ML
Hi Micah, dirname($_SERVER['REQUEST_URI']); I have tried that and I dont get the proper URI: Example running print_r($_SERVER); I get: [REQUEST_URI] => /net1003/ people/jason/ But then doing: $jason = dirname($_SERVER['REQUEST_URI']); echo "URL:

  1   2   3   4   5   6   7   8   9   10   >