suggestion made my 37.612-core Core2Duo box (used for notepad and
newsgroups only) explode.
Jay
That'll teach you to use Google Chrome. ;)
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
ZenCart Reasons:
PHP-based
Open Source
lots if plugins
Take a look at this:
http://en.wikipedia.org/wiki/Zen_Cart
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Charlene wrote:
Micah Gersten wrote:
Try Zencart.
Thank you,
Micah Gersten
onShore
Have you opened the CSV file in a text editor?
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Tom Shaw wrote:
This statement _is_ correct. I see values such as 234.55, but not 234.00 in
the CSV file and when I dump the data.
55.00 will equal 55 when
Databases are for storing and retrieving data. :)
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Ashley Sheridan wrote:
I'm assuming because this is part of a shopping cart, so he would have
to put the data into the database only to retrieve it again
Xampp comes with PHPMyAdmin.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Ben Stones wrote:
There's a bug, I believe with XAMPP where from XAMPP CP you click 'admin'
under MySQL, when WinMySQLadmin comes up, the icon in the right (traffic
light
. This is also not the normal way to do oop programming.
Normally, you extend a class and use parent::methodName to call a parent
function.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Nathan Rixham wrote:
Not sure why I'm sharing this; but it could
for action after 9/11 deserve
our thanks though.
Thank you,
Micah Gersten
Jason Pruim wrote:
Hey everyone,
Okay, so the first time I typed this out it got rejected for being off
topic... so here is my attempt to make it on topic
?PHP
$day=Sept 11 2008;
While($day=date(NOW)){
echo HTML
In the Microsoft world, you only support the latest couple of OSs, so
IE7 won't run on Win2k.
ank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Colin Guthrie wrote:
Why do they need to upgrade the whole OS just to upgrade a browser
who's sunset date has been
Agreed. We have days to honor those people though, Veteran's Day and
Memorial Day.
I wish to state with absolute clarity that I am not degrading people in
the military service who do defend out country. I have the utmost
respect for them.
Thank you,
Micah Gersten
Jason Pruim wrote:
Anyone
Jason, I think you just mentioned what we should remember today. The
victims that lost their lives. I think everyone can agree that it was a
tragedy.
My condolences to you and all the other familes.
Thank you,
Micah Gersten
Jason Pruim wrote:
Okay... I am sorry that I even sent the message
of philosophy. The problem is that the new OS won't run on the
old hardware and costs lots of money so people don't upgrade. Remember,
MS is for profit. If you can just upgrade your browser, they don't make
any money. If you upgrade your OS, they do.
Thank you,
Micah Gersten
onShore Networks
Internal
E_STRICT only shows one type of error. If you want everything than you
need to set E_ALL | E_STRICT
http://usphp.com/manual/en/errorfunc.constants.php#errorfunc.constants.errorlevels.e-strict
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Naz wrote:
I am
Compare phpinfo() on both servers.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Liz Kim wrote:
have a very simple script which connects to a database, execute a query
then displays the result.
This script uses odbc_connect and functions
Wouldn't it be nice if in the $_SERVER array you could get the whole URL
now that PHP has a parse_url function?
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Jochem Maas wrote:
Robert Cummings schreef:
On Tue, 2008-09-16 at 21:18 +0100, Nathan Rixham
You'll want to change your Order By statement to 'ORDER BY CountSteps DESC'.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Vinny Gullotta wrote:
echo $query;
yields
SELECT servername, COUNT(steps) as CountSteps FROM monitoring WHERE
steps = 'IISRESET
Do var_dump($i) in the loop to see if you're getting the data you want.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Vinny Gullotta wrote:
Still no luck displaying the stupid servername. Any other things I can
try?
Micah Gersten [EMAIL PROTECTED
What is the key for the server name? That's what you need when you
output it.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Vinny Gullotta wrote:
var_dump($i); looks messy, but I can see the server names in there and
they are the correct names.
Micah
That's your problem, you need to use mysql_fetch_assoc instead of
mysql_fetch_row.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Vinny Gullotta wrote:
var_dump looks like this:
array(2) { [0]= string(9) wehost006 [1]= string(2) 72 } array(2)
{ [0
I meant key in the array that was returned by MySQL. I answered you in
my other post. The array was numerically index based instead of column
based.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Vinny Gullotta wrote:
If by key you mean the column
While it's true that '.' concatenates and ',' is a list separator, The
comma is actually more appropriate in this instance since you are just
outputting each piece. It saves the overhead of concatenation before
output.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http
If you're looking for a persistent variable in one class instance, then
you need a member variable. If you want it persistent across all class
instances, you want a static variable.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Christoph Boget wrote
If you need abstraction, check this out:
http://us.php.net/pdo
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Dan Joseph wrote:
On Thu, Sep 18, 2008 at 3:36 PM, Dan Shirah [EMAIL PROTECTED] wrote:
If you already have your results in an array, try
You can't upgrade PHP?
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Dan Joseph wrote:
On Thu, Sep 18, 2008 at 4:35 PM, Micah Gersten [EMAIL PROTECTED] wrote:
If you need abstraction, check this out:
http://us.php.net/pdo
Thank you,
Micah
Si, puedes tener espacio en blanco delante de session_start(), pero no
puedes tener espacio delante de '?php'.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
CanihoJR wrote:
No puedes tener ningun espacio en blanco delante de session_start();
Sorry
on the server.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
tedd wrote:
However, there is another way, but it takes a little forethought.
The technique is simply to continue the flow of a single script by
using includes. Here's an example:
http
You're not passing anything from the browser which is what the OP
wanted. You're hard coding variables and the using them in other scripts.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
tedd wrote:
I don't know what a basic front-end loader pattern
Sessions are used to pass dynamic content between pages. Your method is
passing static content.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
tedd wrote:
No problem.
But here is what I would like you to consider, the next time you are
thinking about
You have the same worry of a DBA writing the root password on a post it
note. In every organization, there has to be some level of trust. Tell
the DBA to use Linux, there's a lock icon to enable the screensaver in
most X environments. ;-)
Thank you,
Micah Gersten
onShore Networks
Internal
.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
a date, the date you parse might not
be the one that they wanted.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Frank Stanovcak wrote:
Is it possible to use the php filter function to sanitize a regular
expression such as to return just the date part
Not according to this:
http://www.w3.org/TR/html401/interact/forms.html#adef-action
The only defined behaviour is when you specify a URI.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Richard Lynch wrote:
Actually, I believe action= submitting
to speed on PHP 5.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
That's probably a good thing:
https://www.example.com/secure/shop.php?page=/etc/passwd
?php
include($page);
?
:-)
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Daniel Brown wrote:
On Thu, Oct 2, 2008 at 12:57 PM, Jim Lucas [EMAIL PROTECTED] wrote
As was mine.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Daniel Brown wrote:
On Thu, Oct 2, 2008 at 1:14 PM, Micah Gersten [EMAIL PROTECTED] wrote:
That's probably a good thing:
https://www.example.com/secure/shop.php?page=/etc/passwd
I was referring to Nathan's examples which you cut out of the post.
function save_to_session( ) {
global $userids , $first , $last;
$_SESSION['user_id'] = $userids;
$_SESSION['first_name'] = $first;
$_SESSION['last_name']= $last;
}
Thank you,
Micah Gersten
onShore Networks
Internal
://xajaxproject.org
It makes AJAX really easy to code.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
The question is, what are you searching for in the records?
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Hemant Patel wrote:
My question is Whether I should go for Full Text Based search or Database
Search...?And is there algorithm in php which can help
What type of data is in the fields? Also, which database engine?
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Hemant Patel wrote:
I have couple of tables with 1,60,0 records and now i need to
search the records based on some crieteria...so which
dirname($_SERVER['REQUEST_URI']);
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Jason ML wrote:
Hi PHP'ers,
PHP 4.4.8 and 5.
say I have a url like:
http://www.mydomain.tld/jason/index.php
In that index.php I want to have a piece of code that runs
Your original post has this as the URL:
http://www.mydomain.tld/jason/index.php
That's why I gave you that command.
If you want jason out of what you posted,
Check out the following commands:
http://us.php.net/array_pop
http://us.php.net/explode
Thank you,
Micah Gersten
onShore Networks
What do you mean by open?
You can redirect to a new page:
http://us.php.net/header
or
You can include a file:
http://us.php.net/include/
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Terry J Daichendt wrote:
I want to open a page if a login is correct
For the 1st question:
http://us.php.net/manual/en/function.substr-count.php
For the second question:
http://us.php.net/manual/en/function.strpos.php
http://us.php.net/manual/en/function.str-replace.php
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Ron
Then you'll need this as well:
http://us.php.net/manual/en/function.strlen.php
**strpos** ( $text , 'br /'
http://us.php.net/manual/en/language.pseudo-types.php#language.types.mixed,
strlen($text)/2 );
Will give you the position.
Use str_replace to insert your ad.
Thank you,
Micah Gersten
That's fine as a test, but you never want to get a variable name from a
URL in practice.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Richard Heyes wrote:
$varname = \$_SERVER['REMOTE_ADDR'];
$varvalue = $$varname;
That's wrong. Offhand you'll
I mean that it is open for hacking if you pass a variable name through a
URL.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
daniel danon wrote:
What do you mean?
On Sun, Oct 12, 2008 at 5:40 PM, Micah Gersten [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED
The problem with smarty is that they are still using PHP4 as their main
language so they cannot take advantage of speed improvements in PHP5.
So, my suggestion is that if you're stuck with PHP4, go with smarty,
otherwise, find another engine that's up to date.
Thank you,
Micah Gersten
onShore
The question is, why aren't you using a session variable instead of
cookies? That's one of the greatest features of PHP.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Ben Stones wrote:
What I mean is I cannot use setcookie, I need to check if user
The problem with bottom posting is that if you follow the conversation,
you have to scroll to find the new content. I guess if you trim and
bottom post it's not so bad.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Wolf wrote:
By Bottom Posting (common
If you're using file_get_contents, why aren't you using file_put_contents?
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Nitsan Bin-Nun wrote:
Hi,
I have this function:
function saveImageFromUrl($image_url, $image_save)
{
$contents
Don't use cookies, use sessions.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Ben Stones wrote:
I've read a few videos on cookie security and it makes sense that people can
modify cookie values which is a problem I'm trying to figure out to *try
records? or is there a better solution?
How can I get the database size?
bye
R.
Perhaps you should not have search engines index your calendar.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
--
PHP General Mailing List (http://www.php.net
Are you using MySQL abstraction? That's the easiest way to control what
data goes into your DB in a central place.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
blackwater dev wrote:
I have a project now where we would like to properly remove unwanted
In that case, I suggest you look to the MySQL lists for tips on handling
data coming in.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
blackwater dev wrote:
Yes, I agree but the code I am inheriting doesn't use abstraction
unfortunately.
On Mon, Oct 27
.
Thank you
If your trying to filter E-Mail addresses, then filter_var is what you
should use:
http://php.net/filter_var
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
Keep in mind that ereg will disappear with PHP 6. You might want to use
the preg functions:
http://www.making-the-web.com/2007/09/21/becoming-php-6-compatible/
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
VamVan wrote:
Thank Guys,
I at least got part
What are you talking about with a cookie and an E-Mail address?
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
VamVan wrote:
Yeah, I understand that its allowed in RFC. But unfortunately I use
SSO layer which decrypts the Cookie to get email address
How is anything but your webserver decrypting the $_POST data? PHP
should get it after that as is.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
VamVan wrote:
SSO process:
$_POST the Email Address and password
Get Authenticated, Get the COOKIE
Generally you want separation of data. MySQL doesn't have a problem
accessing another DB on the same server with the same connection. Also,
how would database convergence use less memory?
.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
--
PHP General
Ashley Sheridan wrote:
On Wed, 2008-10-29 at 19:25 -0500, Micah Gersten wrote:
Ashley Sheridan wrote:
On Thu, 2008-10-30 at 08:55 +1100, Chris wrote:
Waynn Lue wrote:
I sent an email to the mysql list, but it reminded me of a question I had
for people
Ashley Sheridan wrote:
On Wed, 2008-10-29 at 19:43 -0500, Micah Gersten wrote:
Ashley Sheridan wrote:
On Wed, 2008-10-29 at 19:25 -0500, Micah Gersten wrote:
Ashley Sheridan wrote:
On Thu, 2008-10-30 at 08:55 +1100, Chris wrote
Ashley Sheridan wrote:
On Wed, 2008-10-29 at 19:49 -0500, Micah Gersten wrote:
Ashley Sheridan wrote:
On Wed, 2008-10-29 at 19:43 -0500, Micah Gersten wrote:
Ashley Sheridan wrote:
On Wed, 2008-10-29 at 19:25 -0500, Micah Gersten wrote
Ashley Sheridan wrote:
On Wed, 2008-10-29 at 19:57 -0500, Micah Gersten wrote:
Ashley Sheridan wrote:
On Wed, 2008-10-29 at 19:49 -0500, Micah Gersten wrote:
Ashley Sheridan wrote:
On Wed, 2008-10-29 at 19:43 -0500, Micah Gersten wrote
, connections should be available for the whole script if you don't
destroy them.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Ashley Sheridan wrote:
On Wed, 2008-10-29 at 20:12 -0500, Micah Gersten wrote:
Waynn Lue wrote:
With MySQL, you can change the DB from query to query with
mysql_select_db. The alternative as I stated in my last post is to use
the fully qualified table name (database.table) in your
AFAIK, the query commands just pass the query to the DB engine. The DB
decides whether or not to execute. You need special permissions in
mssql and mysql to create things. I don't know about informix.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Dan
Steve Marquez wrote:
Greetings,
What is the best way to create authentication for MySQL info displayed
on PHP pages.
Thanks,
Best is relative. How many users do you expect?
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
--
PHP General Mailing
If it's a permissions issue, it's related to Windows. Is it a user
share or a system share? Can you access the shares when you log
directly into the windows box? Have you tried command line ssh to see
if it's specifically related to the PHP library?
Thank you,
Micah Gersten
onShore Networks
foo.php without passing them to it.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
bruce wrote:
hi guys...foo
i've got a button that i want to select, and i want the app to process some
logic, and then return the user to the page. my question is how
Have you turned on error logging? What code are you using?
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Jacob Overgaard wrote:
Thanks, Micah
I can access the share when I log directly in to the windows machine
with a bash shell. It seems isolated
;)
Ash
www.ashleysheridan.co.uk
Yep, with a regex, it's real easy (untested code):
?php
$fileData = file_get_contents(text,txt);
$newFileData = preg_replace('/^\d+?\.\s?(.*$)/m','/$1/', $fileData);
file_put_contents(newfile.txt, $newFileData);
?
Thank you,
Micah Gersten
onShore Networks
Yep, with a regex, it's real easy (untested code):
?php
$fileData = file_get_contents(text,txt);
$newFileData = preg_replace('/^\d+?\.\s?(.*$)/m','/$1/', $fileData);
file_put_contents(newfile.txt, $newFileData);
?
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http
the +, the use this:
http://us3.php.net/urlencode
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Zhao chunliang[chunliang.zhao] wrote:
First thanks for Todd 's help
I do have some questions.
1.Open the url : http://127.0.0.1/showCookie.php
http://php.net/strstr
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Richard Kurth wrote:
is the a php function to find a word in a string and report back that
it was found
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
and there...
http://www.weisd.com/store2/WINHD-9022.php
Which PHP version are you running? After 4.2.0, it should be random
each call. Otherwise, use srand();
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
--
PHP General Mailing List (http://www.php.net
2 things.
1. Randomly seed the random number generator every time
2. Allow you to set the seed for predictability
http://us.php.net/srand
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
In PHP4, strtotime works fine
in PHP5 strtotime gives a result of 19700101 when the data entered was
strtotime(20080950)
What does work fine mean? 20080950 isn't normal, so what is the
expected result?
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
in a cookie?
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
tampering with the data. Storing stuff in the session also
saves on network bandwidth of sending and retrieving the data with each
request.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
Robert Cummings wrote:
On Sun, 2008-11-09 at 12:26 -0600, Micah Gersten wrote:
Stut wrote:
On 9 Nov 2008, at 18:14, Robert Cummings wrote:
On Sun, 2008-11-09 at 18:00 +, Stut wrote:
On 9 Nov 2008, at 07:16, Robert Cummings wrote:
On Sat, 2008-11-08
of urlencode and paste the whole
thing in a browser to make sure that it works?
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
they add too much
stuff in conf files that make things confuse when you need to make some
specific changes.
Thanks for your suggestion :)
You should try Xampp then. http://apachefriends.org
They've segregated the apache config files to make things easier.
Thank you,
Micah Gersten
onShore
Try the zend list:
[EMAIL PROTECTED]
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
András Csányi wrote:
Hi all!
I don't know which is the right place to make an bugreport.
I installed on my linux desktop the pdt-2.0 all-in-one but i have a
nice, big
-in-one build, that's why I said the zend list.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
kind of answer.
Regards, and keep up the good work!
Rui Quelhas
Is that extensions directory in your path in php.ini?
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
Perhaps you should try the PECL list:
[EMAIL PROTECTED]
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Rui Quelhas wrote:
Since i'm not obtaining any kind of response from people o first answered
me. I guess is better to talk through here.
To my first
. - is equal to . self::mciInput . br /;
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
-overview.html
http://dev.mysql.com/doc/refman/5.0/en/data-type-defaults.html
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Michael S. Dunsavage wrote:
okay I want to pull an integer from a database called confirm_number,
add 1 and repost it back to the database
Jay Blanchard wrote:
[snip]
...foreach...
[/snip]
You could also use a for loop if you wanted to count;
for($i = 0; $i count($array); $i++){
echo $i . \n;
}
This is not good because you are calling count every loop iteration.
Thank you,
Micah Gersten
onShore Networks
Internal
to make sure your web page is compliant.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
;
}
}
}
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
and on
the live server.
thanks
terion
Have you checked the PHP error logs?
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
as a
simple typecast:
http://us2.php.net/manual/en/language.types.object.php
$object = (object) $array;
As for the object to array, the same thing applies:
http://us2.php.net/manual/en/language.types.array.php
$array = (array) $object;
Not sure if these are PHP 5 only or not.
Thank you,
Micah
? Can it be perceived? Is this just a proverbial pandrödinger's
box? You can't implement the bigbang() function if you don't exist.
Cheers,
Rob.
The function doesn't say who's doing the creating, it just checks for
the existence of the universe.
Thank you,
Micah Gersten
onShore Networks
Robert Cummings wrote:
On Mon, 2008-12-08 at 19:46 -0600, Micah Gersten wrote:
Robert Cummings wrote:
On Tue, 2008-12-09 at 00:16 +, Nathan Rixham wrote:
Ashley Sheridan wrote:
On Mon, 2008-12-08 at 23:23 +, [EMAIL PROTECTED] wrote
German Geek wrote:
On Tue, Dec 9, 2008 at 2:46 PM, Micah Gersten [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
Robert Cummings wrote:
On Tue, 2008-12-09 at 00:16 +, Nathan Rixham wrote:
Ashley Sheridan wrote:
On Mon, 2008-12-08 at 23:23 +, [EMAIL
one week less than the current system
timestamp.
date('Y-m-d G:i:s', strtotime('1 week ago'));
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
the
structure in your code all over the place.
Col
Why would you want to delete the instructors when deleting the student?
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
O'reillys Learning PHP 5:
http://oreilly.com/catalog/9780596005603/index.html
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
jeffery harris wrote:
Hi guys/gals. I'm a first time user. Does anyone know of a good php book?
--
PHP General Mailing
a class constant using
constant($className.'::CONSTANT_NAME'). How do I access a static
variable?
Check this out:
http://us2.php.net/manual/en/language.oop5.static.php
It actually won't work until 5.3.0 when they add late static binding.
Thank you,
Micah Gersten
onShore Networks
Internal
It flance wrote:
Hi,
I lost phpmyadmin password. Is there anyway to recover it?
Thank you
PHPMyAdmin uses MySQL's internal authentication. Log into your MySQL
server and reset your password.
http://dev.mysql.com/doc/refman/5.0/en/resetting-permissions.html
Thank you,
Micah Gersten
101 - 200 of 242 matches
Mail list logo