[PHP] PHP code only works on 1 server

2007-03-19 Thread PHP
Dear All, I wrote a simple PHP 404 handler (index.php)(see the code below) to catch missing pages for instance. But it only works on 1 server and not the other. This is the server where it works: My Server: http://www.orbitalnets.com/support/info.php This is the server where it won't work (

[PHP] date_default_timezone_get() differs from ini_get('date.timezone');

2010-05-30 Thread php
from the file (but not timezone) 2. ini_get() returns the right setting as well (but it will not be used). Can somebody explain to me, what happens here? Thanks a lot and kind regards, Paul -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] NetBeans Question

2010-05-30 Thread php
great IDE, but I have some questions. Tell me, maybe i can answer Paul -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Fwd: Is it possible???

2013-06-24 Thread php
les were the most helpfull hint for the thread-starter? If not please send a complete example of your code. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Some Advice

2013-06-25 Thread php
You should at least check the IP of the client additionally to have some prove it is the same client you gave the session-ID. And it is better to put the session-ID in a POST-field than in GET. So it es very unlikely someone passes a session ID around accidently. -- PHP General Mailing List

[PHP] cancel <20050209205250.83625.qmail@lists.php.net>

2005-02-10 Thread php
This message was cancelled from within Mozilla. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] cancel <420A7D1C.30805@imotes.com>

2005-02-10 Thread php
This message was cancelled from within Mozilla. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] cancel <420A7D1C.30805@imotes.com>

2005-02-10 Thread php
This message was cancelled from within Mozilla. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Question about fsockopen

2005-04-10 Thread php
Dear list, I have several IP in one interface (eth0) in my server and I want make connection to another server (check email, etc) using different ip for every mail server. I was read the document, and there is no way how to make this happen. Any idea? Thank you -- PHP General Mailing List

[PHP] class calling script

2005-04-10 Thread php
the file like $arr = preg_split("/\?/",$_SERVER['REQUEST_URI']); $key = array_keys($_GET); $arr = preg_split('/\\//',$key[0]); $package = ucfirst($arr[0]); $class = ucfirst($arr[1]); $filename = $package.'/'.$class.'.php'; $constructor = $pac

Re: [PHP] Re: [PHP-I18N] Multilingual Web application - how to?

2005-04-10 Thread php
> Web server is Apache2+mod_rewrite with PHP5 How is this working for you ? I think there is alot of anticipation to get this combo working ok withthreading :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Question about fsockopen

2005-04-10 Thread php
gt; >> > Take a look here : http://sourceforge.net/projects/snoopy/ , I'm not > much sure but I think that it has that feature. > > -- > Josip Dzolonga > http://josip.dotgeek.org > > jdzolonga[at]gmail.com > > -- > PHP General Mailing List (http://www.p

[PHP] problem with mcrypt_generic_deinit function

2005-04-11 Thread php
third line on the script: "Encontrémonos a las 9 en punto en el lugar secre", but encrypted. If I comment line 10 the script run succesfully. The server is a debian woody with apache and php-mcrypt module. The function mcrypt_generic_deinit is necessary or is posible to use mcryp

[PHP] How to ignore E_STRICT and E_NOTICE with error_handler callback

2005-04-17 Thread php
, any ideas ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] dynamic class loaders

2005-04-19 Thread php
Hi there i was wondering if there is such an extension available or possbility to have a dynamicclass loader extension which would use the request_uri as loading the class constructors ? I justthink building such a thing in php which is what i am doing too slow for each request and think

[PHP] anchr tag replace

2005-04-28 Thread php
amp;variable that immediately precedes the #anchor. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] anchr tag replace

2005-04-28 Thread php
t; > On Thu, 28 Apr 2005, php wrote: > >> Its a long story, but basically, theres some code we cannot get around >> that >> is taking anchor tags such as and turning them into > href="http://host.com/folder/file.html?var=var&var2=var2#sat>. >> >&

[PHP] __autoLoad php5 callback is being triggered for every class ?

2005-04-28 Thread php
I'm experiencing some issues with autoLoad with pear packages. DB_Error is contained within the DB.php, but my autoload method is trying to split the underscores with forward slashes and then load. Supressing errors with @ still doesnt work, its triggering a php error. Any ideas ? -- PHP Ge

RE: [PHP] include remote class

2005-05-11 Thread PHP
if i goto the url i see nothing(normal) as it is just parsing the class and no output. my include seems to parse the PHP but is not delivering the class functions to instantiate. the manual mentions that remote includes with classes or functions wont work but i saw one workaround mentioned on the

RE: [PHP][SOLVED] include remote class

2005-05-11 Thread PHP
got it working... $poo = file_get_contents("http://mysite.com/class.php";); eval($poo); where class.php has no -Original Message----- From: PHP [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 11, 2005 8:12 AM To: [EMAIL PROTECTED] Cc: PHP LIST Subject: RE: [PHP] include remote cl

[PHP] function imagecreatefromjpeg()

2004-05-12 Thread PHP
-2004 23:16:15] PHP Warning: imagecreatefromjpeg() [function.imagecreatef romjpeg]: '/home/infos/domalle/miweb/pizias/photodir/6.jpg' is not a valid JPEG file in /home/infos/domalle/miweb/pizias/TestOnResize2/resize.php on line 42 [11-May-2004 23:16:15] PHP Warning: imagesx(): supplied a

Re: [PHP] function imagecreatefromjpeg()

2004-05-12 Thread PHP
I checked to open it with Fireworks and I got an error, but other programs like MS Internet Explorer can open it perfectly. The files on which PHP gives an error are the same as the ones that Fireworks can't open and vice versa. Is there a solution to fix these files, since they are not r

Re: [PHP] Re: Field Value not carrying over.

2004-05-04 Thread PHP
ally changed. > > Regards, Torsten > > >"Php" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > >Hi, > >I was sure this was possible. > > > >If I change a value of a form field with javascript ie: > >document.myform.myfield.valu

Re: [PHP] Re: repeating data from one column until data from another column changes

2004-05-04 Thread PHP
If you have no may articles then there will be no records returned. Just change the . date('m') to the actualy month you want if not the current month. - Original Message - From: "msa" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, May 04, 20

Re: [PHP] Re: repeating data from one column until data from another column changes

2004-05-04 Thread PHP
..I would rather be able to have the > > > code > > > "know" that it just needs to look for the most recent date in the > > > table...whatever that may becan that be done? > > > > > > -- > > > PHP General Mailing List (http://www.php.net/

[PHP] aquestion about php extensions

2004-05-27 Thread php
Hello, i compile c file with vc++ (php extension). is there any possibility to execute php script in this extension? [php code will be in one string] --- ... //this is mod.c code ZEND_FUNCTION(my_function) { for(i=0;i<5;i++) { zend_execute_php_script( //is

[PHP] image

2004-07-15 Thread php
how do you catch an image request and instead of the image display php? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] image

2004-07-15 Thread php
like i call an image if the img tag but instead of loading the image it loads a php script "Jason Wong" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Friday 16 July 2004 08:06, php wrote: > > > how do you catch an image request and instead of the i

Re: [PHP] image

2004-07-15 Thread php
s a browser to request an image be loaded, but because the > image statement looks something like the following; > > > > It causes the browser to request the server to send the phpscript.php file, > and since the server knows that ".php" files are executable, the server the

[PHP] Re: Emtying Variables

2004-07-17 Thread PHP
t. Please wait take time to drink a coffee."); return false; } } - The second step is to avoid the refresh process: You can use a redirect: header('location: ' . $_SERVER['PHP_SELF']); exit; And you can also used a php variable to detect multiple submit: Th

[PHP] include() and current working directory

2008-03-08 Thread php
So, the easy way out is to move the CSS, but I've got heaps of these, and it makes it really messy. The PHP looks like this: include("xxx/index.htm"); the css is saved in the xxx folder. I'm open to any suggestions, ideas? Many thanks Matt -- PHP General Mailing L

Re: [PHP] PHP 5 file_get_contents() problems

2008-03-30 Thread php
on an alternate test site which has PHP 5 running. However back on the hosting client I'm having problems with, curl throws the following error message: CURLE_COULDNT_RESOLVE_HOST (6) Couldn't resolve host. The given remote host was not resolved. A second test script, uses the popu

[PHP] Uploaded file

2007-04-26 Thread PHP
Hi, How do I pass an uploaded file, from a form, to a class? I have a file type on the form called file. The variable $file is fine in my php code, can be used normally. But, I want to pass it to a class then manipulate the file, but it does not work. $cMyClass->fnManipulateFile($file);

[PHP] ghastly industrial complex

2007-07-15 Thread php
jbqbd djcrth wbtym sobtyp

[PHP] halfhearted girl scout

2007-07-16 Thread php
sbbc aojsaw duoo iyuxo

[PHP] ��������� ����� ����������������� ������� �� ����

2007-07-23 Thread php
rfiyoaq mkgr aosj jihy

[PHP] �������� ���� ������ � �����

2007-07-24 Thread php
argr brqoa dshbigi mwdxd

[PHP] require_once and E_WARNING?

2006-07-05 Thread php
Hello all, According to the PHP Manual, when require or require_once failes, an E_ERROR is triggered: "require() and include() are identical in every way except how they handle failure. include() produces a Warning while require() results in a Fatal Error." (With 'Fatal Error&#

Re: [PHP] require_once and E_WARNING?

2006-07-05 Thread php
t: A fatal error with the script dying. That is what makes this so mysterious. Doesn't make sense that it would raise a different kind of error under different circumstances. It should have the same value every time. I'm going to sit on this for a day or so and see what people say before I toss it over to the bug folks. No sense in bothering them if I'm being a bonehead. (o; -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

php-general@lists.php.net

2006-07-26 Thread php
hen they match I get invalid username/password message. If I just test if( $out[0][1] == $u ) it works. Has anyone any pointers on what I am doing wrong? Thanks Eoghan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

php-general@lists.php.net

2006-07-26 Thread php
echo "No Match!"; > } > // OUTPUT > //Match! > > >> $out[0][1] is the password. Should have read: >> if( $out[0][1] == $p ) >> So that works, once i add the && $out[0][0] == $u >> it no longer works, even though my echo shows both values are the > same... > > do you know the difference between print_r(), var_dump() and echo? > try: > > var_dump($out, $u, $p, (" user " == "user")); Thanks, I will try your suggestions. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

php-general@lists.php.net

2006-07-26 Thread php
On Wed, 26 Jul 2006 13:54:15 +0200, Jochem Maas <[EMAIL PROTECTED]> wrote: > var_dump($out, $u, $p, (" user " == "user")); Jochem Thank you, var_dump showed me i had an extra space at the end of the password. I trimmed the vales from the file and it wor

php-general@lists.php.net

2006-07-26 Thread php
1 username2,password2 Given I have only 2 its easy to do this in one if statement testing like so: if( ($out[0][0]) == ($u) && ($out[0][1]) == ($p) || $out[1][0] == $u && $out[1][1] == $p ) But if I had more or n amount, what would be an efficient way to check the pairs? Thanks Eoghan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

php-general@lists.php.net

2006-07-26 Thread php
); > $users = array(); > foreach ($lines as $line) { > list($usr, $pwd) = explode(',',$line); > $users[ $usr ] = $pwd; > } > > if (isset($users[ $u ]) && ($users[ $u ] === $p)) { > echo "Found {$u}, and password is correct.

Re: [PHP] Help converting C to PHP

2006-09-22 Thread php
nt on each entry. I don't know about the winner getting anything besides bragging rights, but it if gets large enough maybe there can be a few corporate sponsors giving away licenses or something. Who knows? I think it would be a lot of fun if well executed. -K.Bear -- PHP General Mailing Lis

[PHP] Mail Problem

2006-09-26 Thread php
I have an issue with sending email via PHP which may be a configuration problem with either PHP, Apache, or possibly a Sendmail, but I don't know which yet. I figured I'd start here first. Here's the situation. I have several webpages that send email to users for various re

[PHP] Unicode Problem

2006-10-05 Thread php
ata to the processing page. 4. The PHP processing page receives the data and saves it to the mySQL database server. The problem I see is that any unicode character is saved in it's escaped unicode sequence. For example a bullet is saved into the database as a literal %u2022. What I need

[PHP] Array sort question

2006-02-28 Thread PHP
hecked by AVG Free Edition. Version: 7.1.375 / Virus Database: 268.1.1/271 - Release Date: 2/28/2006 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] IE quirk

2006-03-16 Thread PHP
Hi, I created a small bannering program. It works great in Firefox. But I have a problem with IE. If I place the banner on a different domain than the bannering program, Ex: www.bannerserver.com www.otherserver.com has img tag calling from www.bannerserver.com I use a session to keep track o

Re: [PHP] IE quirk

2006-03-17 Thread PHP
have even tried using cookies directly. Works great in firefox, problem with IE is first time vising www.otherserver.com, clicking on the img does not work, apparently, the session was never start/recorded when retrieving the image. However, if -- PHP General Mailing List (http://www.ph

RE: Re: [PHP] RSS Generation

2006-04-10 Thread php
Thanks. I had added the header to the file. If the php extension is good enough, then I am not going to worry about the .htaccess file. >> ... When I tried saving it with an xml extension and >> adding a .htaccess file to the directory in which the file was saved, I get >> pr

RE: Re: [PHP] RSS Generation

2006-04-10 Thread php
Actually, the dot is the end of a sentence ... damn my excellnet grammar skills :) In the htaccess file, I hadn't included a dot at either end of XML. I think I'm going to just leave the file extension as PHP and see how that goes. Thanks, Robbert >Robbert, > >maybe it is o

[PHP] include() question

2006-05-08 Thread PHP
he calling server to wait indefinetely for the remote server to respond, and just continue on? No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.392 / Virus Database: 268.5.5/333 - Release Date: 5/5/2006 -- PHP General Mailing List (http://www.php.net/) To unsubscr

Re: [PHP] include() question

2006-05-08 Thread PHP
Yeah... The page does produce valid code. However, the manual didn't say anything about timing out. - Original Message - From: "Jay Blanchard" <[EMAIL PROTECTED]> To: "PHP" <[EMAIL PROTECTED]>; "php" Sent: Monday, May 08, 2006

Re: [PHP] include() question

2006-05-08 Thread PHP
Hey, what do you know, readfile() times out too. - Original Message - From: "Jay Blanchard" <[EMAIL PROTECTED]> To: "PHP" <[EMAIL PROTECTED]>; "php" Sent: Monday, May 08, 2006 11:05 AM Subject: RE: [PHP] include() question [snip] I am incl

Re: [PHP] include() question

2006-05-08 Thread PHP
Normally I would, except that file does a lot of work, and it was too much to have on the same server. That is why I was including it remotely. - Original Message - From: "Wolf" <[EMAIL PROTECTED]> To: "PHP" <[EMAIL PROTECTED]> Cc: "php" S

[PHP] LDAP Query

2006-05-18 Thread php
Our organization is migrating away from Novell E-directory to MS Active Directory. I have a php class that allows me to run various queries on our e-directory ldap server which I am working to convert to AD. However, I'm running into an error that i cannot figure out. I have update

RE: [PHP] LDAP Query

2006-05-18 Thread php
>Our organization is migrating away from Novell E-directory to MS Active >Directory. I have a php class that allows me to run various queries on our >e-directory ldap server which I am working to convert to AD. However, I'm >running into an error that i cannot figure ou

Re: [PHP] Session Not Being Passed?

2006-05-19 Thread php
als (such as $SERVER['REQUEST_URI'] and friends), or to have it set in a central place (config.inc or whatever you use), so that i can move the whole app into a subdirectory if i want to. Gr, Koen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP & JavaScript

2006-05-19 Thread php
Jay Blanchard wrote: > [snip] > http://us2.php.net/variables.external > [/snip] > > BINGO! We have a winner! > > It can be as simple as adding an id to each checkbox; > > > > By doing this I did not have to change the function or the function > calls

Re: [PHP] PHP & JavaScript

2006-05-19 Thread php
d, and will be removed in a subsequent version of XHTML." So, using the same ID produces non-valid documents if you ask me. Best, Koen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Running two versions of PHP locally

2006-05-19 Thread php
Phillip S. Baker wrote: > I am interested in running two versions of of PHP. > I want to see if I can get my boss to buy into migrating to PHP 5. > > I want to set it up locally. > > Locally I am running apache on a windows XP box with PHP 4. > > I would like I would l

Re: [PHP] Login without cookies enabled help

2008-07-15 Thread php
ply... > > -- > Regards, > Shelley > You can use sessions to store data on the server instead of the client. http://nl2.php.net/manual/en/ref.session.php [/quote] Just be careful as sessions default to using cookies. Otherwise, pass the session id with the query string of

Re: Re: [PHP] Image Generation

2008-08-20 Thread php
lity good enough for my needs. > > Ash > www.ashleysheridan.co.uk [1] > > > ---- > > Onderwerp: > Re: [PHP] Image Generation > Van: > Jochem Maas > Datum: > Wed, 20 Aug 2008 11:06:14 +0200 > Aan: > [EMAIL PROTECTED] [3] > > Aan: >

Re: [PHP] Using DOM textContent Property

2008-09-03 Thread php
Tim Gustafson wrote: Hello, I am writing a filter in PHP that takes some HTML as input and goes through the HTML and adjusts certain tag attributes as needed. So, for example, if tag is missing the "title" attribute, this filter adds a title attribute to the tag. I'm doing

Re: [PHP] Re: Using DOM textContent Property

2008-09-03 Thread php
al/en/domxpath.query.php> This query fetch all a elements with no title attribute or empty title attribute : '//a[not(@title) or @title = ""]' ; That example was for finding email addresses and turning them into links, not the other thing about adding missing attri

[PHP] problem handling files.

2004-02-20 Thread php
I have a bit problem with following script in php: $fichero = "/var/www/php/fichero/fichero1.txt"; if ($fp=fopen($fichero,"r")) { print ( "El fichero ha podido abrirse." ); fpassthru($fp); } else { print ("El fichero no ha podido abri

[PHP] Re: confirm subscribe to php-general@lists.php.net

2004-02-23 Thread php
> Hi! This is the ezmlm program. I'm managing the > [EMAIL PROTECTED] mailing list. > > I'm working for my owner, who can be reached > at [EMAIL PROTECTED] > > To confirm that you would like > > [EMAIL PROTECTED] > > added to the php-general mailing

[PHP] Dumb

2004-03-11 Thread PHP
Hi, I have a dum question. I recently picked up a new RH9 dedicated server. Apache 2, Mysql 3 and php4 are all installed , via rpm I am assuming. I upgraded mysql to version 4, however, php is still using the version 3 client. (from php_info) How do I get php4 to use the mysql4 client? I

Re: [PHP] Dumb

2004-03-12 Thread PHP
very basic program with no real compile options. - Original Message - From: "Jason Davidson" <[EMAIL PROTECTED]> To: "PHP" <[EMAIL PROTECTED]> Sent: Thursday, March 11, 2004 11:44 AM Subject: Re: [PHP] Dumb > Not a dumb question at all. I suppose you

[PHP] STrange Problem

2004-03-12 Thread PHP
Hi, I am using RH9, Mysql 3.23.58, PHP 4.2.2, apache2.0 mysql_select_db("mydatabase",$connect_id) allways fails. I can use $connect_id = mysql_connect("localhost","apache"); (YES, I do have this line before the mysql_select_db); just fine. I can run query

Re: [PHP] STrange Problem

2004-03-12 Thread PHP
OK, I do get the following error. 1044: Access denied for user: '@localhost' to database 'mydatabase' Even though I specify the user in mysql_connect, for some reason, mysql_select_db is trying to user a blank user, Any Ideas? >Hi, >I am using RH9, Mysql 3.2

Re: Re[2]: [PHP] STrange Problem

2004-03-12 Thread PHP
Yes, I have it configured to run as apache. But, as I mentioned, I have no problems accessing the database and running querys against it, it is only the mysql_select_db function that fails. > Hello PHP, > > Friday, March 12, 2004, 6:25:09 PM, you wrote: > > P> OK, I do get t

Re: Re[4]: [PHP] STrange Problem

2004-03-12 Thread PHP
he's not connected so someone can try to connect to > tcc> the MySQL port. > > If he's connected that long and not running a firewall, he deserves it > ;) > > -- > Best regards, > Richard Davey > http://www.phpcommunity.org/wiki/296.html > > -- &

Re: Re[6]: [PHP] STrange Problem

2004-03-12 Thread PHP
nect: " . mysql_error()); > echo "Connected successfully"; > mysql_close($link); > ?> > > And don't just remove the "user" and "password" parts, fill them in. > If there is no password, put "". > > -- > Be

Re: Re[4]: [PHP] STrange Problem

2004-03-12 Thread PHP
gt; the MySQL port. > > > > If he's connected that long and not running a firewall, he deserves it > > ;) > > > > -- > > Best regards, > > Richard Davey > > http://www.phpcommunity.org/wiki/296.html > > > > -- > > PHP General

[PHP] I have a problem In Mail Function

2004-03-15 Thread PHP
// $headers .= "Bcc: $to \r\n"; if (mail($to, $subject, $message, $headers)) print("$to Send Ok!"); else print("$to Send Problem!"); } thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] php extension problem

2004-11-30 Thread php
Hi folks, well, I hope you can help me out. I have a Windows XP machine running Apache 2.x and Php 5.x. So far, everything works fine. I have placed the php5ts.dll file in my System32 directory, kopied the php.ini file in the Windows root directory and loaded the apache module for php5. So far

[PHP] pspell on w32

2004-12-16 Thread php
r. Permissions look like they are working. A phpinfo() command shows that I have php4.3.10 with pspell enabled. However, when I run the command pspell_check($pspell_link, "testt") in my web scripts, the page appears to header redirect on itself indefinitely. Please help. -Ethan

Re: [PHP] pspell on w32

2004-12-17 Thread php
ng for is being referenced with the wrong type of slash? What do I do about that? -Ethan Nelson, Modulus, LLC "Richard Lynch" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > php wrote: >> A phpinfo() command shows that I have php4.3.10 with pspell ena

[PHP] Date problem?

2004-12-22 Thread PHP
,strtotime("last month")); Does give me November as it should   No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.298 / Virus Database: 265.6.4 - Release Date: 12/22/2004 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Date problem?

2004-12-22 Thread PHP
On Wed, 22 Dec 2004 15:38:38 -0800, PHP <[EMAIL PROTECTED]> wrote: echo date('F',strtotime("next month")); This is printing February right now. Does this sound right or is this a but in strtotime()? is "next month" a valid parameter? and yes, I am sure

[PHP] Manual

2004-12-22 Thread PHP
Date: 12/22/2004 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Date problem?

2004-12-22 Thread PHP
user comments at... http://us2.php.net/manual/en/function.strtotime.php there are some things pertaining to your situtation -Chris On Wed, 22 Dec 2004 15:38:38 -0800, PHP <[EMAIL PROTECTED]> wrote: echo date('F',strtotime("next month")); This is printing February ri

[PHP] regular expresion

2005-02-02 Thread php
eee final I want to obtain this result aaa aaa hhh aaa Any solution? thank you Silviu -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PEAR DB and MSSQL

2005-06-13 Thread php
I originally submitted this to the PHP DB mailing list. Hopefully someone on this list not on the other can give me some help. My company runs a Linux based PHP website with a MySQL database backend. We also have several MSSQL databases deployed throughout the organization. One of our MSSQL

[PHP] =?iso-8859-1?Q?Re:_[PHP]_OT_??:_Form_posting_without_leaving_form?=

2005-06-13 Thread php
I did this using PHP and Javascript not too long ago. My solution may not be elegant but it works. I set up an inline frame on a page that had my large form. I set the soruce of the frame to my processing page and set the display style of the frame to none using CSS. Then for all the form

[PHP] New Install Question

2005-07-13 Thread php
We just set up a new webserver using Apache 2 and PHP5. When I transferred all the files over from my old server, I saw that none of the PHP files are being rendered (i.e. I see the PHP source instead of the resulting HTML). Here is the PHP.conf file we are using: # # PHP is an HTML-embedded

Re: [PHP] New Install Question

2005-07-13 Thread php
Never mind, I answered my own question. I added "AddType application/x-httpd-php .php" to the bottom of php.conf and that fixed the problem. We did not have that with our old system running php4. [EMAIL PROTECTED] wrote on 07/14/2005, 12:40:02 AM: > > We just set up a new

[PHP] Help in upgrade

2005-08-30 Thread PHP
Hi, I am trying to upgrade my server to apache 2 from apache 1, but i am running into a problem   in apache 1, i had the following line:   AddType application/x-httpd-php .php ..php3 ..phtml .htm .html   now if there is a certain directory where i specify to turn the engine off: php_flag

[PHP] PHP and XML

2005-10-05 Thread php
em and West Valley Hospitals Department Name: Information ... - I can send the parsing code but it's fairly straight forward and I didn't want to needlessly fill up the email. Any suggestions? Thanks, Robbert van Andel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: Re: [PHP] PHP and MSSQL on Linux

2005-11-02 Thread php
I get no output from mssql_get_last_message(). When I use the pear DB class, and use $db->getMessage(), I get "connect failed", very useful like usual with getMessage(). Even doing a print_r of the object reveals nothing. I'm pretty sure that PHP is not even trying to conne

Re: Re: Re: [PHP] PHP and MSSQL on Linux

2005-11-02 Thread php
Yup, I thought that was the problem too but when I added my server to the conf file, there was no change. When you set up your MSSQL connection in fedora, did you install anything else other than MSSQL and PHP-MSSQL? Or did you have to set anything in your php.ini file to use the new extension

Re: [PHP] PHP and MSSQL on Linux

2005-11-02 Thread php
Thanks for your help. I'd love to hear if you have any success with the RPMs. Something I've seen over and over again in the documentation is the compilation of php adding "--with-mssql". My PHP info output does not include that marker. The output is as follows '.

Re: [PHP] PHP and MSSQL on Linux

2005-11-02 Thread php
An interesting development. I found some reference to running my PHP script from the command line to take Apache out of the picture. Lo and behold, the script worked. I was able to connect to the server. So the issue seems to be related with Apache. Any idea what I would need to do there to

Re: Re: [PHP] PHP from the command line

2005-11-03 Thread php
Sorry, I failed to mention that I ran the command line script as the apache user. Robbert [EMAIL PROTECTED] wrote on 11/03/2005, 04:25:40 PM: > the most obvious is db permissions -- but you should be able to get php > to report a decent error so you know more precisely what the is

Re: Re: [PHP] PHP and MSSQL on Linux

2005-11-03 Thread php
Yes, it was as the apache user. Sorry I failed to mention that. Rick Emery <[EMAIL PROTECTED]> wrote on 11/03/2005, 04:43:03 PM: > Quoting [EMAIL PROTECTED]: > > > > > An interesting development. I found some reference to running my PHP > > script from the comm

Re: [PHP] PHP and MSSQL on Linux

2005-11-03 Thread php
e on 11/03/2005, 04:50:01 PM: > > Yes, it was as the apache user. Sorry I failed to mention that. > > Rick Emery wrote on 11/03/2005, 04:43:03 PM: > > Quoting [EMAIL PROTECTED]: > > > > > > > > An interesting development. I found some reference to runni

[PHP] Please help with apache 2

2006-01-27 Thread PHP
Help, I can't find anything on this.   I upgraded from apache 1.3 to apache 2.2   My problem is, I currently have .htm files being parsed as php, that works fine.   However, if I have the php_engine turned off for a directory, any .htm files will now prompt firefox to download it.   How

Re: [PHP] Please help with apache 2

2006-01-28 Thread PHP
Hi, Thanks, putting the addtype in the section seems to have solved the problem. - Original Message - From: "Dan Trainor" <[EMAIL PROTECTED]> To: "PHP" <[EMAIL PROTECTED]> Sent: Friday, January 27, 2006 6:09 PM Subject: Re: [PHP] Please help with

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