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 answer? (sounds like a
> > 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
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 then cal
How about a middle-of-the-road solution?
www.PairNIC.com
The domain services of the very good webhost, Pair Networks. I've been
with their hosting solutions since 1998, and with their domain
registration services since whenever it opened (5 years ago, I spose).
Not the cheapest, not the mos
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
lled?)? I'd hate to spend all the time recoding the
application to work with MagicWand, only to find out that I dont end up
with any performance increase -- or worse of all, a decrease.
I wasnt convinced either way, from the Googling I had done on the
subject, so I thought I would pos
You are referring to this page :
http://www.opensourcecms.com/
Regards,
Kim Steinhaug
- - - - - - - - - - - - -
http://www.easywebshop.no/
- Original Message -
From: "Richard Lynch" <[EMAIL PROTECTED]>
To: "Erik Gyepes" <[EMAIL PROTECTED]>
Cc:
Sent: Tuesday, August 23, 2005 9:28 AM
S
I'm using this method, works fine with 50mb+ files :
if( $fd = fopen ($filepath, 'r')){
while(!feof($fd)) {
$buffer = fread($fd, 2048);
print $buffer;
}
fclose ($fd);
exit;
}
Regards,
Kim Steinhaug
- - - - - - - - -
www.easycms.no
- Original
I have done this quite a few times lately, you shouldn't
worry. Just have your session_start() and login security
on the pages that you access with javascript aswell, they
will have the same security as any other page.
The sessionID is used for all requests to the server
from the webbrowser, al
gards,
Kim Steinhaug
- - - - - - - - -
www.steinhaug.com
- Original Message -
From: "Kim Steinhaug (php list)" <[EMAIL PROTECTED]>
To:
Sent: Monday, August 22, 2005 7:01 PM
Subject: [PHP] session_start(), Pragma and Cache-control headers
> Hello,
>
> I'm working on a
Hello,
I'm working on a downbload script which serves M3U
files (Winamp playlist files) through a PHP file
like this :
somepath/download.m3u.php?id=2
Then in the PHP script I generate the M3U file, and
serve up the headers I want. Swell so far, but a
little problem appears.
The downloads are fo
Pablo,
Thanks for responding. I found out what the problem was. There was an
argument that was empty (i.e. empty string) in the add_cat() method. Thanks
for your help, I really appreciate it. :)
[snip]
Notice: Undefined index: 0 in
L:\localhost\catalog\catalog_0.1.0\includes\classes\tree.class.p
Hello Everyone,
I keep getting the following errors in my class and I don't know why. Maybe
something has changed in PHP 5.x that I don't know about? Here are the
errors and the methods of that class:
---
Notice: Undefined index: 0 in
L:\localhost\catalog\catalog_0.1.0\include
-Original Message-
From: Jason Wong [mailto:[EMAIL PROTECTED]
Sent: Monday, October 11, 2004 8:09 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP]
On Monday 11 October 2004 19:41, [EMAIL PROTECTED] wrote:
> Never mind guys, I figured it out. I appreciate your help. Thanks for
> everything!
Never mind guys, I figured it out. I appreciate your help. Thanks for
everything!
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Sunday, October 10, 2004 10:43 PM
To: [EMAIL PROTECTED]
Subject: [PHP]
Thanks to all of you for your explanation of my method. Min
Thanks to all of you for your explanation of my method. Minuk, thanks for
the detailed explanation, it really helps me understand what I'm doing
wrong.
Now I have one more problem. When the $children array is empty, it returns a
10 instead of a 0. Why is that? Here's the method again with the reco
Hello everyone,
I'm hoping you guys can help me with this error. Here's what I'm getting:
Notice: Undefined variable: children in
L:\localhost\catalog\catalog_0.1.0\includes\classes\tree.class.php on line
58
This error occurs only when the class's method outputs $children as having a
value of ze
Hello everyone,
I know this is going to be tough but I need a hosting company that supports
PHP5, has unlimited disk space and a good amount of bandwidth with a
decently fast connection for a decent price. I realize that this might be
rare, but is anyone offering such a package like this anywhe
Jim,
Thank you. Problem solved thanks to you. The moment you said that PEAR::DB
is not finding the MySQL extention I realized that the extension in php.ini
hasn't been commented out and the extension folder had not been recognized
by PHP. I forgot we had to do that in PHP5. Everything is working l
Hello everyone,
I have a problem connecting to the Database. When I execute the code at the
bottom, it gives me this message: "DB Error: extension not found". It sees
the DB file and the parameters are correct. I checked the include path and
it was correct. Did I do something wrong? Any help would
Thanks Anders and Daniel. Daniel, I like your approach. I want to make it as
secure as possible. I'm going to place the files outside the web directory
and use authentication to approve that the user can download some particular
song. I didn't know you could do a forced download. I will definitely
Hello everyone,
I want to build a music site, all copyrights intact, and I want users to be
able to download mp3 or realplayer files using a one-click link. When they
click on a link they will simply be given a typical download window to save
that music file. How do I go about doing that and ho
Try phpsniff at http://phpsniff.sourceforge.net/. It not only detects
javascript using PHP, but many other things as well. You will wonder how you
lived without it. It's pretty cool...
Navid
-Original Message-
From: Thomas Goyne [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 25, 2004
Hello Everyone,
I'm building a hotel management system and I can't seem to figure out why my
for() loop doesn't work the way it should. I'm using patTemplate to create
the HTML Template (I like using it and I don't want to start a pro/con
template war). Here is the script:
for ($j = 0; $j < 32; $
PHP is more of a "binding" language that takes advantage of many different
coding practices and puts them together. PHP is not jealous and does not
separate or shun itself from other languages and borrows many of the ideas,
schemes, similar libraries, etc. from these other languages. And yet, it is
No, no...that's actually a great idea. I like your approach, especially in
my case. Thank you for the suggestion! :)
Navid
-Original Message-
From: Rory McKinley [mailto:[EMAIL PROTECTED]
Sent: Friday, July 09, 2004 3:57 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP]
I wrote this in plain text. I hope it came out well...
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 08, 2004 9:02 PM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] Creating Rows and Columns Using for() Loops
Chris,
It's a little difficult to do in
Chris,
It's a little difficult to do in ascii, but here's an attempt. This is a
simple hotel/motel log of who's staying in certain rooms. The 7 columns are
the 7 days in the week and guest names fall under whichever date they
checked in. So, let's see if I can give you a visual representation of t
Hello Everyone,
I have an HTML table with 7 columns and 32 rows, not including table headers
and footers. I want to create a tabular data table that spans 7 columns and
32 rows. I get my info from MySQL and use for() loops to loop through two
types of arrays. An array containing the dates (the col
You can try using PEAR's Calendar System. It works great for what you might
need. Here's a website of what you can do with PEAR Calendar:
http://pearcalendar.sourceforge.net/examples/
-Original Message-
From: Todd Cary [mailto:[EMAIL PROTECTED]
Sent: Saturday, May 08, 2004 12:59 PM
To: M
So other than Config (for now), most other packages are compatible with PHP
5 already? What about the answers to my other questions? How will PEAR be
organized in PHP 5? What do I need to look out for when making the
transition, etc?? Thanks.
-Original Message-
From: Oliver Kuhl [mailto:[E
Hello,
There is a person asking me where she can find a website developer that will
create an e-commerce solution for her. I don't feel I'm ready to help her
out in that area yet, but I still want her to be able to have other choices.
I remember there was a main website where freelance programmer
I am using php mail and setting all my $headers info to show From:, To:,
etc.
It work perfectly on my computer. I use MS Outlook.
I am doing this for a client who received his email via his aol account.
When he receives the email, the email comes in with "Unknown Sender".
Is there issues with this
On Tue, 2003-07-15 at 15:12, Chris Shiflett wrote:
> --- PHP List <[EMAIL PROTECTED]> wrote:
> > I am writing a php script to accept an HTTPS POST of data from a
> > remote site, process the data, and send an HTTPS POST response back
> > (not necessarily to the same
I am writing a php script to accept an HTTPS POST of data from a remote
site, process the data, and send an HTTPS POST response back (not
necessarily to the same remote site). I can do this pretty easily in
PERL (which I may have to if I can't find a PHP solution). Also I need
to do the https post
Hi All,
I have a question about sessions.
I need to pass session data from one domain to a secure domain. (www.mydomain.com to
www.securedomain.com).
I would like to preserve the session data in case the visitor goes back to
www.mydomain.com. I thought about just passing the session ID to www.sec
You query is incorrect. Try doing the same query from the MySQL clent.
|-> -Original Message-
|-> From: Phil Powell [mailto:[EMAIL PROTECTED]]
|-> Sent: Thursday, January 09, 2003 7:46 PM
|-> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
|-> Subject: [PHP] mysql_num_rows() error
|->
|->
|->
instead. Is this a bug?
Shouldn't it use libpng-1.2.1 for everything?
Once I got rid of the rpm versions, I know longer had a problem.
- Original Message -
From: "PHP List" <[EMAIL PROTECTED]>
To: "php" <[EMAIL PROTECTED]>
Sent: Tuesday, January 07, 200
Hi,
I am trying to upgrade to php4.3.0, everything works, but when I try to use any gd
image functions I get the following error:
libpng warning: Application was compiled with png.h from libpng-1.2.1
libpng warning: Application is running with png.c from libpng-1.0.12
gd-png: fatal libpng error
Hi,
According to the docs, 4.3.0 comes with gd bundled in. Do I still have to use libpng
and jpg and free type seperately?
Do I still need --with-png-dir= in the configuration of php or is it part of the built
in gd library?
Thanks for any help.
Okay, I need to retrieve the output of a php file with variables being
passed to it. Example:
$calendar_file = "make_calendar.php3?month=$month&year=$year";
$fp = $fp = fopen("$calendar_file", "r");
while (!feof ($fp)) {
$buffer = fgets($fp, 4096);
$calendar_html .= $buffer;
}
fcl
Same problem, I still get an undefined error.
> Try using the string functions.
>
> document.myform.mytextfield.value or something...
>
> On Thu, 2002-11-21 at 13:25, PHP List wrote:
> > Hi,
> > This is more of a Javascript question so please forgive.
> >
>
Hi,
This is more of a Javascript question so please forgive.
I generate a dynamic form with php.
I need to be able to test in javascript if a certain field exists:
.
.
if (document.myform.mytextfield) {
.
.
This line will give me the javascript error "document.myform.mytextfield is undefined"
> > There is some software to open ports but I'm not sure what it is or
> > anything
> > > like that. Thanks for the help so far.
> > >
> > >
> > > - Original Message -
> > > From: "Paul Marinas" <[EMAIL PROTECTED]>
&
;Paul Marinas" <[EMAIL PROTECTED]>
> To: "incoming" <[EMAIL PROTECTED]>
> Cc: "Stephen" <[EMAIL PROTECTED]>; "PHP List"
> <[EMAIL PROTECTED]>
> Sent: Tuesday, November 05, 2002 4:57 PM
> Subject: Re: [PHP] Firewall Question
Why?
echo "THE VARIABLE ".(please help me right here)." EQUALS ".$tigidizougou;
Obviously the variables name is tigidizougou, so just do this:
echo "THE VARIABLE tigidizougou EQUALS ".$tigidizougou;
Or am I missing something here?
> Theoriquement it is not possible, because you cannot use any
lListForm.elements['rgItems[]'][i].checked == true)
> {
> alert(document.LevelListForm.elements['rgItems[]'][i].value);
> document.LevelListForm.elements['rgItems[]'][i].checked = false;
> }
> }
> }
> //-->
>
>
> PHP List wrote:
> > Hi,
&
Your get statement is wrong:
http://maloyportalen.no/~critical/maloy/index.php?page=main2.php?id=7
use
http://maloyportalen.no/~critical/maloy/index.php?page=main2.php&id=7
You only get 1 question mark, any after will be treated as part of the
variable page.
Hi!
I started to learn PHP yesterda
Why not use the Memorize button to set a hidden field? Or just use a check
box.
Since you are going to be submitting the data anyway, save the fields at
that time depending on whether or not the check box/hidden filed is set?
> Hi,
>
> I have a form where the user enters some information. For a
has something to do with the fact that all the boxes have the same
name rgItems[] and the browser doesn't know which one to uncheck.
Has anybody else come accross this?
Thanks,
And I apologize for asking this question on the PHP List, but I am hoping someone here
may have had the same problem
Too many to list in an email. This site has allot of information.
http://searchenginewatch.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I think the fog is starting to clear, thanks for the help.
I do have one more question:
If I want to use array_walk in a class, how do I refer to a function in that
class?
Class MyClass
{
.
.
.
function DoArrayStuff(&$item1, $key, $nMode)
{
echo $item1;
}
f
c and
> string indices. You seem to be assuming that somehow the first element in
> an array can always be accessed as index 0 which is not the case and never
> has been.
>
> -Rasmus
>
> On Wed, 30 Oct 2002, PHP List wrote:
>
> > For some reason my brain is n
For some reason my brain is not operating within normal parameters this week.
$myarray["test"] = "sd";
echo $myarray[0];
Why will nothing echo? Do I somehow have to initialize indexing on the array $myarray?
php says that $myarray is an array, but I can't access it with numeric indexes.
I know i
No, array_keys does not do what I want, in order to user array_keys, it
assumes I know the value of the key, but I don't, I want to get the value of
the key but all I know is the index.
> Perhaps you want to look at array_keys().
>
> On Monday, October 28, 2002, at 05:48 PM,
,$myarray,true);
so how do I get 'd'?
> I think you are looking for array_search()
>
> On Mon, 28 Oct 2002, PHP List wrote:
>
> > Hi,
> > Lets say I have a simple array like this:
> > $myarray = array("a"=>"b","d"=>"c
Hi,
Lets say I have a simple array like this:
$myarray = array("a"=>"b","d"=>"c");
echo $myarray[0] will return 'b';
How can I get the name of the index? so:
echo $myarray[something] would return 'a';
I know I can do a list($key,$value) but I don't need to loop through the array, I just
need t
>From my experience, I found this:
Selecting 1000 records from 2 tables using a join, 10secs and up.
Selecting 1000 records for table 1, all records from table 2, then using php
to figure out which rows from table 2 belong to table 1 and building my own
combined array, less than a second.
> W
Hi,
Is it possible to get a mime type of a file?
I need to be able to attach files, but I won't always know the mime type of what is
being attached.
I could look at the extension of the file for a general Idea, but I wouldn't know if a
.jpg file is an image/jpg or image/jpeg.(progressive) and t
but remember, this wasn't added until PHP version 4.1.0
Jim Lucas
www.zonedzero.net
www.giantmaps.com
- Original Message -
From: "PHP lists" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 15, 2002 9:43 AM
Subject: Re: [PHP] Finding out what week it is
> $week = date("
Hi,
Is it possible to detect if a file is being called as an include or require?
ex:
include("file.php")<-- file.php code can "detect" that is has been
called as an include.
Thanks,
Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I was wondering about the following:
Should I store a picture directly in a MySQL table? Or just store the link
to a file on the system somewhere?
I would think that leaving the picture as an actual file and just storing
the link would be quicker. But what are the dis/advantages of storing ri
Yes, you have to re-compile php because php compile and install a module
under apache_1.3.xx/src/modules
> Thanks for the reply. I have another question. If I have to recompile
> Apache can I take this opportunity to upgrade it as well. I'm using 1.3.14
> but would like to upgrade to a more
Thanks,
Sorry I asked, I should have just searched for it, but my clue-x-4 is
broken.
> > Does anyone know where the PNG library went?
> > The manual points to cdrom.com/pub/png, but that does not exist anymore.
>
> http://www.libpng.org/pub/png/
>
> --
RE: [PHP] Stupid QuestionThanks for all the responses.
Just to be clear, I have php installed as a module, so I have to re-compile apache.
- Original Message -
From: Adam Plocher
To: 'PHP List'
Sent: Thursday, February 28, 2002 9:46 AM
Subject: RE: [PHP] Stupi
Hi,
Does anyone know where the PNG library went?
The manual points to cdrom.com/pub/png, but that does not exist anymore.
Thanks for any help.
Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Yes, this is probably in the manual, but I can't find it.
If I want to upgrade from 4.0.6 to 4.1.2, do I have to re-compile apache as
well?
Thanks
Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
What is the proper way to transfer class properties through-out my pages...
let's say i have a ShoppingCart Class and i have methods like
addToCart(id, qty) and deleteFromCart(id)
also i have properties like CartItems("id" => array(), "qty"=> array())
this is what i do...
//when the user enters
What is the proper way to transfer class properties through-out my pages...
let's say i have a ShoppingCart Class and i have methods like
addToCart(id, qty) and deleteFromCart(id)
also i have properties like CartItems("id" => array(), "qty"=> array())
this is what i do...
//when the user enters
What is the proper way to transfer class properties through-out my pages...
let's say i have a ShoppingCart Class and i have methods like
addToCart(id, qty) and deleteFromCart(id)
also i have properties like CartItems("id" => array(), "qty"=> array())
this is what i do...
//when the user enters
Hi,
Can someone please tell me why the this is happening:
1) $szTag = "test|3";
2) $rgTemp = split("|",$szTag);
3) $szTag = $rgTemp[0];
4) $nItemID = $rgTemp[1];
^line numbers for ref only, not in actual code.
Will give me the error:
PHP Warning: unexpected regex error(14) in /test.php
You could just change the code for the generated page to re-generate the
page without the headers, etc. Then just link to the same page with a print
command:
echo "Click here for a printable version of
this page.";
if ($print <> "yes")
include("header.inc");
Something like that anyways.
Thanks, but my html is valid, and what you are doing is not what I want to
do.
I want to display a random image included in the page, just like a banner
program would work.
I do not allow php execution on the page so the only way to get the image is
to call the script with the img src tag, just li
Hi,
I am trying to do something like this:
The code is like this:
$szPicture = "myimage.gif";
$url = "http://www.mysite.com/"; . $szPicture;
header("Content-type: image/gif");
header("Content-Length: " . strlen($url));
echo $url;
But nothing happens, I
There is a way to do it with javascript, works in IE but have not tried it
with Netscape.
> Hello,
> I have to solve one problem - my script searches simply text document,
so - if this document is big enought - i have to "replace" timeout of my
script, besides - i have to make, that then this pr
How about like this:
$required = array("field1","field2","field3");
for ($i=0;$i
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 20, 2001 2:21 PM
Subject: Re: Re: [PHP] How do I convert from perl to php?
> So I would have to write a seperate if condition for each form input field
i wanted to r
Correct, the third parameter is for the number of characters to read,
nothing means entire string.
Function details can be found here:
http://download.php.net/manual/en/function.substr.php
> > How about:
> >
> > if (substr($url,0,7) <> "http://";)
> > $url = "http://"; . $url;
>
> Thanks!
>
How about:
if (substr($url,0,7) <> "http://";)
$url = "http://"; . $url;
> Hi,
>
> which function would i use to check if a certain value is in the contents
of
> a variable?
>
> I have a form where the users submits url's. I need the url with http://
in
> the beginning. Since there is more
Hi,
I heard it was possible to turn off/on php execution in a directory using
the .htaccess file.
Can some one tell me how to do that?
Thanks.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To cont
>
> Try using the line
>
> php_flag engine on
>
>
> -steve
>
>
> At 11:35 AM -0700 9/4/01, PHP List wrote:
> >Hi,
> >I am trying to update my server to php4. Everything seemd to compile
fine.
> >httpd -l shows mod_php4.c in the list.
> >
> >
Hi,
I am trying to update my server to php4. Everything seemd to compile fine.
httpd -l shows mod_php4.c in the list.
I used to use these entries in my httpd.conf to specifically turn php on in certain
dirs instead of default on for everyting.
php3_engine on
But I cannot find a combo that
> On Thu, 30 Aug 2001 02:25, PHP List wrote:
> > Hi,
> > Can anyone tell me why php is behaving like this?
> >
> > If I use enctype="multipart/form-data", it seems the first form field
> > is not passed to php. ex:
> > > enctype="multip
Hi,
Can anyone tell me why php is behaving like this?
If I use enctype="multipart/form-data", it seems the first form field is not passed to
php.
ex:
$cmd will not be passed to php, I have to do this:
Now I can use $cmd.
Is this normal?
Windows Law 1: What boots
Ge, does this mean we ALL won? :O
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 16, 2001 2:40 PM
Subject: [PHP] Win One of 25 Dream Vacation Getaways!! .
> You have been specially selected to qualify for the following:
>
> Premium Va
Thats interesting.
I tried to do the same thing with 5000 emails using sendmail, and I found
that only about 1/2 were actually sent, it seems like the multiple calls to
mail caused some of them to be ignored. I had to sleep for a couple of
seconds before each call to mail() in order to get them al
IMO
I would have to say it depends on the Timeline of your Boss.
Releasing the app to the open source community would be great, the more
there is, the more reason for people to stop using MS, but you can't demand
a schedule of when new features will be added.
You may have to go with the MS for now
Hi,
I am trying to upgrade from php3 to php4, I recompiled apache_1.3.20 and php4.0.6 as
per instructions(http://www.php.net/manual/en/install.apache.php).
Everything seemed ok, but LoadModule in the httpd.conf was no longer recognized so I #
all the LoadModule and AddModule lines. httpd -l sho
Oops, well, that is just mental.
Must be getting tired or something, yes, that's it :)
Thanks.
- Original Message -
From: "Gyozo Papp" <[EMAIL PROTECTED]>
To: "PHP List" <[EMAIL PROTECTED]>; "php" <[EMAIL PROTECTED]>
Sent: Tuesday,
Hi,
Can anyone tell me why this is a never ending loop?
$i=0;
$count = 1;
while ($count > $i);
{
echo "$i ";
$i++;
}
Chris
Hi list,
I have scoured the archives with no good game plans.
Here is what I am trying to accomplish:
dump a table to a file on my server:
$sql = "SELECT * INTO OUTFILE '/tmp/test.txt' FIELDS TERMINATED BY '\t'
LINES TERMINATED BY '\n' FROM table_name";
take the file and email it to someone:
u
90 matches
Mail list logo