string.
Regards,
David
--
David Grant
Web Developer
[EMAIL PROTECTED]
http://www.wiredmedia.co.uk
Tel: 0117 930 4365, Fax: 0870 169 7625
Wired Media Ltd
Registered Office: 43 Royal Park, Bristol, BS8 3AN
Studio: Whittakers House, 32 - 34 Hotwell Road, Bristol, BS8 4UD
Company registration
quot;===") comparison operator checks for variable
type AND variable value equality.
Regards,
David
--
David Grant
Web Developer
[EMAIL PROTECTED]
http://www.wiredmedia.co.uk
Tel: 0117 930 4365, Fax: 0870 169 7625
Wired Media Ltd
Registered Office: 43 Royal Park, Bristol, BS8 3AN
Studio: Whi
ay be a stupid question, but have you specifically started MySQL?
Regards,
David
--
David Grant
Web Developer
[EMAIL PROTECTED]
http://www.wiredmedia.co.uk
Tel: 0117 930 4365, Fax: 0870 169 7625
Wired Media Ltd
Registered Office: 43 Royal Park, Bristol, BS8 3AN
Studio: Whittakers House, 32 - 34 Hotwell
hinfo() instead. To
actually answer your question, have you tried using print_r() to get the
contents of the array?
--
David Grant
Web Developer
[EMAIL PROTECTED]
http://www.wiredmedia.co.uk
Tel: 0117 930 4365, Fax: 0870 169 7625
Wired Media Ltd
Registered Office: 43 Royal Park, Bri
e court, kindly send the following information to us immediately. Your full name,telephone,mobile and fax numbers as well as your resident or company address. I await your earliest response.
Thanks,
Yours Sincerely
REV DR EGO MOMOH.
--
David Grant
Web Developer
[EMAIL PROTECTED]
http://www.w
processor type, just look here:
http://rpmfind.net/linux/rpm2html/search.php?query=php&submit=Search+...
If you must use RPMs :(, look no further that http://rpmfind.net.
--
David Grant
Web Developer
[EMAIL PROTECTED]
http://www.wiredmedia.co.uk
Tel: 0117 930 4365, Fax: 0870 169 7625
Wired Media
e a way of
doing it.
--
David Grant
Web Developer
[EMAIL PROTECTED]
http://www.wiredmedia.co.uk
Tel: 0117 930 4365, Fax: 0870 169 7625
Wired Media Ltd
Registered Office: 43 Royal Park, Bristol, BS8 3AN
Studio: Whittakers House, 32 - 34 Hotwell Road, Bristol, BS8 4UD
Company registration numbe
sven wrote:
you can use the default: statement as last case in switch, too.
I always use default: to exit() the script, as something is obviously
fubar if it gets there...
--
David Grant
Web Developer
[EMAIL PROTECTED]
http://www.wiredmedia.co.uk
Tel: 0117 930 4365, Fax: 0870 169 7625
Wired
E == empty($HTTP_GET_VARS[$parameterValue]))
{
return ($HTTP_GET_VARS[$parameterValue]);
}
else
{
return (NULL);
}
}
}
--
David Grant
Web Developer
[EMAIL PROTECTED]
http://www.wiredmedia.co.uk
Tel: 0117 930 4365, Fax: 0870 169 7625
Wired Media Ltd
Registered
ading the PHP manual a little more carefully, in
particular those sections regarding variable and form handling, as well
as the section on MySQL.
Regards,
David
--
David Grant
Web Developer
[EMAIL PROTECTED]
http://www.wiredmedia.co.uk
Tel: 0117 930 4365, Fax: 0870 169 7625
Wired Media Lt
s recently... Damn it! I must learn to
simplify a bit more.. :P
Regards,
David
--
David Grant
Web Developer
[EMAIL PROTECTED]
http://www.wiredmedia.co.uk
Tel: 0117 930 4365, Fax: 0870 169 7625
Wired Media Ltd
Registered Office: 43 Royal Park, Bristol, BS8 3AN
Studio: Whittakers House, 32 -
(for obvious reasons) access POST
variables after a GET request.
Just loop through the POST superglobal (i.e. using foreach) and create a
appending string for your hyperlink.
Regards,
David
--
David Grant
Web Developer
[EMAIL PROTECTED]
http://www.wiredmedia.co.uk
Tel: 0117 930 4365, Fax: 087
match("/\/U", $line, $matches);
NOTE: this might need a bit of tweeking, since I'm not too hot on
regular expressions... :)
Regards,
David
--
David Grant
Web Developer
[EMAIL PROTECTED]
http://www.wiredmedia.co.uk
Tel: 0117 930 4365, Fax: 0870 169 7625
Wired Media Ltd
Registered O
.html
--
David Grant
Web Developer
[EMAIL PROTECTED]
http://www.wiredmedia.co.uk
Tel: 0117 930 4365, Fax: 0870 169 7625
Wired Media Ltd
Registered Office: 43 Royal Park, Bristol, BS8 3AN
Studio: Whittakers House, 32 - 34 Hotwell Road, Bristol, BS8 4UD
Company registration number: 40
t directory, e.g.
header("Location: /foo/bar/index.php");
This should ensure compatability between user agents.
Regards,
David
--
David Grant
Web Developer
[EMAIL PROTECTED]
http://www.wiredmedia.co.uk
Tel: 0117 930 4365, Fax: 0870 169 7625
Wired Media Ltd
Registered Office: 43 Royal Pa
zavaboy wrote:
Umm, have you tested it? It didn't work for me...
"Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
for ($i = $aNum; eval ('return $i ' . $do . ' $bNum'); )
Untested:
for ($i = $aNum; eval("return (\$i
zavaboy wrote:
I get a infinite loop and "parse error, unexpected $"...
Told you it was untested.. :P
--
David Grant
Web Developer
[EMAIL PROTECTED]
http://www.wiredmedia.co.uk
Tel: 0117 930 4365, Fax: 0870 169 7625
Wired Media Ltd
Registered Office: 43 Royal Park, Bristol, BS8
thout the
Not what you're looking for, but... are you sure you're doing this the
easiest way?
Try putting your values in an array instead, e.g.
altid[36] and altprice[36]
Then access through:
foreach ($_POST['altid'] as $id => $value)
{
$price = $_POST[
Marius wrote:
how to generate random number ?
Look no further than rand(). Well, actually do look further because
srand() is better.
Regards,
David
--
David Grant
Web Developer
[EMAIL PROTECTED]
http://www.wiredmedia.co.uk
Tel: 0117 930 4365, Fax: 0870 169 7625
Wired Media Ltd
Registered
-
It doesn't work...
Can anybody help me ?
Take a peek into php.ini to change the default value.
Note that you should seperate mail headers with \r\n.
Regards,
David
--
David Grant
Web Developer
[EMAIL PROTECTED]
http://www.wiredmedia.co.uk
Tel: 0117 930 4365, Fax: 0870 169 7
bably not the answer you're looking for, but a hell of a lot easier:
For print this story, you only need an alternate print stylesheet...
Look at the CSS spec.
Regards,
David
--
David Grant
Web Developer
[EMAIL PROTECTED]
http://www.wiredmedia.co.uk
Tel: 0117 930 4365, Fax: 0870 169 7625
W
Leif K-Brooks wrote:
I reccomend you RTFM!
There's a MANUAL?! Wow! :)
--
David Grant
Web Developer
[EMAIL PROTECTED]
http://www.wiredmedia.co.uk
Tel: 0117 930 4365, Fax: 0870 169 7625
Wired Media Ltd
Registered Office: 43 Royal Park, Bristol, BS8 3AN
Studio: Whittakers House, 32 - 34 Ho
The date() function accepts a second parameter, which is a UNIX
timestamp of your choice.
Regards,
David
--
David Grant
Web Developer
[EMAIL PROTECTED]
http://www.wiredmedia.co.uk
Tel: 0117 930 4365, Fax: 0870 169 7625
Wired Media Ltd
Registered Office: 43 Royal Park, Bristol, BS8 3AN
Studio: Whi
eyond the scope of this list). Perhaps you should write them an e-mail
detailing your problems?
Regards,
David
--
David Grant
Web Developer
[EMAIL PROTECTED]
http://www.wiredmedia.co.uk
Tel: 0117 930 4365, Fax: 0870 169 7625
Wired Media Ltd
Registered Office: 43 Royal Park, Bristol, BS8 3AN
S
Dan Joseph wrote:
How do you put a carriage return in a MySQL database and have it
display as a line break on the web page?
str_replace ("\n", "", $var);
-Dan Joseph
Is CR == NL? What's wrong with nl2br()?
--
David Grant
Web Developer
[EMAIL PROTECTED]
http://www.w
Dan Joseph wrote:
Hi,
str_replace ("\n", "", $var);
-Dan Joseph
Is CR == NL? What's wrong with nl2br()?
Beats me, is it? nothing wrong with it I guess, I just didn't know about
that function.
-Dan Joseph
Just did a bit of checking..
NL == ASCII 01
get a warning message.. and it doesnt check the first num1 in the array.
Im certain that Its my code, and I wanted to get some input on what Im doing wrong.
-Dan
A quick search turned this up:
http://www.php.net/manual/en/function.preg-grep.php
--
David Grant
Web Developer
[EMAIL PROTECTED]
http
Printing error messages to your output can be disabled with the
"display_errors" directive in your php.ini file. To enable error
printing, the directive should read:
display_errors = On
Cheers,
Dave
Jay Blanchard wrote:
> Hidy-ho good meighbors and neighborettes!
>
> I continue my, as yet unq
Hi Scott,
How do you distinguish between a value filled with zeroes and a value
with 0 in both decimal positions?
For example, why is 3145900 expressed as 3,145.90, and not 31,459.00?
Cheers,
David Grant
Scott Parks wrote:
> Hi-
>
> I have a number that I am trying to format. I
Hi Angelo,
You might want:
session.cookie_lifetime =
Obviously this only has an effect if the session.use_cookies directive
is set to "1".
Cheers,
David Grant
Angelo Zanetti wrote:
> Hi guys.
>
> I've been searching for where the time is set for a session to expi
Hi Adrian,
This appears to be a security hole, but since that wasn't the reason for
the question, please try:
echo"";
php.net/htmlentities
Cheers,
David Grant
Adrian Bruce wrote:
> Hi
>
> I am trying Dynamically creating a Query based on form input for an
> in
-resources/articles/guide-to-php-security-ch3.pdf
Cheers,
David Grant
Adrian Bruce wrote:
>
> I'm aware it would be a security hole if it were available to all users,
> but it's just for me at the mo, other users get a watered down version
> with just check boxes. I basically
if (isset($values[4])
unset($values[4]);
Cheers,
David Grant
cybermalandro cybermalandro wrote:
> I have an array with indexes 0 to 4 and I want to delete an element of the
> array if the index is equals 4. I want to delete the variable key and value.
> What is the best way
Chris,
if (preg_match("/^[A-Za-z0-9\.]+\s*[A-Za-z0-9\.]*$/", "Co. Dublin"))
echo "TRUE";
else
echo "FALSE";
prints "TRUE" for me.
Cheers,
David Grant
Chris Boget wrote:
> Why isn't this regular expression
>
> ^[A-Za-z
I might have the wrong end of the stick, but would it not be easier to
calculate these variables in the form handling script?
Cheers,
David Grant
Chase wrote:
> I am trying to build an order form for our clients to use to order hardware
> and software, or atleast get a price quote fo
Bing,
Have you checked for a php-ldap RPM?
Cheers,
David Grant
Bing Du wrote:
> Hello,
>
> PHP has already been installed through RPM. phpinfo() shows
> '--with-ldap'. That's the only information about ldap. I think there
> should be more than that if php we
http://www.php.net/manual/en/tutorial.php#tutorial.requirements
[EMAIL PROTECTED] wrote:
> i am new to PHP and web programming/management in general...
>
> Using Dreamweaver I am trying to preview .php files on the local server, but
> the
> page won't show up in a web browser. This is probably a
Georgi,
You should assign the output of the functions to variables before the
call and use those variables as the parameters.
Cheers,
David Grant
Georgi Ivanov wrote:
> Hi,
> AFAIK, in PHP5 one can't call function with function parameters .
> The error is that you only can pas
Hi Tony,
I would think the first step would be to find a web service or dataset
to convert a zip code to longitude/latitude.
The formula for calculating distances from long/lat is available here:
http://www.colorado.edu/geography/gcraft/warmup/aquifer/html/distance.html
Cheers,
David Grant
Ahmed,
call_user_func(array($className, 'doSomething'));
Cheers,
David Grant
Ahmed Saad wrote:
> hi all,
>
> how can i call static methods of a class whose name is variable.. something
> like
>
> I can do this with reflection by creating a ReflectionMethod objec
-mode.php
Cheers,
David Grant
Graham Cossey wrote:
> [snip]
>> Make sure to always hit reply-all, or the e-mail will not go back to the
>> list.
>
> Yep, realised that after hitting 'send'. :-(
>
>> If file exists is looking for an associated files is it probabl
Hi,
Try this:
It's a hack, but it works.
Cheers,
David Grant
Bing Du wrote:
> Hi,
>
> One webpage has its banner, left menu and footer ect that are controled
> by the template. I want this php script to output the form and
> processing result within the page structur
$_SERVER['HTTP_USER_AGENT'] contains whatever the browser passes to the
server to identify itself, which may be faked by certain browsers at the
discretion of the user.
The two user agents you provide as an example are both extremely common.
Cheers,
David Grant
twistednetadmin wrote
Shaun,
This:
$values[] = $value;
Does this:
$values[] = array('Scheduling' => '44');
Therefore, it must be accessed like this:
$values[$i]['Scheduling'] // gives '44'
But not this:
$values[$i][0] // index doesn't exist.
Cheers,
David Grant
Hi Angelo,
Why not send them all in one go? If you want to reduce server load, you
should perhaps adjust the 'nice'ness of the script.
If you do the following:
nice --adjustment=19 ./script.php
Your script will run in the background and use only spare resources.
Cheers,
David Gra
l scripts have to run the function.
e.g. 1% chance of cleaning up the database.
99) {
deleteItems();
}
?>
Cheers,
David Grant
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
]))
$_SESSION['menu'] = $_GET['menu'];
Cheers,
David Grant
Gregory Machin wrote:
> Hi
> I'm a bit stuck on session var, and thier implamentation, or my perseption
> thier of.
> I have a page and need certian vars to be persistat each time the page is
> cal
Hi Richard,
Please ensure that the "allow_url_fopen" directive is set to "On" in
your php.ini file.
Cheers,
David Grant
Richard K. Miller wrote:
> I compiled PHP from source on Fedora Core 4, but I must have left
> something out because readfile and get_file_conten
Gregory,
Values in the $_SESSION superglobal will persist over pages so long as
session_start() is called on each page.
Cheers,
David Grant
Gregory Machin wrote:
> I have a test script..
> What i'm trying to achieve is once the user has clicked on link1 the
> value of item must
s on $_GET['item'] being set,
which isn't. Try var_dump($_SESSION) instead of the conditional echoing
of the variables.
Cheers,
David Grant
> Thanks
>
> On 11/24/05, *David Grant* <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
>
> Grego
Andy,
Try preg_match instead of ereg.
Cheers,
David Grant
Andy Pieters wrote:
> Hi list
>
> I still fail to understand why regular expressions are causing me such a hard
> time.
>
> I used and tested my regexp in kregexpeditor (comes with Quanta [kdewebdev])
> but whe
Robert,
I have some scripts that I downloaded and am trying to make compliant
> with my server. They have they are and how to fix them at this point.
>
> Stupid question, I know, but...
>
> Thanks,
> Robert
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://w
Tells the parser that the XML it is parsing is version 1.
Jochem Maas wrote:
> Wolf wrote:
>> I have some scripts that I downloaded and am trying to make compliant
>> with my server. They have > they are and how to fix them at this point.
>>
>> Stupid question, I know, but...
>
> not stupid, a
Ahmed Saad wrote:
> On 11/26/05, Yaswanth Narvaneni <[EMAIL PROTECTED]> wrote:
>> I 'dont' want to use something like select * from table where
>> table.passwd=password($passwd);
>
> (IIRC. they broke backward compatibility in
> version 5)..
4.1 :(
Cheer
*cough*
http://pear.php.net/package/Mail
*cough*
Mark Steudel wrote:
> Would you mind elaborating on why?
>
> -Original Message-
> From: Richard Heyes [mailto:[EMAIL PROTECTED]
> Sent: Monday, November 28, 2005 12:53 AM
> To: Cabbar Duzayak
> Cc: php-general@lists.php.net
> Subject:
Hi Dan,
Try:
$a = split("\n", chunk_split('1234567890', 2), 5);
php.net/chunk_split
php.net/split
Cheers,
David Grant
Sichta Daniel wrote:
> Hi all !!!
>
> I have string like this "1234567890"
>
> I need to split this into array like this
>
There is an error in this code. It should in fact read:
$a = split("\r\n", chunk_split('1234567890', 2), 5);
OR
$a = split("\n", chunk_split('1234567890', 2, "\n"), 5);
David Grant wrote:
> Hi Dan,
>
> Try:
>
> $a = split
Hi,
021 wrote:
> $lines = file('sometext.txt');
> for ($i = 0, $j = count($lines); $i <=1; $i++) {
> print $lines[$j - $i];
> }
> ?>
For a start, try this instead:
$lines = file('sometext.ext');
$last = end($lines);
Secondly, do you have an example of
> and after * are changing, hope there's a simple
> solution for this
>
> thanx
>
--
David Grant
http://www.grant.org.uk/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Personally, I'd keep it all in the session and write at the end, but
this approach has at least two drawbacks:
1. The user cannot complete the process at a later point.
2. You cannot conduct analysis of part-completed data.
Cheers,
David Grant
[EMAIL PROTECTED] wrote:
> Hi to all!
Hi Angelo,
This simply means that the redirection keeps going, like so:
foo.php
bar.php
Check the logic in your application that decides if the user gets
redirected and make sure you're not making any incorrect assumptions.
Cheers,
David Grant
Angelo Zanetti wrote:
> Hi guys.
&
;,$link,$html,1);
> This generally works but removes , tags too.
> How to make it work without removing anything else than (.*) in the middle of
> .*
>
> Thanks in advance.
>
--
David Grant
http://www.grant.org.uk/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
other (cheaper) options.
Take a look at the following link for a list of editors with reviews.
http://www.php-editors.com/review/
Cheers,
David Grant
--
David Grant
http://www.grant.org.uk/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi Jeff,
Jeff McKeon wrote:
> What is it you like about Zend Studio?
* Code completion
* Syntax highlighting for PHP, HTML and CSS
* Manual pages
* Debugging
* Code examination
* PHPDoc
* CVS & SVN support
Cheers,
David
--
David Grant
http://www.grant.org.uk/
--
PHP General Maili
is unwanted (as far as I understand the
problem). :)
It would be interesting if Steve could divulge the greater problem that
he is seeking a solution to.
Cheers,
David
--
David Grant
http://www.grant.org.uk/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http:/
Mmmm, reminds me of Kate! When I use KDE, I used Kate for all non-PHP
coding tasks, because it has great highlighting, and code folding too. :)
Cheers,
David Grant
--
David Grant
http://www.grant.org.uk/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
y it has
> more options that I'd never used.
>
> And yes Code folding is nice don't use it much tho.
>
> On Tuesday 06 December 2005 09:48, David Grant wrote:
>> Stephen Leaf wrote:
>>> KWrite part of KDE. Notepad with Syntax Highlighting and AutoIndention.
e the code out to a
function and pass the parts that vary as parameters.
Cheers,
David Grant
Steve McGill wrote:
> Hi,
> David is right about the unwanted side-effect. Thanks for the idea though.
> Unfortunately the 'greater problem' is not so great, I've just been doing
&g
Larry E. Ullman wrote:
>>>> 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?
http://fudforum.org/features.php
I've heard lots about it, but never used it.
Cheers,
Dav
CTED]
Can this address be unsubscribed?
Cheers,
David
--
David Grant
http://www.grant.org.uk/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Shaun
Shaun wrote:
> Is it possible to return the result of eval function to a string rather than
> outputting directly to the browser?
ob_start();
eval('$eval = "evil";');
$output = ob_get_clean();
Cheers,
David Grant
--
David Grant
http://www.grant.org.uk/
--
'--enable-magic-quotes' '--enable-
> mbstring' '--enable-track-vars' '--enable-trans-sid' '--enable-
> wddx=shared' '--enable-xml' '--with-dom' '--with-gd' '--with-gettext'
> '--with-mysqli=/usr/local/
why I'm getting "undefined function" errors.
>
> PHP.ini has no reference to mysqli. I don't know if changing this would
> enable the functions specific to PHP > 4.x.
>
> Paul Hickey
> Christian Patriot
> Palm Bay Fl
>
--
David Gran
php
> or b) Change all mysql_* functions to their counterparts in mysqli_*
Hmm, that's how I *should* have put it. :)
Cheers,
David
--
David Grant
http://www.grant.org.uk/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ould work sometimes and why it wouldn't work others. Any help or advice
> would be greatly appreciated.
>
> Thanks in advance!
>
--
David Grant
http://www.grant.org.uk/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
g so manually is not a problem, I would just use for
> web paragraphs, and for book paragraphs. However,
> formatting such text with a scrip is very difficult. Does anyone knows a
> good exaple of such script?
>
--
David Grant
http://www.grant.org.uk/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
gt;The address of the page (if any) which referred the user agent to
>the current page. This is set by the user agent. Not all user agents
>will set this, and some provide the ability to modify HTTP_REFERER
>as a feature. In short, it cannot really be trusted.
>
> notice the last 7 words
>
--
David Grant
http://www.grant.org.uk/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
rote:
> i know about
>
> $_SERVER['REMOTE_HOST']
>
> but i think i should of said how do i compare any address starting with
> 192.168.
>
> sorry if my first question was to vague
>
>
> David Grant wrote:
>
>> Try $_SERVER['REMOTE_HOST
Erm, REMOTE_ADDR, not REMOTE_HOST. Sorry!
David Grant wrote:
> Quick and (very) nasty:
>
> $parts = split(".", $_SERVER['REMOTE_HOST']);
> if ($_SERVER['REMOTE_HOST'] == '127.0.0.1' || ($parts[0] == '192' &&
> $parts[1] ==
Could it be the other way around, i.e. Windows is stripping slashes, and
Linux is not? How does $contents come to exist in the script?
Check for any difference in your ini files for magic_quotes_runtime.
Cheers,
David Grant
Janne Miettunen wrote:
> What could be wrong when this is transfor
Shaun,
That is the documented behaviour for form fields in PHP.
See "Dots in incoming variable names" on the following page:
http://php.net/variables.external
Cheers,
David Grant
Shaun wrote:
> Hi,
>
> I have a form on my site with many file fields for users to upload fi
t definition might be what you're after.
Cheers,
David
--
David Grant
http://www.grant.org.uk/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
#x27;projTitle'] . "'";
Not sure why you've got the or die() there.
Cheers,
David
--
David Grant
http://www.grant.org.uk/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Paul,
Paul Jinks wrote:
> David Grant wrote:
>> $SQLQuery = "SELECT * FROM project WHERE projTitle = '" .
>> $HTTP_GET_VARS['projTitle'] . "'";
>
> Yep, that fixed it. Thanks. I had a feeling there was a mix up with the
> "s
Labunski wrote:
> I need to split a long string into smaler chunks (an array), as a separator
> using every third \n (and not just every \n).
> I could use 'explode', but then it would produce too many chunks.
php.net/preg_split
Cheers,
David
--
David Grant
http://www.gra
Ross,
Ross wrote:
> $query = "delete from meetings where id IN (".implode(",", $ids).")";
>
> Just the end bit, ids is an array of values (1,2,3,4,5) what does the IN
> do??
It's the equivalent of WHERE id = 1 OR id = 2 OR id = 3 OR id = 4
Michelle,
Michelle Konzack wrote:
> Please can anyone tell me the right (???) Tag to get Motilla
> right to UNICODE?
Try:
Cheers,
David
--
David Grant
http://www.grant.org.uk/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Nanu,
Nanu Kalmanovitz wrote:
> The http://www.kalmanovitz.co.il/hello.php file appears OK in M$-IE but
> not in Netscape 7.0.
Looks fine to me. What is the contents of hello.php?
Cheers,
David
--
David Grant
http://www.grant.org.uk/
--
PHP General Mailing List (http://www.php.ne
utting edge, must browsers should display it fine.
To answer your question, Opera is probably the third most popular
browser on Windows.
Cheers,
David
--
David Grant
http://www.grant.org.uk/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
/pear.php.net/package/Text_CAPTCHA
Cheers,
David
--
David Grant
http://www.grant.org.uk/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
equest that this server could not understand.
> Apache/2.0.53 (Unix) mod_ssl/2.0.53 OpenSSL/0.9.7e DAV/2 mod_jk/1.2.1
> Server at easy-demo.tcinternet.de Port 443
>
> What did the Webserver not understood?
>
> Btw. i can't use cURL because the server has an old version of PH
://www.symg...') #1 {main}
>
> This is obviously truncated. I've tried looking at the apache2 error_log
> but I can't see any further detail.
>
> I'd really like to know what PHP's problem is with my wsdl. How can I
> see the full output of this error?
irect/elegant way to add the site root
> (or any other dir for that matter) to the include path?
>
> TIA
> Nuno Trancoso
>
--
David Grant
http://www.grant.org.uk/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
BOTH)){
>
> Is that a "pointer"...address of...?
>
> Todd
>
--
David Grant
http://www.grant.org.uk/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Philip Hallstrom wrote:
> http://us2.php.net/eval
Pay close attention to the oft-used quote from Rasmus Lerdorf:
"If eval() is the answer, you're almost certainly asking the
wrong question"
David
--
David Grant
http://www.grant.org.uk/
--
PHP General Mailing List (http:
f the record, finding 72 hours is fairly trivial
- 72 hours is 259200 seconds (72hrs * 60mins * 60secs).
Therefore your query will be:
DELETE FROM WHERE CURRENT_TIMESTAMP() - > 259200
David
--
David Grant
http://www.grant.org.uk/
--
PHP General Mailing List (http://www.php.net/)
To unsubscri
Gregory,
David Grant wrote:
> Gregory Machin wrote:
>> I have a table with a timestamp column and would like to use his to
>> calculate the age of the record . how would i go about this...
>> I would also like to exicute a mysql stament that pasess the tables and
>> re
.net/manual/en/ref.pgsql.php
Microsoft SQL Server
http://www.php.net/manual/en/ref.mssql.php
Oracle
http://www.php.net/manual/en/ref.oracle.php
David
--
David Grant
http://www.grant.org.uk/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
t with small steps, and asking someone new
to PHP to separate various tiers might put them off.
David
--
David Grant
http://www.grant.org.uk/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
obfuscating the code.
David
--
David Grant
http://www.grant.org.uk/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
1 - 100 of 146 matches
Mail list logo