On 8/20/2013 10:00 AM, Tedd Sperling wrote:
> Hi guys:
>
> A teacher at my college made the statement that JAVA for Web Development is
> more popular than PHP.
>
> Where can I go to prove this right or wrong -- and/or -- what references do
> any of you have to support your a
Hello world!
I'm trying to learn PHP ( first programming language that I learn) and
I feel kinda lost. I've read PHP programming 3rd edition( O'reilly),
'getting good with PHP' by Andrew Burgees and some tutorials on the
internet but can't code something more comp
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
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
Hi! This is the ezmlm program. I'm managing the
php-general@lists.php.net mailing list.
I'm working for my owner, who can be reached
at php-general-ow...@lists.php.net.
To confirm that you would like
arch...@mail-archive.com
added to the php-general mailing list, please send
an e
: Sat, 25 Aug 2012 23:10:08 +0200
> From: krebs@gmail.com
> To: php-general@lists.php.net
> Subject: Re: [PHP] A quick ereg translation
>
> Am 25.08.2012 23:06, schrieb Lester Caine:
> > ereg('(.*)', $phpinfo, $regs);
> >
> > Pulls the body of
> > I have a MySQL server A, a server B with PHP 5.3.8 and a server C with
> > PHP 5.3.3. I'm connecting to the MySQL server on A via TCP from B and C
> > using an internal network. Server B and C use the same PHP application.
> > There are also same PHP scripts that g
Hi,
I have a MySQL server A, a server B with PHP 5.3.8 and a server C with PHP
5.3.3. I'm connecting to the MySQL server on A via TCP from B and C using an
internal network. Server B and C use the same PHP application. There are also
same PHP scripts that get data from the database and
The cast to float is truncating the invalid characters and since your
string contains a float that is INF (8315e839) before the truncation at
the "d", then it returns INF. Makes perfect sense.
If I use a string in PHP I don't want PHP to cut this string. Either it uses
this strin
) before the truncation at
> the "d", then it returns INF. Makes perfect sense.
This is what drives me crazy.
If I use a string in PHP I don't want PHP to cut this string. Either it uses
this string as it is or it gives me an error/warning/false (what ever...). But
silently(
treated as base and
"e839da08e2a7afe6dd12ec58245d" is treated as an exponent. My hint that
"e839da08e2a7afe6dd12ec58245d" is not a valid exponent was not answered.
What do you think about?
cheers
Daniel
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.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
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
;.$eol;
$headers .= 'Return-Path: cont...@example.com'.$eol; // these two to set
reply address
$headers .= "Message-ID: <".time()."
TheSystem@".$_SERVER['SERVER_NAME'].">".$eol;
$headers .= "X-Mailer: PHP v".phpversion().$eol;
Hi, somebody knows if it is possible to open excel content in a new window?
what i want is basically initialize the headers and instead of echo $content i
want it to open in a new window. is that possible?
- Original Message
From: Tommy Pham
To: Php Developer ; php-general
Hi Tommy,
The code in the link is traightforward. The problem is you need to install
ADOdb.
I'm wondering if there is a way to do it from scratch.
Thanks
- Original Message
From: Tommy Pham
To: Php Developer ; php-general@lists.php.net
Sent: Tue, April 20, 2010 11:37:21 AM
Su
http://ca.promos.yahoo.com/jacko/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi all,
I want to be able to have an array of elements of different types. As an
example: the first element is a boolean, the second is an integer, and the
thirs is a string.
In php there is no typing, i'm just wondering if there is a way to have that,
it would be a lot better than havi
Hi,
I'm using the following code:
$fp = fopen($filename, 'r+');
$content = fread($fp,
filesize($filename));
fclose($fp);
header("Content-type:
application/msword");
header("Content-Disposition: attachment;
filename=$filename");
echo $content;
exit;
___
Hi
Is it possible to do touch screen programming in PHP ? If it is then, how ?
Please specify th specs with code.
Thanks in advance,
Regards,
Manish
Information from ESET Smart Security, version of virus signature
database 4053 (20090505) __
The message was checked by ESET Smart Security.
http://www.eset.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Thu, Apr 16, 2009 at 10:24 PM, James Hill
wrote:
> The ftpData function and in fact all the php stuff is running online on my
> webserver. The pdf file is on my local machine, I'm trying to upload the
> local pdf file to the server using ftp.
>
>
>
> The dest vari
On Thu, Apr 16, 2009 at 9:27 PM, James wrote:
> Hi, yeah ftp manually works just fine using the same login too.
>
> James
>
> -Original Message-
> From: Chris [mailto:dmag...@gmail.com]
> Sent: Wednesday, April 15, 2009 10:09 PM
> To: James
> Cc: php-general@
On Fri, Apr 3, 2009 at 7:49 PM, Andrew Williams
wrote:
> does anyone knows the the following is not working:
>
> C:\PHP\php.exe D:\DEMO\index.php?action=run&run=1
>
The querystring does not have an effect from the command line, it is
part of the HTTP protocol. Use console opt
nd crypt that (RC4 works well) and then check for the
> cookie on both sites. Kind of like a "Remember me" type deal
>
> -- Paul
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
I believe you ca
On Wed, Feb 18, 2009 at 4:24 AM, Ashley Sheridan
wrote:
> I used vsftp for several FTP systems at work, and bar a few problems
> (errors on my part!) they work just fine. I've even got PHP talking to
> various Bash scripts to manage users and permissions for the FTP, and
for each record in table 1.
Is if faster to just read all the records from both tables into two arrays,
then use php to go through the array for table 1 and figure out what records
from table 2 are related.
Or, you dump all the data in table 1 into an array, then as you go through each
record
Oops, copy and paste error, that is the cookie I was using to delete.
The one I am using to set is acutally:
setcookie($szCookieName, $nID,
time()+$expireTime,"/","www.mysite.com",false);
2009/1/17 PHP
Hi,
I am trying to get a cookie to set in Internet Explorer 7,
Hi,
I am trying to get a cookie to set in Internet Explorer 7, I have tried several
different setcookie() configurations, this is the latest.
Yes, I read the manual and the user notes, but can't find anything specific
about the different security levels in IE.
$szCookieName = "MyCookie";
$nID =
o. At least nothing simple and free. Run a Google search for
> "mod_rewrite iis" and you will see what I mean.
> --
> Crash
> Committed to the search for intraterrestrial intelligence.
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.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
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
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:
>
/
--
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
Canadian Doctor Hazel Best Price On Net
http://zxa.pharmstorez.com?liyws
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Canadian Doctor Clara Best Price On Net 79% OFF
http://www.beautywarm.com
No virus found in this outgoing message
Checked by PC Tools AntiVirus (4.0.0.26 - 10.067.006).
http://www.pctools.com/free-antivirus/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
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
testing
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.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
We need PHP/LAMP Developers and Programmers in FL, MD, VA, NY, DC, CA, MA
World NetMedia is a world class leader in the development of multimedia
internet sites. We are seeking highly motivated individuals who eat, breath,
and love the work they do. If you like working in a fun, laid-back
thx for the reply but i am a bit confused (i am new to php and even to
javascript)
Where would I put the javascript portion (the window.onLoad part), then?
Here is the relevant portion of the code. My test page can be seen at
http://valueinvestingplanet.com/test. The idea is to have the rss
select the
blog you want to view a variable in the php script changes that captures the
rss feed of that blog. The db is setup so that the name of the blog is
stored next to the rss feed of the blog. If I'm thinking of this correctly
I've developed the dropdown box so that it populates fro
Hi All,
Anyone ever use this tools ? If so, which one is more recommended ?
- http://www.aophp.net/
- http://phpaspect.org/
Regards,
Feris
Hi Everyone,
Thanks for pointing me to heredoc syntax. I've got it working out nicely now
;)
Regards,
Feris
On 12/20/07, Daniel Brown <[EMAIL PROTECTED]> wrote:
>
> On Dec 19, 2007 10:38 PM, php mail <[EMAIL PROTECTED]> wrote:
> > Hi All,
> >
> > Is it
Hi All,
Is there any tool to profiling PHP app ?
Regards,
Feris
Thanks for all the replys. I should have warned you in advance that I am new
;)
"Casey" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
On Nov 24, 2007 11:16 PM, Robert Cummings <[EMAIL PROTECTED]> wrote:
On Sun, 2007-11-25 at 01:59 -0500, PHP-General wrote
on
the server, and then use an (unlink???) function to delete the temp. file
after it gets written to the d-base.
How would I do that?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Does anyone have any experience with UPS's TradeAbility platform and
implementing it in PHP?
The test WSDL file is located at
https://wwwcie.ups.com/webservices/LandedCost.wsdl
Can anyone take a look at this and give me some example code to perform a
query / receive a response?
Thanks!
ction. Unless someone has some trick that I don't know about, ABS will
NEVER return a negative number.
-Original Message-
From: Jim Lucas [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 29, 2007 1:43 PM
To: Daniel Brown
Cc: Zoltán Németh; php-general@lists.php.net
Subject: Re: [PHP] Rou
____
Sent by ePrompter, the premier email notification software.
Free download at http://www.ePrompter.com.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi All,
How do I prior check file's size in server side before the upload process
begin ?
Regards,
Feris
?
:W
-Original Message-
From: Rahul Sitaram Johari [mailto:[EMAIL PROTECTED]
Sent: Friday, August 03, 2007 12:47 PM
To: Austin Denyer; PHP
Subject: Re: [PHP] OT- why is network solutions more than godaddy?
Interesting read - although the whole thing is trumpeted upon their policy
"W
t admin rights on a XP machine.
What editors do you use? Do you have any recomendations on a special
one? I have looked into eclipse, but I would hear from your experience
which one would you recommend me to switch to?
Thank you for any comment.
Best regards,
Merlin
--
PHP General Mail
Probably return "7582" instead of "7581".
= = = Original message = = =
On 8/1/07, Mark Summers <[EMAIL PROTECTED]> wrote:
> This sort of thing really isn't helpful...
>
>
> $a = 75.82 * 100;
>
> echo intval($a);
>
> ?>
>
> --
&
Very weird and counter intuitive. Looking at the php manual, I see this:
Converting to integer from floating point:
"When converting from float to integer, the number will be rounded towards
zero."
But you'd think the multiplication would happen before the rounding.
if yo
Yeah, that could be one thing that the ASP/ActiveX combo need to access the
registry for.. but if he's replacing ASP with PHP and if the ActiveX control
doesn't do anything he can't re-create in PHP, then there's no need to verify
that anything relating to ASP or Activ
er to recreate it in PHP instead of
trying to access ActiveX via PHP.
What, exactly, is being pulled from the registry and if the ActiveX control
does more than just facilitate registry access, what else does it do that you'd
need to emulate?
I have a feeeling that you don't need to
Plus,
look in the examples section.
Eric Holt (PHP List) wrote:
Hello everyone. This is my first post to the list, so bare with me :)
I have written an application for a client that is used in the Event
Photography business. It handles taking photographs, categorizing
them, making thumbnai
the 6.x.x series). Anyway -- the clients decided
they wanted me to do some work on the image quality, so I finally
decided to move up to ImageMagick v.6.3.4.
Right now, I call ImageMagick from a "exec" call in PHP. When I first
wrote the application, it was the quickest and easiest wa
argr brqoa
dshbigi
mwdxd
rfiyoaq mkgr aosj jihy
sbbc
aojsaw
duoo iyuxo
jbqbd djcrth wbtym sobtyp
0
news://news.3home.net news://news.hkpcug.org news://news.newsgroup.com.hk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
___
Sent by ePrompter, the premier email notification software.
Free download at
dollop absolution monogamy gallop jog
heuristic stifle cove injudicious stab togs equitable averse
concord brazzaville punish deed detroit
Actually, the post by hans at lintoo dot dk (22-Mar-2005 11:33) @
http://theserverpages.com/php/manual/en/ref.mysqli.php show why.
Weird.
On 6/29/07, Lee PHP <[EMAIL PROTECTED]> wrote:
Hi,
I have a class that extends msyqli that AFAIK can connect to the
database, but gives me an error
tempting to test query() method.\n";
if ($result = $CONN->query("SELECT * FROM country")) {
echo "In result set\n";
while( $row = mysqli_fetch_assoc($result) ){
printf("%s (%s)\n", $row['cnt_code'], $row['cnt_name&
Hi Preethi
> Kindly suggest me the good online tutorial for PHP5.
> Am already working on php4.
> Need to migrate from php4 to php5.
i think this is very important for OOP:
http://www.php.net/manual/en/language.oop5.php
and this one:
http://www.php.net/manual/en/language.excep
n't read below. It break's logical flow. You might sprain something.
= = = Original message = = =
A: Because it breaks the logical sequence of discussion.
Q: Why is top posting bad?
This explains everything ^^^
___
Sent by ePro
t upon them."
Twelfth Night, Act II, Scene V
by William Shakespeare
___
Sent by ePrompter, the premier email notification software.
Free download at http://www.ePrompter.com.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thanks for the suggestions.. but again, the question wasn't "what distro of
linux" to use. And I don't mind upgrading things. The question is what would
someone recommend for a really small distro of linux preferably with the bare
essentials + apache, mysql, php and samba.
=
I would install Fedora Core 6.
When asked which packages to install, uncheck everything.
Then, once you have the install complete, using yum install
~httpd
~php
~mysql
~samba
Here is my current running packages for the above programs
httpd-2.2.4-2.fc6
libdbi-dbd-mysql-0.8.1a-1.2.2
mysql-5.0
ication on
what they're replying to exactly, then I can scroll down.
-TG
= = = Original message = = =
ps. Please don't top post!
Tijnema
___
Sent by ePrompter, the premier email notification software.
Free download at ht
Yeah.. I'm aware. As I stated in my original email:
"Ideally I'd like to keep using my traditional Windows apps to do
development..."
I'm comfortable moving around in linux, but the tools and OS I choose to use
are all Windows-centric. But instead of installing Apa
it to you guys.
>
> Can anyone recommend a small, no frills, LAMP-centric linux package/distro?
>
> What I'm doing is setting up a test/development environment in a VMWare
> virtual machine to keep things all nice and comparmentalized. It's going to
> emulate (at least
zed. It's going to emulate
(at least in PHP and MySQL version and configuration) my web host. Ideally
I'd like to keep using my traditional Windows apps to do development, but save
my work to a Samba share on the virtual machine (so guess toss Samba into that
too).
Maybe there's
the premier email notification software.
Free download at http://www.ePrompter.com.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I wanna know that is there a way to forge someone's IP address? for example, I
have a client with an static ip address, and she is a superuser. Can i rely on
her IP address? or somebody else can forge her IP? I don't want her to enter a
username and a password..
Cheers,
Daniel
my if statement:
> >
> > if ($type == 'T','D','L'
> > $get_id.=" payment_request WHERE id = '$payment_id'";
> >
> >
> > However this does not return ant results.
> > I've tried if ($type = array(
s based on the type of record selected. There can be
multiple values in each if. However I am having a brain fart in my if
statement assigning the multiple values.
Here is my if statement:
if ($type == 'T','D','L'
$get_id.=" payment_request WHERE id = '$
Hi,
In the site http://www.imified.com/api/ it has a API that it makes the
integration of the GTALK with any programming language.
But I am not obtaining to make script php to send a message for my user in
google talk. Somebody already used this api?
Hermes Alves
www.argohost.net
--
PHP
Hi everyone,
I currently running my php as cgi as it is more controllable in shared
hosting, the drawback is I cannot use mysql persistent connection so
mysql_pconnect() function is not an option. Is there any mysql
connection pool product for php running as cgi ?
Thanks,
Dino
--
PHP
Can I maintain just one mysql connection resource to all my pages per
user session. As far as I knows create connection is more expensive than
executing queries ?
Any reference how to make efficient for connection resources ?
Thanks,
Dino
--
PHP General Mailing List (http://www.php.net/)
To
Can I maintain just one mysql connection resource to all my pages per
user session. As far as I knows create connection is more expensive than
executing queries ?
Any reference how to make efficient for connection resources ?
Thanks,
Dino
--
PHP General Mailing List (http://www.php.net/)
To
Can I maintain just one mysql connection resource to all my pages per
user session. As far as I knows create connection is more expensive than
executing queries ?
Any reference how to make efficient for connection resources ?
Thanks,
Dino
--
PHP General Mailing List (http://www.php.net/)
To
OR HERE
self::$INSTANCE = new Database();
}
return self::$INSTANCE;
}
}
?>
-- END CLASS DATABASE --
Now, in one of my unit tests, I call `$CONN =
Database::getConnection()` and receive an error message, "Fatal error:
Call to undefined method Config::
;Tuesday', 'Wednesday',
'Thursday', 'Friday', 'Saturday' );
$days = array( 'Domingo', 'Lunes', 'Martes', 'Mi~rcoles', 'Jueves',
'Viernes', 'S~bado' );
Tada! That was the easiest maintenance
Hi All,
Is there any PHP's framework for developing a marketplace site ?
Regards,
Dino
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi All,
Is there any PHP's framework for developing a marketplace site ?
Regards,
Dino
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
some people don't remove the "Re:" prefix when answering to the questions It
opens a new topic on the list and that's not appropriate .
Thank ya
-
Moody friends. Drama queens. Your life? Nope! - their life, your story.
Play Sims Stories at Yahoo! Games.
Hi there,
I'm new to OO-PHP and have encountered a problem that I just can't
figure out. I have a class called DBAccess that extends mysqli. In a
nutshell, it looks like this:
class DBAccess extends mysqli {
private static $instance;
private static $preferences;
/** Create a
Firefox extension to give some PHP debugging and profiling
data.
I'm sure there are a dozen other solutions that people will offer up, just
wanted to get that one in there :)
-TG
= = = Original message = = =
I am trying to load a PHP debugger in our most recent build of PHP 5.2.1.
The debu
at a bit of a
loss..hah.. just never had to use them so they're still a bit mystical to me.
-TG
http://us2.php.net/manual/en/function.ksort.php
= = = Original message = = =
On 5/10/07, Daniel Brown <[EMAIL PROTECTED]> wrote:
>
> One place to start reading, Anna, woul
nough" imho.
YMMV
--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.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);
e commas or you
properly compensate for that) and HTML are both good quick and dirty
download-to-Excel options.
And as Richard mentioned, COM requires Windows, but if you want to do anything
with it, you need to have something for PHP to talk to via COM. In this
instance, we're talking
Excel
(assuming they have it installed). This works for a real quick and dirty
export-to-excel type thing. Then PHP isn't really creating an Excel file, but
presenting the data in a format that Excel on the client PC can read.
Or you can use COM as Jay recommended, but that requires Excel to be
jinn.com |
:--------:
| An application and templating framework for PHP. Boasting |
| a powerful, scalable system for accessing system services |
| such as forms, properties, sessions, and caches. InterJinn |
| also p
mail message
'bundler' so you didn't have to download emails one at a time via archaic POP3
too..hah
Back to the OT and OP... doing this with PHP would take a little cleverness and
probably isn't worth it. But might be a fun challenge and is certainly
possible with enough elb
1 - 100 of 2217 matches
Mail list logo