On Tue, Apr 23, 2013 at 2:29 AM, Adam Richardson simples...@gmail.com wrote:
On Mon, Apr 22, 2013 at 10:41 PM, Andrew Ballard aball...@gmail.com wrote:
The other developer in our office spent some time profiling the site with
xdebug and found that an exec() call to netsh used on a couple
Well all, it turns out the *correct* answer to my question, which no one
answered, and which only degenerated into a kindergarten-like argument is:
You need to add the port # to the *end* of the mysql_connect() call.
i.e.:
$link = mysqli_connect( $host, user, pass, $database, $port );
Glad
On 4/23/2013 10:39 AM, Glob Design Info wrote:
Well all, it turns out the *correct* answer to my question, which no one
answered, and which only degenerated into a kindergarten-like argument is:
You need to add the port # to the *end* of the mysql_connect() call.
i.e.:
$link = mysqli_connect(
Am 23.04.13 12:07, schrieb Chris Knipe:
Hi All,
$_SESSION['ExpiryDate'] = 2013-04-23;
echo date_format($_SESSION['ExpiryDate'], D, \t\h\e jS \o\f M Y);
Required Result: Mon, the 23rd of Apr 2013
I get however: PHP Warning: date_format() expects parameter 1 to be
DateTime, integer given
On 18 April 2013 08:06, Morning Star morning.star.c...@gmail.com wrote:
$string = \uc548\ub155\ud558\uc138\uc694
?php
$string1 = '\uc548\ub155\ud558\uc138\uc694';
$string2 = preg_replace('/\\\u([0-9a-f]+)/', '#x$1;', $string1);
$string3 = html_entity_decode($string2, ENT_COMPAT, 'UTF-8');
echo
On 4/21/2013 7:35 PM, Glob Design Info wrote:
A very complex solution that takes time to learn, configure, and
install, vs. a single file I can toss on the server.
Over-engineering is what is daft.
As has been pointed out to you - your simplistic approach to this task
is going to cost you
On Sat, Apr 20, 2013 at 9:37 PM, Glob Design Info i...@globdesign.com wrote:
Night now this is just a test server. On the real thing I'll do it right.
On 4/20/13 10:58 AM, Tedd Sperling wrote:
On Apr 20, 2013, at 11:44 AM, Stuart Dallas stu...@3ft9.com wrote:
On 20 Apr 2013, at 16:25, Jim
On Sat, Apr 20, 2013 at 1:51 PM, Angela Barone
ang...@italian-getaways.com wrote:
I've written a script that logs all visits to a web site, complete
with referrer and IP address. It also logs all 4xx errors. What I'd like to
add to this is, if someone adds extra code after the
tamouse mailing lists tamouse.li...@gmail.com wrote:
On Sat, Apr 20, 2013 at 1:51 PM, Angela Barone
ang...@italian-getaways.com wrote:
I've written a script that logs all visits to a web site,
complete with referrer and IP address. It also logs all 4xx errors.
What I'd like to add to
On 21 Apr 2013, at 11:20, Glob Design Info i...@globdesign.com wrote:
I don't understand why mysql_connect should append something in the case of a
passed variable but not in the case of a local variable. Unless there is
something in the form parsing machinery I am unaware of.
Nothing is
Correct. Just to expand on that, a browser will not send the hash fragment
part of a URL with the request. If you ever receive that part at the web
server, that's a pretty good sign the request came from a robot.
Andrew
On Apr 21, 2013 3:29 AM, Ashley Sheridan a...@ashleysheridan.co.uk wrote:
On Sun, Apr 21, 2013 at 5:20 AM, Glob Design Info i...@globdesign.com wrote:
I am aware of the security implications. I will deal with that later. Right
now I am just trying to get the WS architecture working.
I'm wondering, if you can get it to work with the creds in the script,
why do you
On Apr 21, 2013, at 9:32 AM, Stuart Dallas stu...@3ft9.com wrote:
However, a more important question for me is why you are doing this. You say
you are aware of the security implications, and that you'll deal with that
later, but I question how you're going to deal with it. What exactly are
On Sun, Apr 21, 2013 at 9:12 AM, Tedd Sperling tedd.sperl...@gmail.com wrote:
On Apr 21, 2013, at 9:32 AM, Stuart Dallas stu...@3ft9.com wrote:
However, a more important question for me is why you are doing this. You say
you are aware of the security implications, and that you'll deal with
On 21 Apr 2013, at 15:46, tamouse mailing lists tamouse.li...@gmail.com wrote:
On Sun, Apr 21, 2013 at 9:12 AM, Tedd Sperling tedd.sperl...@gmail.com
wrote:
On Apr 21, 2013, at 9:32 AM, Stuart Dallas stu...@3ft9.com wrote:
However, a more important question for me is why you are doing this.
On Sun, Apr 21, 2013 at 9:49 AM, Stuart Dallas stu...@3ft9.com wrote:
On 21 Apr 2013, at 15:46, tamouse mailing lists tamouse.li...@gmail.com
wrote:
On Sun, Apr 21, 2013 at 9:12 AM, Tedd Sperling tedd.sperl...@gmail.com
wrote:
On Apr 21, 2013, at 9:32 AM, Stuart Dallas stu...@3ft9.com
On Fri, Apr 19, 2013 at 3:43 PM, Glob Design Info i...@globdesign.com wrote:
I know this has probably been answered already.
When I pass a user name and password from a form to my PHP script and then
pass those to mysql_connect it doesn't connect. When I paste those exact
same values into
If that is the case then why does logging in with exactly the same params from
a UNIX shell work fine? Command line login supposedly would be adding the
@localhost or @IP_address as well but isn't. Only when I pass the variables to
the script is that happening.
I am doing exactly as you
This for a commercial app - the client wants both an API connect via PHP and a
web portal in which they can login from a web page and view the tables in the
DB. Right now I am just trying to get the form/PHP interaction to work.
On Apr 21, 2013, at 6:42 AM, tamouse mailing lists
What question did I not answer?
I am developing a web portal that has to display the tables in the DB via a
form/script. The web page has a login with user and password. Right now I am
just trying to connect.
On Apr 21, 2013, at 7:12 AM, Tedd Sperling tedd.sperl...@gmail.com wrote:
On Apr
Not meaning to beat the proverbial dead horse
I am developing a web portal that has to display the tables in the DB via a
form/script. The web page has a login with user and password. Right now I
am just trying to connect.
This for a commercial app - the client wants both an API connect via
Except that a) I already have my form and script done, b) don't have time to
learn phpMyAdmin, c) want to know why the script doesn't work as-is.
On Apr 21, 2013, at 12:46 PM, David OBrien dgobr...@gmail.com wrote:
Not meaning to beat the proverbial dead horse
I am developing a web portal
One other thing I noted in the FAQ was this:
Dots in incoming variable names
Typically, PHP does not alter the names of variables when they are passed into
a script. However, it should be noted that the dot (period, full stop) is not a
valid character in a PHP variable name. For the reason,
On Sun, Apr 21, 2013 at 6:01 PM, Glob Design Info i...@globdesign.comwrote:
One other thing I noted in the FAQ was this:
Dots in incoming variable names
Typically, PHP does not alter the names of variables when they are passed
into a script. However, it should be noted that the dot (period,
On 21 Apr 2013, at 20:29, Glob Design Info i...@globdesign.com wrote:
If that is the case then why does logging in with exactly the same params
from a UNIX shell work fine? Command line login supposedly would be adding
the @localhost or @IP_address as well but isn't. Only when I pass the
On 21 Apr 2013, at 22:43, Glob Design Info i...@globdesign.com wrote:
Except that a) I already have my form and script done, b) don't have time to
learn phpMyAdmin, c) want to know why the script doesn't work as-is.
You have multiple database users who will need to do this, or just one
On 21 Apr 2013, at 23:01, Glob Design Info i...@globdesign.com wrote:
I should note my user name in this case *is* an email address, however the
dots in that address are *not* being converted to underscores as mentioned
(at least not visibly).
This could be the culprit. Try using a username
I should note my user name in this case *is* an email address, however
the dots in that address are *not* being converted to underscores as
mentioned (at least not visibly).
I just created a free account there and the email says my username is
dgobr...@gmail.com
but I connected to it from
In fact using the @gmail.com part added on gives me the same error as the OP
I think their welcome email needs tweaking.. try it without the domain
added on
On Sun, Apr 21, 2013 at 6:56 PM, David OBrien dgobr...@gmail.com wrote:
I should note my user name in this case *is* an email address,
On 4/21/13 3:27 PM, Stuart Dallas wrote:
On 21 Apr 2013, at 20:29, Glob Design Info i...@globdesign.com wrote:
If that is the case then why does logging in with exactly the same params from
a UNIX shell work fine? Command line login supposedly would be adding the
@localhost or @IP_address as
Except that I want to use my script and form - precisely because I have
already sunk time into it. I'm not going to sink *more* time into
something that could potentially create *another* problem.
I want the script to work - as it should if PHP is 1/2 what it's cracked
up to be. If not, I'll
Tried that. Still didn't work.
I appears to be the port.
On 4/21/13 3:40 PM, Stuart Dallas wrote:
On 21 Apr 2013, at 23:01, Glob Design Info i...@globdesign.com wrote:
I should note my user name in this case *is* an email address, however the dots
in that address are *not* being converted
Glob Design Info wrote:
On 4/21/13 3:27 PM, Stuart Dallas wrote:
On 21 Apr 2013, at 20:29, Glob Design Info i...@globdesign.com wrote:
If that is the case then why does logging in with exactly the same
params from a UNIX shell work fine? Command line login supposedly would
be adding the
On 22 Apr 2013, at 00:14, Glob Design Info i...@globdesign.com wrote:
However, I may have found the problem: the port. As a security measure the
BaaS provider appears to have changed MySQL to a non-standard port.
So
On the command line:
sudo mysql
SUCCESS!
However.
if ( $_REQUEST['Submit'] ) {
makes it work (using my own form button ID).
Why it doesn't work without this on my machine is beyond me. But it doesn't.
Could it be somehow there is something about accessing the $_REQUEST that
changes something?
I am baffled as to the
Even more strange:
It doesn't work from the form with or without the domain (but on the
command line it does), but..
IF I add the $_REQUEST access *and* use the user that the *MySQL*
install has, and *not* the xeround user name (my email), then it *does*
work!
WEIRD.
On 4/21/13 3:59
On 22 Apr 2013, at 00:16, Glob Design Info i...@globdesign.com wrote:
Except that I want to use my script and form - precisely because I have
already sunk time into it. I'm not going to sink *more* time into something
that could potentially create *another* problem.
The idea of sunk time is
As shown in the OP I am already doing that in the PHP scipt:
$host = instance43490.db.xeround.com:8904;
And then passing that as the 1st param to mysql_connect
On 4/21/13 4:23 PM, Stuart Dallas wrote:
On 22 Apr 2013, at 00:14, Glob Design Info i...@globdesign.com wrote:
However, I may have
A very complex solution that takes time to learn, configure, and
install, vs. a single file I can toss on the server.
Over-engineering is what is daft.
On 4/21/13 4:33 PM, Stuart Dallas wrote:
On 22 Apr 2013, at 00:16, Glob Design Info i...@globdesign.com wrote:
Except that I want to use my
Ever heard of the MySQL C Connector?
http://www.karlkraft.com/index.php/2010/06/02/mysql-and-objective-c/
:-)
On 4/21/13 4:33 PM, Stuart Dallas wrote:
On 22 Apr 2013, at 00:16, Glob Design Info i...@globdesign.com wrote:
Except that I want to use my script and form - precisely because I
On 22 Apr 2013, at 00:35, Glob Design Info i...@globdesign.com wrote:
A very complex solution that takes time to learn, configure, and install, vs.
a single file I can toss on the server.
Over-engineering is what is daft.
Building your house by making your own bricks is daft. Using bricks
On 22 Apr 2013, at 00:36, Glob Design Info i...@globdesign.com wrote:
Ever heard of the MySQL C Connector?
http://www.karlkraft.com/index.php/2010/06/02/mysql-and-objective-c/
That would be Objective-C, not C.
I have used libmysqlclient extensively, but there's a lot more to a MySQL
I have an app that gets passed in xml and use this code to read that data in
// We use php://input to get the raw $_POST results.
$xml_post = file_get_contents('php://input');
Maybe it will help
Bastien
On Sat, Apr 20, 2013 at 7:48 AM, shiplu shiplu@gmail.com wrote:
Question: how
On Apr 22, 2013 7:00 AM, Bastien Koert phps...@gmail.com wrote:
I have an app that gets passed in xml and use this code to read that data
in
// We use php://input to get the raw $_POST results.
$xml_post = file_get_contents('php://input');
$xml_post is string. I think now you know what to
After all this, the OP remains unenlightened. This is just a waste of time.
You are doing this wrong. There are existing tools that do what your
client wants. A command line tool is not the same as the php library.
are all met with I don't want to learn, just tell me what isn't working.
Too bad.
No, that's for writing safe html output.
If the user or password contains special chars, sending them through
htmlspecialchars would turn them into html entities. i doubt you want that.
I'm at a loss here. The only thing Ican think of is to try something like
this at the top of the script:
?php
This will be brief as I'm on a tablet...
On Apr 19, 2013 5:53 PM, dealTek deal...@gmail.com wrote:
On Apr 19, 2013, at 3:32 PM, tamouse mailing lists
tamouse.li...@gmail.com wrote:
page1.php is sending out to credit card company - getting processed -
then coming back to the *same
On Sat, Apr 20, 2013 at 10:36 AM, tamouse mailing lists
tamouse.li...@gmail.com wrote:
No, that's for writing safe html output.
If the user or password contains special chars, sending them through
htmlspecialchars would turn them into html entities. i doubt you want that.
I'm at a loss
On Sat, Apr 20, 2013 at 12:51 AM, dealTek deal...@gmail.com wrote:
On Apr 19, 2013, at 3:32 PM, tamouse mailing lists
tamouse.li...@gmail.com wrote:
page1.php is sending out to credit card company - getting processed -
then coming back to the *same page1.php* with the XML data listed
Question: how do you use $mylist when the xml is not as a file but is
returned on a web page?
I assume It returns as a string from page. Then use
simplexml_load_string(). See
http://php.net/manual/en/function.simplexml-load-string.php
--
Shiplu.Mokadd.im
ImgSign.com | A dynamic
Thanks for that good suggestion.
I tried that and as expected, the passed variables are coming through
exactly as expected:
array(3) {
[user]=
string(3) joe
[password]=
string(11) complacency
[login]=
string(5) Login
}
The bottom one seems to be the submit button's tag.
I'm at a
Goog suggestion. The user name is an email address so it does contain @.
Password is all pure lowercase ASCII.
Wonder if the shift-2 is causing the problem?
On 4/20/13 4:44 AM, Matijn Woudt wrote:
On Sat, Apr 20, 2013 at 10:36 AM, tamouse mailing lists
tamouse.li...@gmail.com wrote:
No,
On Apr 19, 2013, at 4:43 PM, Glob Design Info i...@globdesign.com wrote:
I know this has probably been answered already.
When I pass a user name and password from a form to my PHP script and then
pass those to mysql_connect it doesn't connect. When I paste those exact same
values into
$form_user = $_POST[ 'user' ];
$form_pass = $_POST[ 'password' ];
# Connect to remote DB
$LINK = mysql_connect( $host, $form_user, $form_pass );
And yes, my $host param is correct.
Have you tried
$LINK = mysql_connect( $host, $form_user, $form_pass );
just for the heck of it?
Why are you allowing anyone to connect to your database from a form?
Cheers,
tedd
_
tedd.sperl...@gmail.com
http://sperling.com
A little OT, but...
What do you mean by this question? How do you check someone's
credentials if not by connecting to a db to verify the
On 20 Apr 2013, at 16:25, Jim Giner jim.gi...@albanyhandball.com wrote:
Why are you allowing anyone to connect to your database from a form?
A little OT, but...
What do you mean by this question? How do you check someone's credentials if
not by connecting to a db to verify the login?
On 4/20/2013 11:44 AM, Stuart Dallas wrote:
On 20 Apr 2013, at 16:25, Jim Giner jim.gi...@albanyhandball.com wrote:
Why are you allowing anyone to connect to your database from a form?
A little OT, but...
What do you mean by this question? How do you check someone's credentials if
not by
Same error. That just turns those into string literals.
On 4/20/13 5:48 AM, David OBrien wrote:
$form_user = $_POST[ 'user' ];
$form_pass = $_POST[ 'password' ];
# Connect to remote DB
$LINK = mysql_connect( $host, $form_user, $form_pass );
And yes, my $host param is correct.
Have you tried
On Apr 20, 2013, at 11:44 AM, Stuart Dallas stu...@3ft9.com wrote:
On 20 Apr 2013, at 16:25, Jim Giner jim.gi...@albanyhandball.com wrote:
Why are you allowing anyone to connect to your database from a form?
A little OT, but...
What do you mean by this question? How do you check
Hello Angela,
Sunday, April 21, 2013, 4:51:37 AM, you wrote:
I've written a script that logs all visits to a web site,
complete with referrer and IP address. It also logs all 4xx errors.
What I'd like to add to this is, if someone adds extra code after
the page_name.php, to be able
Night now this is just a test server. On the real thing I'll do it right.
On 4/20/13 10:58 AM, Tedd Sperling wrote:
On Apr 20, 2013, at 11:44 AM, Stuart Dallas stu...@3ft9.com wrote:
On 20 Apr 2013, at 16:25, Jim Giner jim.gi...@albanyhandball.com wrote:
Why are you allowing anyone to
A webpage is a file, that (usually) a browser downloads and parses.
You'll do exactly the same :-) I don't know exactly, but you can try to
pass the URL directly to simplexml_load_file(). If this doesn't work,
download the content (for example with file_get_contents()) and pass it to
On Fri, Apr 19, 2013 at 10:43 PM, Glob Design Info i...@globdesign.comwrote:
I know this has probably been answered already.
When I pass a user name and password from a form to my PHP script and then
pass those to mysql_connect it doesn't connect. When I paste those exact
same values into
Already did that. I printed the form values in the PHP script after they
are received and they print exactly as entered in the form. Even checked
for extra spaces.
Any functions I can pass the values to to remove the magic quotes?
Thanks,
On 4/19/13 1:47 PM, Matijn Woudt wrote:
On Fri, Apr
On Apr 19, 2013, at 1:33 PM, Sebastian Krebs krebs@gmail.com wrote:
A webpage is a file, that (usually) a browser downloads and parses. You'll
do exactly the same :-) I don't know exactly, but you can try to pass the URL
directly to simplexml_load_file(). If this doesn't work, download
On Fri, Apr 19, 2013 at 10:59 PM, Glob Design Info i...@globdesign.comwrote:
Already did that. I printed the form values in the PHP script after they
are received and they print exactly as entered in the form. Even checked
for extra spaces.
Any functions I can pass the values to to remove
On Fri, Apr 19, 2013 at 3:43 PM, Glob Design Info i...@globdesign.com wrote:
I know this has probably been answered already.
When I pass a user name and password from a form to my PHP script and then
pass those to mysql_connect it doesn't connect. When I paste those exact
same values into
On Fri, Apr 19, 2013 at 4:04 PM, dealTek deal...@gmail.com wrote:
On Apr 19, 2013, at 1:33 PM, Sebastian Krebs krebs@gmail.com wrote:
A webpage is a file, that (usually) a browser downloads and parses. You'll
do exactly the same :-) I don't know exactly, but you can try to pass the
URL
On Apr 19, 2013, at 3:32 PM, tamouse mailing lists tamouse.li...@gmail.com
wrote:
page1.php is sending out to credit card company - getting processed - then
coming back to the *same page1.php* with the XML data listed below...
Please expand what you mean by sending out and coming back -
Nope, quotes are not visible in the output.
Both the HTML and the script it calls are shown below. They are in 2
separate files. The variable names in both are user and password.
The data comes through to the PHP script fine - if I print them I see
exactly what I typed in the form, but when I
Sorry. The error displayed is:
*Warning*: mysql_connect() [function.mysql-connect
http://localhost/wservices/function.mysql-connect]: Access denied for
user 'user'@'ip70-162-142-180.ph.ph.cox.net' (using password: YES) in
*/Library/WebServer/Documents/wservices/connect.php* on line *29*
Glob Design Info wrote:
Sorry. The error displayed is:
*Warning*: mysql_connect() [function.mysql-connect
http://localhost/wservices/function.mysql-connect]: Access denied for
user 'user'@'ip70-162-142-180.ph.ph.cox.net' (using password: YES) in
They aren't on the same server. The DB is on xeround.com, the web server
is localhost.
The host value is set and working. If I hard-code the user and password
values in the mysql_connect() call and leave the host value as is, it
connects fine. Only passing the user and password from the form
On 4/19/2013 9:33 PM, Glob Design Info wrote:
They aren't on the same server. The DB is on xeround.com, the web server
is localhost.
The host value is set and working. If I hard-code the user and password
values in the mysql_connect() call and leave the host value as is, it
connects fine. Only
No, no spaces.
I am wondering if I need to use htmlspecialchars()
On Apr 19, 2013, at 7:17 PM, Jim Giner jim.gi...@albanyhandball.com wrote:
On 4/19/2013 9:33 PM, Glob Design Info wrote:
They aren't on the same server. The DB is on xeround.com, the web server
is localhost.
The host value
On 4/20/2013 12:23 AM, Glob Design Info wrote:
No, no spaces.
I am wondering if I need to use htmlspecialchars()
On Apr 19, 2013, at 7:17 PM, Jim Giner jim.gi...@albanyhandball.com wrote:
On 4/19/2013 9:33 PM, Glob Design Info wrote:
They aren't on the same server. The DB is on xeround.com,
Dunno. The code definitely has the underscore.
On Apr 19, 2013, at 9:11 PM, Jim Giner jim.gi...@albanyhandball.com wrote:
On 4/20/2013 12:23 AM, Glob Design Info wrote:
No, no spaces.
I am wondering if I need to use htmlspecialchars()
On Apr 19, 2013, at 7:17 PM, Jim Giner
Larry Martell wrote:
Continuing in my effort to port an app from PHP version 5.1.6 to
5.3.3, the app uses this construct all over the place when building
links:
?=$var?
I never could find any documentation for this, but I assumed it was
some conditional thing - use $var if it's defined,
On Wed, Apr 17, 2013 at 5:02 PM, Micky Hulse rgmi...@gmail.com wrote:
On Wed, Apr 17, 2013 at 3:59 PM, Micky Hulse rgmi...@gmail.com wrote:
You might need to turn on the short tag option
in your conf file.
Sorry, ini file, not conf. Been a long day. :D
I guess I should have asked if short
On Thu, Apr 18, 2013 at 8:36 AM, Larry Martell
la...@software-horizons.com wrote:
That was it. Thanks!!
Np. Glad it helped. :)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Thu, Mar 28, 2013 at 3:40 PM, Larry Martell larry.mart...@gmail.com wrote:
On Thu, Mar 28, 2013 at 2:44 PM, Steven Staples sstap...@mnsi.net wrote:
I think I am losing my mind. I have some time zone converting code, and I
just don't understand what I am seeing. Also my system seems to return
On Wed, Apr 17, 2013 at 7:47 PM, NaMarPi nama...@yahoo.com wrote:
I would like to use self and static operators inside a double quoted
string,
but do not find the way to accomplish that. Could you give me a right
direction?
http://3v4l.org/NDkdA
class Foo {
public static
Am 17.04.13 20:59, schrieb Matijn Woudt:
On Wed, Apr 17, 2013 at 7:47 PM, NaMarPi nama...@yahoo.com wrote:
I would like to use self and static operators inside a double quoted
string,
but do not find the way to accomplish that. Could you give me a right
direction?
http://3v4l.org/NDkdA
http://php.net/manual/en/book.tidy.php
- Joseph Moniz
(510) 509-0775 | @josephmoniz https://twitter.com/josephmoniz |
GitHubhttps://github.com/JosephMoniz |
LinkedIn http://www.linkedin.com/pub/joseph-moniz/13/949/b54/ |
Bloghttp://josephmoniz.github.io/
| CoderWall
On Wed, Apr 17, 2013 at 10:19 PM, Marco Behnke ma...@behnke.biz wrote:
Or use printf which is much more readable.
Are you serious about this? How would printf make things more readable?
Given a string with some %s %d etc in it, and then at the end you're giving
the stuff that replaces them. I
On Wed, Apr 17, 2013 at 11:30 PM, NaMarPi nama...@yahoo.com wrote:
I found that double quoted strings are more elegant in some situations
than single ones, and I like identical solutions for identical problems,
so that's why I asked this question.
But finally found a reason why use single
On Wed, Apr 17, 2013 at 11:52 PM, Daevid Vincent dae...@daevid.com wrote:
We do a lot with caching and storing in memecached as well as local copies
so as to not hit the cache pool over the network and we have found some
great tools to minimize our javascript and our css, and now we'd like to
On Wed, Apr 17, 2013 at 5:52 PM, Daevid Vincent dae...@daevid.com wrote:
We do a lot with caching and storing in memecached as well as local copies
so as to not hit the cache pool over the network and we have found some
great tools to minimize our javascript and our css, and now we'd like to
-Original Message-
From: Matijn Woudt [mailto:tijn...@gmail.com]
Sent: Wednesday, April 17, 2013 3:11 PM
To: Daevid Vincent
Cc: PHP List
Subject: Re: [PHP] Need a tool to minimize HTML before storing in
memecache
On Wed, Apr 17, 2013 at 11:52 PM, Daevid Vincent dae
It should still work. You might need to turn on the short tag option
in your conf file.
http://stackoverflow.com/a/2185331/922323
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Wed, Apr 17, 2013 at 3:59 PM, Micky Hulse rgmi...@gmail.com wrote:
You might need to turn on the short tag option
in your conf file.
Sorry, ini file, not conf. Been a long day. :D
I guess I should have asked if short tags are turned on for your 5.3.3?
--
PHP General Mailing List
It is the equivalent of ?php echo $var; ? it's just easier to type and read
IMHO. For a while people were freaking out that they thought it would be
deprecated, but that is not (nor ever will be) the case.
-Original Message-
From: Larry Martell [mailto:larry.mart...@gmail.com]
Sent:
Ah, I see now. Sorry, I must have read the original question wrong.
There's a good thread on stack about short tags:
Are PHP short tags acceptable to use?
http://stackoverflow.com/questions/200640/are-php-short-tags-acceptable-to-use
Which kinda links to the docs:
PHP tags
On Mon, Apr 15, 2013 at 12:14 PM, Larry Martell larry.mart...@gmail.comwrote:
I have a client that has an app the runs with PHP 5.1.6. They want to
upgrade to 5.3.3. First issue I ran into, they have a line of code
that is:
$deftz = date(T);
I'm getting this for that line:
[Mon Apr 15
On Mon, Apr 15, 2013 at 11:17 AM, Jonathan Sundquist
jsundqu...@gmail.com wrote:
On Mon, Apr 15, 2013 at 12:14 PM, Larry Martell larry.mart...@gmail.com
wrote:
I have a client that has an app the runs with PHP 5.1.6. They want to
upgrade to 5.3.3. First issue I ran into, they have a line
You don't know which timezone the server is in? That's what it wants.
Larry Martell larry.mart...@gmail.com wrote:
On Mon, Apr 15, 2013 at 11:17 AM, Jonathan Sundquist
jsundqu...@gmail.com wrote:
On Mon, Apr 15, 2013 at 12:14 PM, Larry Martell
larry.mart...@gmail.com
wrote:
I have a
On Mon, Apr 15, 2013 at 11:33 AM, Ashley Sheridan
a...@ashleysheridan.co.uk wrote:
You don't know which timezone the server is in? That's what it wants.
No, I don't - this app runs in different locations all over the world.
Larry Martell larry.mart...@gmail.com wrote:
On Mon, Apr 15, 2013
On Mon, Apr 15, 2013 at 11:35 AM, Larry Martell larry.mart...@gmail.com wrote:
On Mon, Apr 15, 2013 at 11:33 AM, Ashley Sheridan
a...@ashleysheridan.co.uk wrote:
You don't know which timezone the server is in? That's what it wants.
No, I don't - this app runs in different locations all over
Larry Martell wrote:
No, I don't - this app runs in different locations all over the world.
I found some code at php.net that does this:
date_default_timezone_set(@date_default_timezone_get());
$deftz = date('T');
And that is working for me and giving me what I need.
But do you ACTUALLY
On Mon, Apr 15, 2013 at 1:59 PM, Lester Caine les...@lsces.co.uk wrote:
Larry Martell wrote:
No, I don't - this app runs in different locations all over the world.
I found some code at php.net that does this:
date_default_timezone_set(@date_default_timezone_get());
$deftz = date('T');
1001 - 1100 of 180972 matches
Mail list logo