Dear Alawi,
I would like to thank you for your complements on the exam. The guys
that wrote it definitely did an excellent job and produced a test of
the highest quality.
Your experience shows that even seasoned developers can enhance their
PHP skills by studying for the exam. This is something I
Steve
Take a look at
mysql_data_seek
Mike
Steve Douville wrote:
After cycling through a result set using mysql_fetch_assoc, I need to cycle
through the result set again. However, it's acting like it's maybe already
at the end of the result set and can't be looped again. I've looked for
something simple, like a result resetter, but I seem t
After cycling through a result set using mysql_fetch_assoc, I need to cycle
through the result set again. However, it's acting like it's maybe already
at the end of the result set and can't be looped again. I've looked for
something simple, like a result resetter, but I seem to be missing
something
--- j kensler <[EMAIL PROTECTED]> wrote:
> How long is the Zend certification 'good' for?
It doesn't expire, but it's for a specific version of PHP (minor version
number, not point release). The yellow pages at Zend will be enhanced to
indicate the version number as well as the date once it become
I purchase the guide before month and because I am outside US it will
be inn my country after another month ( I actually bought it pdf
version from phparch but because of the issue between Sams they cancel
pdf version and sent the print on thier own charge for the shipment)
, when I see Zend offer
On Sep 30, 2004, at 12:20 PM, j kensler wrote:
How long is the Zend certification 'good' for?
Daniel Kushner (Director of Education at Zend) has said: [1]
"[The] certifcation doesn't expire. The Education Advisory Board
believe that a new exam should be released on every major version of
PHP once
How long is the Zend certification 'good' for?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- James McGlinn <[EMAIL PROTECTED]> wrote:
> I sat the test last Wednesday after going through the guide
> cover to cover. Whilst there were a number of questions which
> were definitely experience-based, I found the questions were
> generally somewhat easier than the chapter questions and
> prac
--- Greg Donald <[EMAIL PROTECTED]> wrote:
> Knowing you were involved, I was actually hoping you might reply
> to my post.
I'd be interested in hearing your honest feedback after you take it,
whether privately or on this list. Hopefully ZCE becomes a respected
acronym, unlike MCSE. :-)
> I got 4
On Wed, 29 Sep 2004 22:03:07 +0100, PHP Tech <[EMAIL PROTECTED]> wrote:
>
> I thought by clicking the link this would be a form sending the url of the
> page to the next page and so I could then use $_GET to retrieve this. I
> also thought of using $_SERVER and getting the referer web address. Th
Check out the PHP mail function:
http://www.php.net/manual/en/ref.mail.php
http://www.php.net/manual/en/function.mail.php
On Wed, 2004-09-29 at 14:03, PHP Tech wrote:
> Hi.
>
> I am on a tight deadline here- I am trying to get a feature on a website I
> am creating where you click a link on a pag
On Thu, 30 Sep 2004 09:25:09 +1200, James McGlinn <[EMAIL PROTECTED]> wrote:
> I sat the test last Wednesday after going through the guide cover to
> cover. Whilst there were a number of questions which were definitely
> experience-based, I found the questions were generally somewhat easier
> than
On Wed, 29 Sep 2004 16:36:50 -0500, Greg Donald <[EMAIL PROTECTED]> wrote:
> insite
insight too!
I'm a nervous wreck today..
--
Greg Donald
http://gdconsultants.com/
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Wed, 29 Sep 2004 14:01:22 -0700 (PDT), Chris Shiflett
<[EMAIL PROTECTED]> wrote:
> [Disclaimer: I am on the Zend Advisory Board and helped create the
> Zend Certification exam.]
Thanks for your insite. Knowing you were involved, I was actually
hoping you might reply to my post.
I got 4/5 on t
On Sep 30, 2004, at 8:01 AM, Greg Donald wrote:
I was wondering if anyone on the list has taken the Zend PHP
Certification test?
I bought the Zend study guide and have read it cover to cover, then I
went back and re-read a bunch of it again in areas where I felt weak.
I've been studying heavily t
[Disclaimer: I am on the Zend Advisory Board and helped create the
Zend Certification exam.]
--- Greg Donald <[EMAIL PROTECTED]> wrote:
> I bought the Zend study guide and have read it cover to cover
That's a good approach. I don't think the guide is a good substitute for
experience, but it's as
Hi.
I am on a tight deadline here- I am trying to get a feature on a website I
am creating where you click a link on a page which says 'email this page'
and it takes you to a new page with a form asking you to enter your name,
email and an email address and name of a person you would like to email
Try adding
function getQuery() {
return $this->query;
}
to the first class, then in the second class, replace $query with
$this->getQuery()
Like I have below.
On Wed, 29 Sep 2004 17:08:49 +0200, kioto
<[EMAIL PROTECTED]> wrote:
> //db_class.php
>
> error_reporting(E_ALL);
>
> class Db_Conne
blackwater dev wrote:
so do this each time?
I need a routine that will dynamically create a folder, then use that
folder to upload images. This problem doesn't exists just on one
directory but on all directories dynamically created.
I mean PHP ftp functions. http://www.php.net/ftp
Thanks!
On Wed,
so do this each time?
I need a routine that will dynamically create a folder, then use that
folder to upload images. This problem doesn't exists just on one
directory but on all directories dynamically created.
Thanks!
On Wed, 29 Sep 2004 21:48:05 +0200, Marek Kilimajer <[EMAIL PROTECTED]> wro
I was wondering if anyone on the list has taken the Zend PHP Certification test?
I bought the Zend study guide and have read it cover to cover, then I
went back and re-read a bunch of it again in areas where I felt weak.
I've been studying heavily the past two weeks and I have the test
tomorrow m
blackwater dev wrote:
Hello all...
I finally have an upload script partly working but am not running into
this problem.
I have this code which executes when the user visits the image upload page:
if (!file_exists("../images/property_$id")){
mkdir("../images/property_$id", 0700);}
$upload_dir =
Typically people use BBCode to do this.
This mean the user will enter something like
[b]this is bold[/b] or [i]italic[/u] and the BBCode will be parsed and
transformed into HTML when the page is displayed. There are many parsers
already written to do this, or you could make your own, or use PEAR:
h
Hello all...
I finally have an upload script partly working but am not running into
this problem.
I have this code which executes when the user visits the image upload page:
if (!file_exists("../images/property_$id")){
mkdir("../images/property_$id", 0700);}
$upload_dir = "../images/propert
Thanks all!
On Wed, 29 Sep 2004 14:55:58 +0100, Chris Dowell <[EMAIL PROTECTED]> wrote:
> In PHP4
>
> $array = explode(';', chunk_split("A12B05C45D34", 3, ';'));
>
> In PHP4
>
> $array = str_split("A12B05C45D34", 3);
>
> RTFM
>
> Cheers
>
> Chris
>
>
>
> blackwater dev wrote:
>
> > How
Hello,
On 09/28/2004 03:54 AM, Roger Thomas wrote:
You may just need to tune qmail to maximize the number of
simultaneous deliveries according to the available bandwidth.
How do I tune qmail in that manner ? If the answer is too long and
complicated, pls flame me softly as this is already OT.
Usua
> I am looking for the best way to have a user enter information and
> format it ... i.e. Bold, Italics, etc... with out havng to use the
> HTML commands...
> Using PHP4.
> Any suggestions...
Take a look at the way phpBB does this.
thnx,
Chris
--
PHP General Mailing List (http://www.php.net/)
T
Hello,
On 09/29/2004 06:04 AM, Niklas Ojala wrote:
I am kind of new to this news thing, but here goes.
I am looking for a class or some samples that would read a table from mysql
and store it in an array variable, so that it will be avilable to other
parts of the page without having to get it from
I am looking for the best way to have a user enter information and
format it ... i.e. Bold, Italics, etc... with out havng to use the
HTML commands...
Using PHP4.
Any suggestions...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello guys,
I don't know if this question is PHP related or not, but, maybe someone
remember, have the PHP script be processed if POST request is broken in
the middle?
For example: User POSTs 60 KB of text, and then his browser or internet
connection crashes, when only 30 of 60 KB was sent t
Thank you for your ideas, this is an example of what I came up with. When
the application is complete I will turn on the query cache in mysql to have
even better performance.
function filter($var)
{
if ($var["active"])
{
return true;
}
}
$link = mysql_pconnect("localhost", "fo
It sounds like what you need to do is create several different queries
based upon what the user selects from a form..
For instance...
Form fields:
A,B,C,D
(Drop downs are best for these field entries because you can control
them, if not it's just a little tougher.)
IF(isset($_POST['A']))
Harlequin wrote:
Morning everyone.
I've read around the subject of searching and although using the FULLTEXT
capability of MySQL might be the proper way of doing this I feel it's
somewhat limited and have decided to use a simple select procedure.
I'm sure there's a better way of doing this, as I
Rajesh Batchu wrote
_outputStream.flush();
_outputStream.close();
// receive response
_inputStream = new DataInputStream(new BufferedInputStream(_httpsConnection.getInputStream()));
OT: if you close the outputstream from URLConnection you will not be
able to read the
Rajesh Batchu wrote:
Hi,
I have a page with SSL enables as below.
https://email.website.com/usrfolder/one.php
For this page, my customer is posting some XML data using a java output stream as below. ( pseudo code)
URL url = new URL(_url);
_httpsConnection= (HttpsURLConnectio
--- "Gryffyn, Trevor" <[EMAIL PROTECTED]> wrote:
> "Permission denied" could also probably indicate (in addition to
> what's
> already been mentioned) that there's authentication needed. If you
> connect with a web browser, do you get a login prompt window pop
> up?
> Not an HTML one, but one of
* Kevin Williams <[EMAIL PROTECTED]>:
> Would some generous soul please create an extension for Subversion,
> please? I would do it myself if I knew how. People are starting to
> ask for PHP-based web apps for Subversion, and wrapping the
> command-line tool is such a hack.
Ummm... they already
Please do not top post.
On Wednesday 29 September 2004 21:39, blackwater dev wrote:
> What should I look for? I know globals are off...file_upload is on.
read manual > Handling file uploads
Find out whether your version of php supports $_FILES, if so use it. If not
use $HTTP_POST_FILES.
Do:
Thanks to everyone who sent in patterns =) They worked like a charm =)
>
> $pattern = "/\{\$(.+?)\}/i";
> $replacement = "\"\.\$$1\.\"";
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
error_reporting(E_ALL);
class Db_Connect {
var $host;
var $user;
var $pasw;
var $MYSQL_ERRNO;
var $MYSQL_ERROR;
var $query;
function make_connect($host, $user, $pasw) {
$this->host = $host;
$this->user = $user;
$this->pasw = $pasw;
$link_id = mysql_conn
Maybe what you want is
if (isset($_POST['WorkPermit'])) {
$WorkPermit = $_POST['WorkPermit'];
// do the select statement
} else
echo "no search";
}
-Original Message-
From: Harlequin [mailto:[EMAIL PROTECTED]
Sent: 29 September 2004 08:15
To: [EMAIL PROTECTED]
Su
Hi,
I have a page with SSL enables as below.
https://email.website.com/usrfolder/one.php
For this page, my customer is posting some XML data using a java output stream as
below. ( pseudo code)
URL url = new URL(_url);
_httpsConnection= (HttpsURLConnection) url.openConnectio
Of course! Brilliant - why didn't I think of building my own parser from the
ground up? ;-)
Thanks though, this is definitely a starting point.
Thanks,
Yoed
-Original Message-
From: Curt Zirzow [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 28, 2004 10:13 PM
To: [EMAIL PROTECTED]
Su
> Example,
> A12B05C45D34
>
> I need to split this into chunks of three A12,B05,C45..etc?
not sure if your string will always be the same patter but this might work
$string = 'A12B05C45D34';
$array = preg_split ( '/([a-zA-Z]\d{2})/', $string,
-1,PREG_SPLIT_NO_EMPTY | PREG_SPLIT_DELIM_CAPTURE );
"Permission denied" could also probably indicate (in addition to what's
already been mentioned) that there's authentication needed. If you
connect with a web browser, do you get a login prompt window pop up?
Not an HTML one, but one of the the basic HTML Auth type stuff?
Try pointing your script
You could do something like:
$result = mysql_query("SELECT * FROM whatever", $link);
while ($topic = mysql_fetch_assoc($result)) {
$all[] = $topic;
}
The array $all will contain all of the things fetched.
On Wed, 2004-09-29 at 02:04, Niklas Ojala wrote:
> Hello
>
> I am kind of new to th
Try something like this:
$string = 'A12B05C45D34';
$string = chunk_split($string, 3, ':');
//Should give you 'A12:B05:C45:D34';
$array = explode(":",$string);
Cheers,
Gareth
On 29 Sep 2004, at 15:40, blackwater dev wrote:
How can I take a string and create an array?
Example,
A12B05C45D34
I need to
blackwater dev wrote:
How can I take a string and create an array?
Example,
A12B05C45D34
I need to split this into chunks of three A12,B05,C45..etc?
Thanks!
|
use str_split()
if you dont have php5, you can use the following code:
|
if (!function_exists('str_split')) {
function str_split ($s
blackwater dev wrote:
How can I take a string and create an array?
Example,
A12B05C45D34
I need to split this into chunks of three A12,B05,C45..etc?
Thanks!
$chunks = preg_split('/(.{3})/', $str, -1, PREG_SPLIT_NO_EMPTY |
PREG_SPLIT_DELIM_CAPTURE);
--
PHP General Mailing List (http://www.php.net/
In PHP4
$array = explode(';', chunk_split("A12B05C45D34", 3, ';'));
In PHP4
$array = str_split("A12B05C45D34", 3);
RTFM
Cheers
Chris
blackwater dev wrote:
How can I take a string and create an array?
Example,
A12B05C45D34
I need to split this into chunks of three A12,B05,C45..etc?
Thanks!
--
PHP Ge
blackwater dev wrote:
How can I take a string and create an array?
Example,
A12B05C45D34
I need to split this into chunks of three A12,B05,C45..etc?
split()
chunk_split()
substr()
preg_split()
Thanks!
--
Raditha Dissanayake.
---
[snip]
I know what this means, but what are some reasons why we would get this
error?
Warning: fsockopen(): unable to connect to 128.42.244.20:80
[/snip]
The primary reason that you would get this error is because you were
unable to connect to the host using sockets.
The causes may be varied, f
Brent Clements wrote:
I know what this means, but what are some reasons why we would get this error?
Warning: fsockopen(): unable to connect to 128.42.244.20:80
firewall
server not listening
network cable unplugged :-)
can you access the site hosted on that server wtih your browser can you
ping
I'm going to change this question up a bit. The error is this one:
"Warning: fsockopen(): unable to connect to www.example.com:80 in
/home/u5/lentesta/html/socket.php on line 2
Permission denied (13)"
What are some reasons we'd get this? Would a firewall or local system tcp/ip
filtering prevent s
[snip]
I've read around the subject of searching and although using the
FULLTEXT
capability of MySQL might be the proper way of doing this I feel it's
somewhat limited and have decided to use a simple select procedure.
[/snip]
Once again, might this not be better on the MySQL list? They may exp
Can you connect to the same address from the same machine with a web
browser? That should help troubleshoot this. If you can and you're
still getting the error, maybe post a section of your code and maybe we
can get a better idea if why it's failing.
-TG
> -Original Message-
> From: Bre
How can I take a string and create an array?
Example,
A12B05C45D34
I need to split this into chunks of three A12,B05,C45..etc?
Thanks!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I know what this means, but what are some reasons why we would get this error?
Warning: fsockopen(): unable to connect to 128.42.244.20:80
Thanks,
Brent
What should I look for? I know globals are off...file_upload is on.
On Wed, 29 Sep 2004 10:08:31 +0600, raditha dissanayake
<[EMAIL PROTECTED]> wrote:
> blackwater dev wrote:
>
> >Doesn't print out anything.
> >
> >
> >
> >
> then try phpinfo() it will tell you everything about your server, y
Thank you all for your responses. It was indeed an error elsewhere in my
code.
Daniel Watrous
- Original Message -
From: "Matthew Fonda" <[EMAIL PROTECTED]>
To: "Curt Zirzow" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, September 28, 2004 8:30 PM
Subject: Re: [PHP] classe
A bit rough and ready but I think this is kind of what you asked for:
** THIS IS UNTESTED CODE **
$name2)
{
echo "$id2 $name2 ";
}
...some code...
// Determine a valid value for $x and then:
$name3 = $user_array[$x];
?>
HTH
Graham
-Original Message-
From: Niklas Ojala [mailto:[E
Niklas Ojala wrote:
Hello
I am kind of new to this news thing, but here goes.
I am looking for a class or some samples that would read a table from mysql
and store it in an array variable, so that it will be avilable to other
parts of the page without having to get it from the database again. So I
<> tutorial at phpfreaks.com:
http://www.phpfreaks.com/tutorials/73/0.php
HTH
Graham.
-Original Message-
From: Silvio Porcellana [mailto:[EMAIL PROTECTED]
Sent: 29 September 2004 10:53
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Multiple pages of data.
You can solve it totally with SQL,
I don't think this is the best list to ask questions about SQL, try
http://lists.mysql.com
Cheers!
Silvio Porcellana
Harlequin wrote:
Morning everyone.
I've read around the subject of searching and although using the FULLTEXT
capability of MySQL might be the proper way of doing this I feel it's
Hi Brent, hi list,
Oooopsss...;)
>date -r 049290 +%a returns 'Wed'...ok
>date -r 049280 +%a returns 'Tue'...ok
>date -r 049270 +%a returns 'Mon'...ok
>date -r 049260 +%a returns 'Sun'...ok
^^^
>date -r 049250 +%a returns
Hi Brent, hi list,
Oooopsss...;)
>date -r 049290 +%a returns 'Wed'...ok
>date -r 049280 +%a returns 'Tue'...ok
>date -r 049270 +%a returns 'Mon'...ok
>date -r 049260 +%a returns 'Sun'...ok
^^^
>date -r 049250 +%a returns
You can solve it totally with SQL, using the FOUND_ROWS() function
[http://dev.mysql.com/doc/mysql/en/Information_functions.html]
I think this is the most efficient way of doing it...
HTH, cheers
Silvio Porcellana
Nick Patsaros wrote:
I'm trying to build a bulletin style system right now. I have
* and then Marek Kilimajer declared
> >If i want to find a url on a page, there are some chars i need to escape
> >right?
> >
> >like '/' and '?'
> >
> >do i also need to escape '.'?
> >Are there any other things that might pop up in a url that I can escape
> >with addcslashes()?
> Don't use
Nick Wilson wrote:
Hi all,
If i want to find a url on a page, there are some chars i need to escape
right?
like '/' and '?'
do i also need to escape '.'?
Are there any other things that might pop up in a url that I can escape
with addcslashes()?
Much thanks
Don't use posix regexp, but use per
* and then Niklas Ojala declared
> I am looking for a class or some samples that would read a table from mysql
> and store it in an array variable, so that it will be avilable to other
> parts of the page without having to get it from the database again. So I
> would like to only get the table
Hi all,
If i want to find a url on a page, there are some chars i need to escape
right?
like '/' and '?'
do i also need to escape '.'?
Are there any other things that might pop up in a url that I can escape
with addcslashes()?
Much thanks
--
Nick W
--
PHP General Mailing List (http://ww
Hi Brent, hi list,
>If you just run your command in the shell, you'll see that you
>get an operation not permitted error. Using the -r switch you
>can provide the seconds since Epoch to just display a 'date'
>you specify.
>For instance:
>date -r 97840 +%a
>R
OK, I've tried it out. What is interesting is that the URL you have posted
results in the site's 'home' page, for me anyway, which obviously results in
no matches for the preg_match. It appears to redirect to
http://www.runescape.com/ somehow.
I am using the code:
http://hiscore.runescape.com/af
Hello
I am kind of new to this news thing, but here goes.
I am looking for a class or some samples that would read a table from mysql
and store it in an array variable, so that it will be avilable to other
parts of the page without having to get it from the database again. So I
would like to only
Hi there,
I am having trouble with posting a form to a php script through SSL on IE prior
5.5 sp1. It works like a charm on all other browsers. In IE it works without
SSL, but when SSL is enabled, the browser pops up with a message that he is
switching to an unsecure site and then all then displ
Morning everyone.
I've read around the subject of searching and although using the FULLTEXT
capability of MySQL might be the proper way of doing this I feel it's
somewhat limited and have decided to use a simple select procedure.
I'm sure there's a better way of doing this, as I'm quite new to
I gave up with the timestamp feature because although it's accurate it's not
English and needs to be reworked to make it presentable.
Despite finding code to do this I still moved on to using a date\time stamp
using the US format of-course and this echoes much easier and will of-course
be easie
78 matches
Mail list logo