Readers,
Looking through the mail lists archives, only the following message
seems to advise about the possibility to use gnuplot:
http://marc.info/?l=php-general&m=96248542218029&w=2
Is it possible to start gnuplot using php, to plot a graph from
postgresql data. For example, a table is created
>
>Here's the URL of the relevant manual page:
>http://www.php.net/manual/en/function.pg-fetch-result.php
>
The manual page did not explain the purpose of the text 'die', so was
ignored (;)). Anyway, the php code was amended as follows:
The result is a web page which shows:
list of fil
The query was:
$query = 'SELECT * FROM databasetablename';
So, database access seems to be the problem. Using the superuser
account 'postgres', a user 'httpd' was created and all privileges were
granted to the target database using the postgresql 'grant' command.
However the user 'httpd' is not t
The file was changed:
... $value=pg_fetch_result($query,1,1);
echo 'all files' . var_dump($value);
...
The resultant web page produces:
bool(false) all files
The php file was changed again:
... $value=pg_fetch_result($query);
echo 'all fi
On 30/04/2011, Daniel Brown wrote:
> Readers? Sounds like you spend too much time writing newsletters
> (to the wrong address, since php-general-digest-h...@lists.php.net is
> a self-help command list for digest-form subscriptions). ;-P
>
> On Sat, Apr 30, 2011 at 04:41,
Readers,
A postgresql database (local disk installation) is successfully
accessed as a normal user:
psql -U username databasename
However, creating a php file to access the database has not been successful.
why does this fail?
The followin
> Robert, how do the results differ from your expectations?
>
> David
It's hard to wrap my mind around the concept that the assignment
operator itself has an operator precedence. Which means that one could
write expressions without any assignment at all, and be syntactically
correct.
I cannot b
My ISP upgraded his server from Ubuntu 9.04 to Ubuntu 9.10, which
probably included a newer PHP version. I don't know what PHP version
was on previously. Code I've had running for years broke, and I tracked
it down to this equivalent:
";
$Condition0 = true and false;
If ($Condition0)
ec
On 20/08/2010, Ashley Sheridan wrote:
> You don't have to reinstall the entire OS, that's a very Windows
> approach to the problem. I played around a bit last night with urpmi and
> you should be able to just list the packages you need with urpmq --fuzzy
> package_name, and then install the ones l
On 19/08/2010, Ashley Sheridan wrote:
> No, because Apache doesn't need to process HTML in the same way it needs
> to process PHP. The tag browser as HTML (view the source on the page you're browsing to) and
> interpreted as a tag by your browser, hence what appears to be partially
> processed ou
On 19/08/2010, HallMarc Websites wrote:
> I agree with the earlier take on this situation; you need to start at the
> beginning and learn the basics regarding the technologies BEFORE you try and
> manage them. You're trying to drive a car when you don't even know what or
> car is and how to operat
On 19/08/2010, Ashley Sheridan wrote:
> As Colin suggested on another email, check to see if apache-mod_php was
> installed too. It seems likely that it wasn't for some reason.
How to verify please? Also, the instruction to use task-lamp; it seems
this is for mysql but the database to be used is
On 19/08/2010, Ashley Sheridan wrote:
> I think it's fairly clear that for whatever reason, PHP isn't properly
> configured with Apache. You've mentioned you're using Mandriva, which,
> coincidentally, is what i've just recently installed on my home machine.
> It has a very good graphical package
On 19/08/2010, David McGlone wrote:
> On Wed, 2010-08-18 at 23:08 +0100, e-letter wrote:
>> On 18/08/2010, David McGlone wrote:
>> > On Wed, 2010-08-18 at 21:54 +0100, e-letter wrote:
>> >> On 18/08/2010, David McGlone wrote:
>> >> >
>> >
On 19/08/2010, David McGlone wrote:
> Yes it is. But your computer needs the correct software to view that php
> file in a web browser as if it was a web page. If you do not have this
> software installed, then the web browser will ask you if you want to
> download the file instead.
>
The web bro
On 18/08/2010, Bob McConnell wrote:
> From: e-letter
>
>> On 18/08/2010, chris h wrote:
>>> On Wed, Aug 18, 2010 at 7:10 AM, e-letter wrote:
>>>
>>>> On 18/08/2010, chris h wrote:
>>>> > What are the actual file permissions when you r
On 18/08/2010, Ashley Sheridan wrote:
> On Wed, 2010-08-18 at 12:10 +0100, e-letter wrote:
>
>> On 18/08/2010, chris h wrote:
>> > What are the actual file permissions when you run ls -o?
>> >
>> root
>> >
>> > Do you know if PHP is instal
On 18/08/2010, chris h wrote:
> On Wed, Aug 18, 2010 at 7:10 AM, e-letter wrote:
>
>> On 18/08/2010, chris h wrote:
>> > What are the actual file permissions when you run ls -o?
>> >
>> root
>>
>
> What's the entire output of ls -o?
>
[r
On 18/08/2010, chris h wrote:
> What are the actual file permissions when you run ls -o?
>
root
>
> Do you know if PHP is installed as an apache mod or cgi? Also you might
> check what user apache is running as.
>
No. How to verify?
> possibly...
> $ vi /etc/apache2/envvars
>
No apache2 on my com
On 18/08/2010, Peter Lind wrote:
> On 18 August 2010 12:47, e-letter wrote:
>> On 18/08/2010, chris h wrote:
>>> php is not processing the file. There's a few reasons for this, but the
>>> first thing I would check is the permissions of the file. From the
&g
On 18/08/2010, chris h wrote:
> php is not processing the file. There's a few reasons for this, but the
> first thing I would check is the permissions of the file. From the
> directory try
>
> $ ls -oa
>
The file permission was confirmed as root, since it was copied (as
root) from a normal user
I changed the code as follows:
php test
Hi, I am a PHP script";
?>
this is a test
The result (http://localhost/test.php):
Hi,
Readers,
Copy below of message sent 15 August to php install digest list, but
to date not including in mail archive?
The tutorial example:
php test
Hi, I am a PHP script';
?>
this is a test
Hi all,
I wanted to share with you that we have (finally!) a version of BrowserHawk
that works great with PHP. There is nothing to install to use it either.
Its called BrowserHawk To-Go (BHTG) an integrates instantly with any PHP
page(s) just by including a single line of code in the page. See
w
On Jan 18, 2008 12:22 PM, Nathan Nobbe <[EMAIL PROTECTED]> wrote:
> Are you trying to read an existing document into a SimpleXMLElement, or are
> you trying to create a SimpleXMLElement instance and generate a document
> from that?
> My impression was you were trying to do the later; please clarify
>based upon information from bug #43221, if you define the namespace
>beforehand
>it will work.
>
>$xml = new SimpleXMLElement('http://apple.com"/>');
>$n = $xml->addChild("subtitle", "Musical Mockery", "http://apple.com";);
>print_r($xml->asXml());
>?>
>
>produces:
>
>http://apple.com";>Musical
>M
Yes, I tried the following:
http://us3.php.net/manual/en/function.dom-domdocument-createelementns.php
Same results.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
This is problematic code, even though it works, because it
auto-generates an unnecessary xmlns: attribute:
$item->addChild('itunes:subtitle', $mySubTitle,"itunes");
It generates the following XML:
Musical Mockery
When really all we want is this:
Musical Mockery
Furthermore, dumping it into a
I'd still like some actual recommendations for a good book for
beginners.
My "PHP and MySQL for Dynamic Web Sites: Visual QuickPro Guide" has
already been mentioned by someone and gets good reviews. If you want
something more basic, I wrote "PHP for the World Wide Web: Visual
QuickStart G
I have been trying going thru the PHP manual to find if there are any
equivalent to the __contruct and __destruct in PHP 4, but I cannot
find any
solution for this part. I know it was introduced in PHP 5, but as
__sleep
and __wakeup exist in PHP 4 already I was hoping there is something
like
of "advanced" for this book means:
- OOP
- Doing what you already do but better and faster
- Tangential topics (GD, PDFlib, CLI, PEAR, XML, Ajax, MySQL, E-
Commerce, other buzzwords).
Experience in these areas required.
You must be able to work quickly (the entire book must be review
>>> sender: "Kevin Murphy" date: "Tue, Oct 03, 2006 at 11:08:23AM -0700" << This works, but I was wondering if this was the best way to
> accomplish this or not. I'm trying to remove any extra spaces (not
> whitespace like carriage returns) from the middle of a string
> mainly for times w
>>> sender: "Ahmad Al-Twaijiry" date: "Sat, Sep 30, 2006 at 08:44:48AM +0300"
>>> << Hi Everyone,
Hi,
> I need your feedback in this
>
> What is the best RAD (Rapid application development) do you use for
> PHP to develop an *advance* application in few days or weeks ?
>
> I like programming bu
Are printf and number_format supposed to round?
echo ($hcount-$lcount)/$hilow." ";
echo number_format(($hcount-$lcount)/$hilow,2,'.','');
0.208333 0.21
0.145833 0.15
0.17 0.17
0.083 0.08
Printf ("%.2f",($hcount-$lcount)/$
Use mysqldump. Quick & easy.
-Original Message-
From: William Stokes [mailto:[EMAIL PROTECTED]
Sent: Friday, April 21, 2006 8:56 AM
To: php-general@lists.php.net
Subject: [PHP] Re: Export data with PHPMyAdmin
Forgot to say that the scandic fonts are ok in the tables...
""William Stokes
On Friday 14 April 2006 10:07 pm, you wrote:
> I don't have any further suggestions to make; it sounds like you're
> looking at all the right things. I hope you find the problem by
> stripping it down to the bare bones. Please post your findings to
> the list whether you figure it out or not.
>
T
Hi,
I am running a self-compiled PHP version 4.4.2 on Apache 1.3.34 on White Box
Enterprise Linux 3.
I found a problem in my database access code (Oracle 9.2.0.4 if it matters)
and have determined that spaces in string variables are being compacted on
output in PHP.
This PHP extract, when run,
Sorry, should have posted lastnight.. Stephen Johnson helped out a lot,
it's working great now.
Thanks for the relpy though
-Original Message-
From: Joe Henry [mailto:[EMAIL PROTECTED]
Sent: Friday, April 14, 2006 11:44 AM
To: php-general@lists.php.net
Cc: Stephen Johnson; G
Quite possibly a stupid question, but here goes.
I have a form that is a list of jobs. On that list is a
checkbox. The form field is named 'changedate'.
I also have a hidden field called 'JobID'.
What I am trying to accomplish is if a checkbox is
checked, when the form is submitted, I want a
Nelson Carreira wrote:
James E Hicks III wrote:
Nelson Carreira wrote:
Yes, I've tried using both absolute and relative paths.
The system output is 0 when I execute, for example, "nvram show"
from the php. From what I know this output means success. Although
there
Hi,
Figured it out:
Apple wiped out the location of the socket.
they wanted '/var/mysql/mysql.sock'
it should be: '/tmp/mysql.sock'
Problem solved.
M i l e s.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ad of time....
M i l e s.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I'm thinking of getting an iBook for reasons not really to do with
webbing but really need to do occasional php/mysql stuff to
justify the expense. I believe that they all come with an Apache
testing server installed and wondered if anyone had any success
with getting php/mysql/phpMyAdmin
> SELECT * FROM exams LEFT JOIN results ON exams.id_test=results.id_test WHERE
> results.id_test IS NULL AND id_student=".$user
exams.id_test=results.id_test
results.id_test IS NULL
think those are preventing this from happening.
Wouldn't you want this
Results.id_student IS NULL
Since if the s
How do I clear out the POST variables, or the variables that I have
set from the POST variables, so that when the page is refreshed it
will not resubmit. I have tried unset() and have tried to set it
to and
empty value, but it doesn't seem to work.
You can clear out POST by doing this:
$_PO
This issue has probably been discussed more than I've been able to find
in the archive, so I'm sorry if I'm going over old ground.
I'm trying to make sure my email form cannot be used for spam or
injecting additional code and addresses in any way.
So far I'm able to remove bcc, cc, to, etc but
This issue has probably been discussed more than I've been able to find
in the archive, so I'm sorry if I'm going over old ground.
I'm trying to make sure my email form cannot be used for spam or
injecting additional code and addresses in any way.
So far I'm able to remove bcc, cc, to, etc but
I have a news page which is getting quite long now and I would like
to split
the news to two pages. Now I have one SQL query for all the rows
and I think
I could use LIMIT to limit the results but how to limit the results
for
example to 15 rows for page one and from 16 to the last on second
Viewing in browser? If so view source.
-Original Message-
From: Angelo Zanetti [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 25, 2006 7:01 AM
To: PHP List
Subject: (SCL: 5) [PHP] query problem.
Hi guys.
I got an entry in a field called emailfrom in my table (MySQL db).
The data in
I have a combo php javascript to do that. Trying to dig it up.
Send email to [EMAIL PROTECTED] and ill have it separated by then.
-Original Message-
From: Dan Parry [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 18, 2006 10:18 AM
To: 'John Nichel'; php-general@lists.php.net
Subject:
Is it possible to set the key length for mcrypt with the cipher
Blowfish? Specifically to lets say 128 bits?
mcrypt_get_key_size
returns int but is it bytes bits?
Maybe I could do with openssl?
Ideas and thoughts very welcome.
Thanks,
Scott
Doh! Nm.
_
From: Duffy, Scott E
Sent: Friday, January 13, 2006 11:47 AM
To: 'php-general@lists.php.net'
Subject: mcrypt
Trying to encrypt then decrypt text with php using mcrypt. The encrypt seems to
work but when I decrypt it with a differ
Trying to encrypt then decrypt text with php using mcrypt. The encrypt seems to
work but when I decrypt it with a different script I get most of it but some
garbage. Using blowfish. So to test.
Encrypt.php
$iv_size = mcrypt_get_iv_size(MCRYPT_BLOWFISH, MCRYPT_MODE_ECB);
$iv = mcrypt_create_
I need to check that user input text is less than 300 characters
long. How?
if (strlen($_POST['input']) < 300) { ...
You may want to also apply trim() to the input text to get rid of
extraneous white space at the beginning and end of the input.
Larry
--
PHP General Mailing List (http://ww
This is what I use to send email via php. I have sent hundreds at once.
$fromname="Cohen, Dotan";
$fromaddress="[EMAIL PROTECTED]";
$subject ="Subject";
$message="message body";
$from=" [EMAIL PROTECTED]";
$headers = "MIME-Version: 1.0\n";
$headers
I would take a look at glob.
http://us2.php.net/manual/en/function.glob.php
Scott
-Original Message-
From: Jason Pappin [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 04, 2006 10:48 AM
To: Jon Westcot; PHP General
Subject: Re: [PHP] Newbie question: need to transfer directory conten
I thought I was using session data and variables correctly, but I am
having some issues. I am using it to create a login but if I have
another user on a different machine my session data gets changed to who
last logged in. I had changed so it used https but changed it back and
it still seems to be
Does anyone of you know of a good forum that is easy to customize
and
supports sticky notes, user registration, bb code and stuff like
that?
I would suggest that Phorum (www.phorum.org) and phpBB
(www.phpbb.com) are the two biggies (written in PHP). Both have all
these features plus many
On Wed, November 9, 2005 6:54 pm, Joseph Szobody wrote:
*sigh* I'm a hardcore PHP programmer.. I've been using it for over
five years now, and would consider myself fairly advanced. I have
a project
where I'm being forced to do some ASP.NET development, which I've
never
touched. I need to le
Is there a way to fix ID sequence in a MySQL table using PHP?
Basically I have some tables with a lot of records, 1000 to 5000.
‘ID’ is
the Primary Key column in these tables, and at the time the code was
originally written, there weren’t much verification of data being
input
going on. Thus
I have shared my windows folder 'wwwroot' across the network but
when I
preview my .php file it connot find it because the specified php
folder on
the mac is http://127.0.0.1/~myname/Sites
Actually the folder is ~myname/Sites but the URL should just be
http://127.0.0.1/~myname You should n
> One of the fallacies in your argument is that the lack of an
official
> forum on php.net implies "such distaste for message boards". I don't
> have a big screen TV but I have anything but distaste for them!
Well, let me give you a different example. I don't have a TV at
all, even though I c
AFAIK, there are no "official" forums for PHP. Considering the fact
that PHP is a web development tool, such distaste for message
boards is ironic at the least. So why exactly there aren't any
forums on php.net?
One of the fallacies in your argument is that the lack of an official
forum o
mail($to, stripslashes($_POST["subject"]), wordwrap($_POST
["message"], 60), "From: $_POST["from"]\r\n");
and I get:
Parse error: parse error, unexpected '\"', expecting T_STRING or
T_VARIABLE or T_NUM_STRING in /www-html/emailer/index.html on line 41
The use of $var['index'] or $var["index"
I have windows XP sevice pack 1 and 2, PHPv5.0.5, Mysql v1. I am
working in web design. I am unable to connect to the mysql server.
Althought my php files running fine and my mysql server is also
running fine.
i) i had changed the php.ini-dist file to php.ini.
ii)i uncommented the extension
I'm trying to setcookie('username',$username,15552000) but on
subsequent pages $_COOKIE('username') is always null.
I verified that I'm setting it before any other output is sent to
the browser. I verified that $username does have some valid
contents. I also verified that the browsers I'm t
I'm trying to expand my understanding of PHP by looking at some pre-
built code modules. I don't fully understand the syntax "$site->Run
();" in the following code. Can someone offer a helpful explanation?
Run();
?>
The $site variable is an object, specifically an instance of the
CSite c
can you guys give the names of any schools/colleges that have formal
programs to teach web development/security applications.
I was teaching one online through the University of California at
Berkeley. I'm no longer teaching it but my understanding is that
they'll be hiring a replacement and
The National Coalition for Dialogue and Deliberation (NCDD) is seeking
an independent contractor or company to perform some PHP and MySQL Web
development work. In simplest terms, the Web site is a MySQL-driven
content management system (CMS), written in PHP, running on a
Unix/Linux server. The
Emil wrote:
Hello!
Sorry if this is off topic. I'm making a php site where one can order
a kit and now I would like to mark the kits with bar codes generated
by the php script. I would also need some kind of bar code hardware
reader and some way for a computer to read the result from the bar
co
Lee Chen wrote:
Thanks
I check the phpinfo, and my safe_mode is off.
This is my phpinfo
http://homepage.ntu.edu.tw/~b91401010/phpinfo().htm
It is just a copy, not on the server.(so it's html file, not a php file)
Thanks.
Looks like you need to check this in your php.ini file. Could be your
Merlin wrote:
Hi there,
I am trying to strip some words from a sentence. I tried it with
str_replace like described here:
http://www.totallyphp.co.uk/code/find_and_replace_words_in_a_text_string_using_str_replace.htm
Unfortunatelly it does not work the way I want, because if I want to
replace t
I might have asked this already but I am still ignorent ;-)
How to check if a same name file already exists in a upload directory
when
uploading new file?
Use the appropriately named file_exists() function.
L.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.
n OpenLDAP.
A subsection of my tree looks like this:
dc=domain,dc=com
ou=People
cn=John E. Vincent,ou=People,dc=domain,dc=com
uid=foo
[EMAIL PROTECTED]
password=bar
ou=Departments
ou=IT
cn=Intranet (groupOfUniqueNames or groupOfNames)
cn=John E. Vincent.
Please can someone tell me how you pass arrays between PHP pages.
$var = serialize($testArray);
echo "";
Then unserialize the variable on the receiving page.
Larry
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thanks for replying.
You're quite welcome.
If you want to see some results, regardless of the 50% threshold, use
the IN BOOLEAN MODE feature. Keep in mind, though, that in your case
any search will return either 0 or 700 results.
I dont want to do that as its only mysql 4.1+ compatable,
IN BOOLEAN
which means because I i getting a match for well over 50% of the
records...its disregarding it.
Yes, this is exactly the problem.
Now i am in two minds if i should use this or go back to the same old
dirty
way...of exploding the search and using LIKE '%%' for each word
FULLTEXT searches are great;
WORK WITH PHP FILES REMOTELY WITH NotePad ? YES/NO ?
I want to know if when be online I CAN OPEN A FILE FROM A WEB LOCATION
HOST - MINE and after I modify it save it again to my hosting space
WITHOUT save it to my PC first using NotePad and I mean entering the
host username&password when OPEN / SAV
the form and use
the form's value="" field to automatically fill in the data.
Joseph E. Maxwell wrote:
Does anyone have any suggestions, info or references on php
script/code that would enable partially completed multiple page forms
that can be saved, retrieved and completed at a la
Does anyone have any suggestions, info or references on php script/code
that would enable partially completed multiple page forms that can be
saved, retrieved and completed at a later date. I might add also
enabling/disabling or other navigational features? I think there are are
some java one
Hello,
I am setting up a program that requires allow_call_time_pass_reference to be
enabled. I've set allow_call_time_pass_reference = ON in the
/usr/local/etc/php.ini file
grep -n allow_call_time_pass_reference /usr/local/etc/php.ini
70: - allow_call_time_pass_reference = 1 [Code cleanliness
Just upgraded to php 4.3.10
phpinfo() apparently stuck on
PHP Version 4.3.5
System FreeBSD xxx.com 4.9-STABLE FreeBSD 4.9-STABLE #0: Wed Nov
i386
Build Date Apr 11 2004 20:01:52
Command line ==>
php -v
PHP 4.3.10 (cli) (built: Jan 15 2005 12:54:11)
Copyright (c) 1997-2004 Th
G_SIZE + 8 + 1 for the places
> where you need to add to get to the byte you want.
Always a good idea for production code..."They" in this case is ME
anyway! So I'll have no one to blame but myself should this ever occur.
>
> Hope all of that makes sense and is of some use...
Make sense, don't know if it'll help yet, but I'm fixin to try some of
your suggestions. Thanks again.
--
Scott E. Young
Area Mgr - NMA Software Solutions
[EMAIL PROTECTED]
(713) 567-8625
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
unning on a
mainframe (big endian).
What is strange is that I can always get the "char data[]" structure
member, and sometimes I get meaningful data in a few of the shorts, but
never all of the structure's members at the same time.
Any help is appreciated.
--
Scott E. Young
A
Guys, this is trivial. It takes the same effort to provide the answer
to
whoever this guy was, than to lecture him on how to think.
"Teach a person to fish ..."
That's a good and true adage and certainly a philosophy to be put forth
by this list. But, the question is, does an answer of "Yes" teac
While "Yes" may be a technically accurate answer to a question like
"Can I ..." or "Can anyone ...", a couple of points must be
acknowledged:
1) Such an answer doesn't help the original poster. Period. And the
purpose of a resource like this is to help, right? Even a "RTFM" or
"search Google"
if i have for example this variable
$name = "John";
how can i echo the first letter only so the result on the browser will
be "J"
echo $name[0];
You could also use the substr() function.
Larry
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Is there any way of getting the clients screenheight in PHP? (or do I
have
to do it in Javascript)
You have to do it with JavaScript.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
err i mean ... an 'or' statement sry
is there an 'and' statement for mysql, when you are doing multiple
"where"s?
MySQL allows SQL statements that support both AND and OR. With OR, you
can often use IN instead.
SELECT columns FROM tablename WHERE (condition1) AND (condition2)...
All of this is
Hi there - I was wondering if anyone could point me in the right
direction to be able to add data to two different tables (I am using
mysql and php V4). I understand joins, etc for the query of the data,
however adding the data - still getting my head wrapped around it
(multiple tables).
You'll
Andre wrote:
Hello
I need some help in this subject php + COBOL.
I need to load data of a program in COBOL for a site written in php.
The data must be loaded for a DB in mysql.
Every night a job runs on our Mainframe here that creates a big file
filled with SQL updates. Every morning a CLI
In html, there is the alert() function that makes a popup with a ok
button.
Is there such a thing in php?
Actually, that's a JavaScript function. You can't do the same thing in
PHP although you can use PHP to create the JavaScript. Printing an
error message, like you already had, is probably a b
Ben Miller wrote:
edit
I hope this is not a stupid question, but I am learning how to work with
Arrays, and am having trouble figuring out how to move array values [the
whole array and all of it's values] from
page to page and/or store in a db.
Array Example");
echo ("");
for ($i=0; $i
echo (
Yes of course...but was confused since some says it is so and some
says it
is not...So thought of asking the pros..
It is. PHP4 had limited support for OOP, though it was quite usable.
PHP5 goes further and provides pretty much everything else. See the
documentation on php.net for the complete lan
Is PHP an object oriented language. If not is it gonna be?
PHP is not an object oriented language (like Java). Although PHP
supports the creation of objects, you can still do pretty much
everything without ever using OOP. I can't imagine PHP ever being
turned into a true OO language, but I could
is there a function that gets the screen resolution of the user?
you can also reply directly to me... [EMAIL PROTECTED]
No, you cannot get the screen resolution using PHP. You must use
JavaScript.
Larry
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/un
I have php installed on my PC as well as an apache webserver and mysql. I am
using cox.net as my cable internet provider. They block port 25 but I do not
know if that affects what I am trying to do... which is:
use the mail() function to send email for my user activation script. I am
trying to tes
I am new to PHP and couldn't find any Globals for the User's Screen
Resolution. (don't laugh at me please)
I used to use a Javascript function to pass the resolution using
screen.width and screen.height.
What I am actually trying to do is make a page resize depending on
screen
resolution, in case
Hi,
I am trying to compile PHP with GD support.
My config line is:
./configure --prefix=/data/PHP\
--with-config-file=/etc/php.ini\
--disable-debug --enable-safe-mode\
--with-mysql=/data/MySQL_4.0.21\
--with-openssl=/data/OpenSSL\
--with-apxs2=/data/Apache/bin/apxs\
--with-gd\
--w
Hi guys, I just like to ask those using Macs here as to what editor
and/or
IDE they are using for writing PHP codes.
BBEdit is generally consider to be one of the best (note: I said "one
of the best", not "best", so let's not start about how emacs, vi, and
vim are better) text editors available
1 - 100 of 1161 matches
Mail list logo