Hello
Please could somebody point me in the right direction for learning about
PHP?
Any links would be greatfully appreciated!
Thanks
Robin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello
I am trying to install Cacti and it requires PHP.I have followed the
instructions which require me to add the above dll and php extension into
IIS.
However, i have searched my entire hardrive, but can not find this dll so i
cant continue.
Please can somebody help?
Thanks
Robin
Thanks Nikunj
Which actual download is it? The zip or the installer?
Robin
"Nikunj Virani" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Download PHP from http://www.php.net/downloads.php. You will find
> php4isapi.dll with it.
>
> Regards,
>
/plugins//cvstracker/bin/post.php %r %p %{sVv} )
# END added by gforge-plugin-cvstracker
And in /opt/gforge/gforge/plugins//cvstracker/bin/post.php, the code:
echo "safemode ";
echo ini_get('safe_mode');
Displays : "safemode 1"
I have tried the same thing from the command line, and the only way I can make
it the same, is to add the "-n" flag.
Any thoughts or pointers?
Thanks
-Robin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Doh -
I figured it out (for those who were interested). The permissions on
/etc/php.ini was set to 600 (owner == root). Changing this it other read, fixes
the issue.
Any idea why Suse would do this?
Thanks
-robin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
; -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> --
>
> Craig Jackson
> __
> Wildnet Group LLC
Is there a way to configure php to use a database for sessions rather than
a text file.
I have a server farm and want the session files to be accessible to all
machines in the cluster. I can have the session file on nfs but I am
worried about file locking.
I have read tutorials on how to set sessi
Are there any msession users here, if so please share your experiences.
I am considering using msession for a multiple server environment for
handling session data.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
for a multiple server environment for
> RM> handling session data.
>
> I have been using it as a general session manager for about a year without ever
> having any problems. I have a class to replace the normal php session handler if
> you would like to take a look at it.
>
>
--
when I run buildconf I get this message. Everything seems to work ok but
Can someone explain this warning.
buildconf: autoconf version 2.53 (ok)
buildconf: Your version of autoconf likely contains buggy cache code.
Running cvsclean for you.
To avoid this, install autoconf-2.
IS there a way to tell php to use a remote smtp daemon for its mta under
UNIX. I see in the example it looks like windows can be configured to use
a remote smtp. If so what is the syntax.
[mail function]
; For Win32 only.
SMTP = localhost
; For Win32 only.
sendmail_from = [EMAIL PROTECTED]
; Fo
ail is working and that hte
> PHP code is working. I don't think I did the bad php command. Could it be
> the sendmail command be set wrong???
>
> Thanks,
> FletchSOD
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
> --
> Adam Voigt ([EMAIL PROTECTED])
> The Cryptocomm Group
> My GPG Key: http://64.238.252.49:8080/adam_at_cryptocomm.asc
> --
> Adam Voigt ([EMAIL PROTECTED])
> The Cryptocomm Group
> My GPG Key: http://64.238.252.49:8080/adam_at_cryptocomm.asc
>
--
Robin Mordasiewicz
416-207-7012
UNIX System Developer
Primus Canada
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Good Morning!!
I'm trying to print $GLOBALs this way and it doesn't work:
Does someone know the 'right' way to do this??
Robin 'Sparky' Kopetzky
Black Mesa Computers/Internet Service
Grants, NM 87020
--
PHP General Mailing List (http://www.php.net/)
To unsubscr
DOH! Damned fat-fingering!!! Must learn to type s l o w l y...
Thanks!
Robin 'Sparky' Kopetzky
Black Mesa Computers/Internet Service
Grants, NM 87020
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Sorry bat that - I deeply apologize for the mess I caused. I have an ISP and
send email billing out. The return receipt is to make sure the user gets the
email.
I have turned off the receipts and will NOT turn them on again,
Robin 'Sparky' Kopetzky
Black Mesa Computers/Internet Serv
Hello,
I am new to PHP and trying to learn. I am trying a tutorial and this is the
script. It is supposed to pop up a box requiring a username and pass. but
all I get is
'Authorization Required'
Any suggestions? I am running PHP3 and 4 and on an IIS server (it is just
for testing, normally
In notepad there is an option for 'goto' if you are not using wordwrap it
is under the edit menu. then type in the line number and it will take you
to the line you need
Robin
- Original Message -
From: "Daniele Baroncelli" <[EMAIL PROTECTED]>
To: <[EMA
Good morning!
I would like to call a function from a 's ACTION attribute. This is
what I'm trying to do:
I can include the PHP_FILENAME but passing parameters to the function I
can't figure out how to do. Any help would be appreciated.
Robin 'Sparky' Kopetzky
Blac
Good morning all!!
Can you nest an array within an array??
Example: $paArgs['aCheckBoxes[$iIndex]['sName']']
Thank you in advance.
Robin 'Sparky' Kopetzky
Black Mesa Computers/Internet Service
Grants, NM 87020
--
PHP General Mailing List (http://www.php.net
Good afternoon!
Is there a simple way to have PHP buffer all HTML output via echo/print
until the program flushes the output buffer??
Robin 'Sparky' Kopetzky
Black Mesa Computers/Internet Service
Grants, NM 87020
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, v
Thank you for responding - Doh! I didn't look before leaping "Oh, boy..."
Sparky
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
e next slide
in the sequence.
Any help would be greatly appreciated and my PHP skills are vastly above my
JavaScript skills (very basic beginner).
Robin 'Sparky' Kopetzky
Black Mesa Computers/Internet Service
Grants, NM 87020
--
PHP General Mailing List (http://www.php.net/)
To
don't want to use a 'Submit' button as this is very cumbersome when I add
the other 3 lists...
Robin 'Sparky' Kopetzky
Black Mesa Computers/Internet Service
Grants, NM 87020
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Ah-hah! Jason hides under an email address that does not exist so one cannot
reply directly to him, only via the list. Does that not describe the person
well?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
s to add the %20 to the
string but didn't get it. What am I doing wrong or missing??
Any help is VERY appreciated!!
Robin 'Sparky' Kopetzky
Black Mesa Computers/Internet Service
Grants, NM 87020
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Good Morning/Afternoon.
I have a program that is trying to write to a directory on a Windows server
and I don't know how to setup the permissions to read/write/delete just from
this directory. I have it permissions set to 'Everyone' but that doesn't
work.
Help?!?!
Robin
Has anyone seen or know of a PHP implementation of a RADIUS server??
Please reply off list - [EMAIL PROTECTED]
Robin 'Sparky' Kopetzky
Black Mesa Computers/Internet Service
Grants, NM 87020
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
but reading from
sendmail???...
Any information is greatly appreciated and profoundly useful.
Robin 'Sparky' Kopetzky
Black Mesa Computers/Internet Service
Grants, NM 87020
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
MySql module included?? I am a
EXTREME newbie when it comes to compiling anything in Linux.
Robin 'Sparky' Kopetzky
Black Mesa Computers/Internet Service
Grants, NM 87020
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Good Morning and Merry Christmas to all.
I recently installed PHPTriad to a new server and the http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
your doing is dumping text
to the output subsystem, there shouldn't be any speed decrease in the code.
Yes, I know, there are advocates for every kind of method to display HTML
code but just wanting to get others opinions on the subject. If you wish,
email me off-list @ sparkyk-AT-b
Happy New Year!!
Is there a more efficient type of class accessor than using Get/Set like
this?
function GetValue()
{
return $this->value;
}
function SetValue($value)
{
$this->value = $value;
}
Robin &
x27;switch' statement.
Any help is appreciated.
Robin 'Sparky' Kopetzky
Black Mesa Computers/Internet Service
Grants, NM 87020
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Reworked the code and used an 'Input TYPE="button"' and fixed the problem.
Thanks to all who replied.
Amazing isn't it, that as we grow older the brain slowly turns into mush...
Robin 'Sparky' Kopetzky
Black Mesa Computers/Internet Service
Grants, NM 87020
tumped with this one. I thought the value was passed
back as an array but maybe I'm wrong...
Robin 'Sparky' Kopetzky
Black Mesa Computers/Internet Service
Grants, NM 87020
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ate if the user mangles the
words.
Robin 'Sparky' Kopetzky
Black Mesa Computers/Internet Service
Grants, NM 87020
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Good morning!
Is there any way to keep the compiler from adding 'debug code'? Example:
if ($b_debug)
{
echo ...
}
Just trying to eliminate code bloat.
Robin 'Sparky' Kopetzky
Black Mesa Computers/Internet Service
Grants, NM 870
> Microsoft's lawyers probably could've handled it more tactfully, but
> they were required to take action.
Simple solution to a complex problem - Follow William Shakespeare's outlook
or the joke 'What's a thousand lawyers at the bottom of the ocean called? -
> "S" == "K Simon" <[EMAIL PROTECTED]> writes:
> Thx, but could anybody give me an example? It shouldnt be too hard?!
If you feel you have to do it in php then this should work. You'd save
a lot of effort if you used the unix 'cut' command though.
cut -d ' ' -f 1 inputfile.txt > outputfil
HTTP_REFERER) for later analysis.
I've not split the search terms up into words (I'm thinking of how boolean
searches like 'foo AND NOT bar' would skew the results and how search phrases
like 'foo AND "bar baz"' would be split up).
Unfortunatel
g Apache then you can
do it with a few lines in your config file using mod_rewrite.
Something similar to:
RewriteEngine On
RewriteRule ^/([^/]+)/(.*) /scripts/$2 [E=companyname:$1]
Which given a url such as http://yoursite.com/mycompany/index.php
should (I've not tested it) call /s
umptions about the order of the fields in the form is dangerous.
Making assumptions about the order of an associative array is doubly so,
although PHP seems remarkably forgiving about it.
But assuming that's really what you want:
$value)
ng its contents
> rather than just trusting the extension that was typed.
Or look at the mime type held in $HTTP_POST_FILES['uploadname']['type']
--
Robin Vickery.
BlueCarrots, 14th Floor, 20 Eastbourne Terrace, London, W2
the initial values in the hash, you
can do it with array_flip() like this:
You'll end up with a hash like this:
$form = array(
'firstname' => 0,
'lastname' => 1,
'city' => 2,
>>>>> "MT" == Martin Thoma <[EMAIL PROTECTED]> writes:
> Hello ! How can I use eregi_replace to replace every ">" with
> ">", except when it's "" ??
You need a lookbehind assertion...
$stri
Maybe your script timed out before it could finish. Try
set_time_limit(0)
Another possibility is that your browser gave up. You may need 4GB of
disk cache because browsers usually save all files in cache before
copying them to the place you designate.
Robin
Wei Weng wrote:
>
> First
"[-^-!-%-" wrote:
> Hello everyone,
>
> I'm in the process of revising my db development prices, and was wondering
> what the best practices were. I want to keep my prices low, but I often
> feel like I'm not charging close to what I should be charging.
>
> 1) What is the going rate for Databas
or features completed, 30% when
delivered, last 10% when finalized. On even large projects $15k+, we usually
go by phases.
Robin
"[-^-!-%-" wrote:
> Hello everyone,
>
> I'm in the process of revising my db development prices, and was wondering
> what the best practices wer
ites,
that someone would have come across this before...
Regards,
Robin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
why does
work properly but not the following
Thanks,
Robin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
Thank you, that was it. I needed to test the variable against both an
integer and a string, so I ended up using (string) when I need to
compare a string. Rest of the time, it's an integer.
Robin
Rasmus Lerdorf wrote:
>
> > If you set $qty=0; then $qty has no value.
>
>
The integer 0 is equal to False, but not Null.
Robin
Kodrik wrote:
>
> > > If you set $qty=0; then $qty has no value.
> >
> > Of course it has a value.
>
> No it doesn't have a value.
> PHP interprets 0 as null.
>
> A very easy way for you to c
You don't need to use the $has_empty variable, but I thought it would be
better to just display the message once.
Robin
[EMAIL PROTECTED] wrote:
>
> I am a perl user trying to convert to php
>
> how would i turn this perl into php?
>
> use CGI;
>
> $name = pa
Oops, I didn't mean to post the same code that's been posted. The
subject sorter doesn't work correctly on Netscape Messenger. I thought
I had finished reading the thread.
My apologies,
Robin
Robin Chen wrote:
>
>
> $required = array('name',
Could anyone tell me if there is a PHP equivalent to:
SELECT x
CASE 1 to 5
{...}
CASE ELSE
{...}
END SELECT
Muchos gracias.
Robin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
I am storing comments in a MySQL db, and want to know how to include line
breaks from multi-line input boxes.
Does anyone have any experience of doing this?
Kind Regards,
Robin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Instead of \n try \r\n
Robin
Jamie Thompson wrote:
>
> ok so i got
>
> mail("[EMAIL PROTECTED]", "$message", "sms alert", "Return-Path: $email
> <$email>\nFrom: $email <$email>\nReply-To: $email <$email>\nX-Mailer: " .
k.
>
How about this approach?
SetEnvIfNoCase Referer "^http://www.oursite.com/"; local_ref=1
Order Allow,Deny
Allow from env=local_ref
Allow from all
I'd tighten up your regex slightly too. As it was it would match pretty
much any filename with those lette
solutions. Second, users cannot see my code.
Robin
Manuel Lemos wrote:
>
> No, I mean executables that may be just like VB executables that
> basically contain PHP code compiled into Zend bytecodes or whatever is
> enough for most people be stopped from copy source code directly
as JavaScript is easy to circumvent.
-- Robin
> -Original Message-
> From: Robin Bolton [mailto:[EMAIL PROTECTED]]
> Sent: August 31, 2001 8:49 AM
> To: Jack; [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: RE: [PHP-WIN] Can PHP and Java work together?
>
>
> If you
If you're talking about a form, then what you can do is set the properties
for the button like so:
> -Original Message-
> From: Jack [mailto:[EMAIL PROTECTED]]
> Sent: August 31, 2001 2:13 AM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: [PHP-WIN] Can PHP and Java work together?
', I want to have the
> statement return 'txt'
you don't need a regular expression for that...
$extension = strrchr(basename($userfile_name), '.');
-robin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] (Martin Lindhe) writes:
> > Hi Martin,
> >
> > Take a look at the Apache mod_rewrite docs.
> >
> > http://httpd.apache.org/docs-2.0/mod/mod_rewrite.html
>
>
> Thanks alot!
> I made a similar solution which works
>
> RewriteEngine on
> RewriteRule "^/x/(.*)"
x27;your_echo' on each
> key/value pair.
>
> Dunno exactly how preg_ uses it though...
It calls the callback function for each match, passing it an array.
The matching string is replaced by whatever the callback function returns.
Here's a fairly pointless example of names and emai
/en/ref.outcontrol.php and Zeev
Suraski wrote an article at Zend http://zend.com/zend/art/buffering.php
-robin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] (Balaji Ankem) writes:
> What is the problem with following code..
> $sql1="DELETE from tinventory where inv_tag='$inv_tag';
no closing doublequote.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-m
Hi
I am not a php programmer but have installed a php based blog. When the php
script tries to use the mail() function it fails. Does the mail function
rely on the sendmail server? Is there a way to make the mail() function just
send via an external smtp server?
Thanks in advance
Robin
come from me, not from my linux system (otherwise my ISPs smtp server
doesn't accept it).
Sending mail works fine with the command line mail command.
What should I do to make this work?
Thanks
Robin
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system
the slashing of quotes.
The standard perl regexp for matching double-quote delimited strings is this:
/"([^"\\]|\\.)*"/
which copes nicely with escaped characters. You'll probably need to
double up the backslashes in php.
$regex = '/"([^"]|.)*&q
txt);
}
}
return $txt;
}
The same is to be done for , but there's nothing
written about the interaction of and
. So, could anyone help me, please?
Thanks,
Kai aka Christopher-Robin
PS: Apologies for my bad english.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
27;s not there at all it returns FALSE.
you need to use something like:
if (array_search($needle, $haystack) === false) {
// add $needle to $haystack
}
http://lv.php.net/array-search
http://php.net/manual/en/language.operators.comparison.php
-robin
--
PHP General Mailing List (htt
her the index has been set before you try to read from it.
In this case, you're pretty much stuck with the second option as
you're getting the array from an external source.
So do something like this:
$photo = isset($resultEntries[0]["jpegphoto"]) ?
$resultEntries[0][
> Original-Recipient: rfc822;[EMAIL PROTECTED]
It's whoever's subscribed under the address [EMAIL PROTECTED] - I
tried complaining to them a couple of weeks ago but got no response.
One of the few times I *haven't* got a response from them in fact.
-robin
--
PHP General
placements.
The first thing you're doing is replacing the newlines with tags.
The second and third things you're doing will disable all the tags
including the tags you've just inserted, by replacing '<' with
< and '> with > html entities;
The fourth thing you're doing is disabling the html entities by
replacing '&' with & including the entities you've just inserted
as steps two and three.
-robin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
the directory is denied - hence
the 403 FORBIDDEN.
The second url (http://www.ranghart.com/cgi-bin/%3fD=A) requests a file
called /cgi-bin/?D=A. This file genuinely doesn't exist so the url gets
rewritten to index.php - hence your 200 OK response.
-robin
ual page tells you why.
-robin
al headers are as they always were. It's the entire
> request verbatim (valid or not) that I'd like to add.
>
Is installing the pecl_http extension on your server an option?
http://php.net/manual/en/function.httprequest-getrawrequestmessage.php
-robin
2009/6/10 Robin Vickery
>
>
> 2009/6/10 Dotan Cohen
>
>> > Just checked your site in Elinks (works like Lynx) and I'm getting the
>> > headers come back to me. I'm assuming you changed your site code before
>> > me sending this and after you sen
e ORDER BY fieldname COLLATE utf8_general_ci;
-robin
2009/6/11 PJ
> Robin Vickery wrote:
> >
> >
> > 2009/6/11 PJ mailto:af.gour...@videotron.ca>>
> >
> > How can order by be forced to order alphabetically and ignore accents
> > without stripping the accents for printout? This is a pro
\r\nAccept: */*\r\n\r\n"
It's a HTTP 1.0 GET request, but that doesn't seem to be consistent
with the rest of the data you've mentioned.
-robin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
tently higher quality than practically any top-class word
processor.
-robin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
4);
$arr_keys = array_keys($arr);
$key = array_pop($arr_keys);
$value = $arr[$key];
?>
I benchmarked array_keys() function and it is very slow on big arrays
since PHP has to build the array.
benchmark this:
end($arr);
list($key, $value) = each($arr);
-robin
--
PHP General Mailing L
On 16/02/07, Németh Zoltán <[EMAIL PROTECTED]> wrote:
2007. 02. 16, péntek keltezéssel 10.23-kor Robin Vickery ezt írta:
> On 16/02/07, Eli <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > Why isn't there a function that acts like array_pop() returns a pair of
&g
On 22/02/07, Aaron Gould <[EMAIL PROTECTED]> wrote:
I tried this earlier, but it does not seem to work... It appears to
just hang when no data is returned from the networked device. It seems
as if the loop stops, and is waiting for something.
http://www.php.net/manual/en/function.pcntl-alar
have been up half the night and got
nowhere!
Thanks
Robin
function sendMail($to, $toName, $from, $fromName, $subject, $message,
$uploadfile, $fileName, $fileType, $fileSize) {
$eol="\r\n";
$mime_boundary=md5(time());
# Common Headers
$headers .= 'From: '. $fromName .'
have been up half the night and got
nowhere!
Thanks
Robin
function sendMail($to, $toName, $from, $fromName, $subject, $message,
$uploadfile, $fileName, $fileType, $fileSize) {
$eol="\r\n";
$mime_boundary=md5(time());
# Common Headers
$headers .= 'From: '. $fromName .'
No sorry, both messages are the same.
Didn't mean to post it twice. Sorry.
Below is what prints out when I echo the message:
$to
[EMAIL PROTECTED]
$subject
Proposal Submission
$headers
From: 2HostMe Mailer Reply-To: Robin Wilson Return-Path: 2HostMe Mailer
Message-ID: X-Mailer: PHP v
llowed some tutorials and they all seemed to tell me to do it this way.
The emails seem to work with other clients and only Exchange doesn't like
them.
Tested with Squirrel Mail and they were recieved with the attachment etc.
Do you have any more ideas please?
Thanks for the help
Robin
Thanks I'll have a look at this.
Robin
"Jochem Maas" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
phpmailer.sourceforge.net - a mailing class for php that does everything
you need, there are other alternatives - definitely beats fiddling with
all the requ
On 28/03/07, Satyam <[EMAIL PROTECTED]> wrote:
if you find accented letters, it is a sure sign that it is not English
That's a rather naïve approach. Written accents in English may be
rather passé, but they do exist.
-robin
--
PHP General Mailing List (http://www.php.net/)
To
On 29/03/07, Rahul Sitaram Johari <[EMAIL PROTECTED]> wrote:
Ave,
I have a script where I have to provide a Download Link to a file associated
with a record. The common thing between the record & filename is the phone
number. But the filenames have dates & other symbols besides the phone
number
rd='$password'
and foo is a negative integer, then in ANSI SQL, you've just commented
out everything after 'column', leaving you with:
SELECT ... WHERE column
Mysql protects you from that by demanding a space after the comment sequence.
-robin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
nstead of having a literal ampersand char, it should
> be &r;. So, is there any way to tell the url rewriter to delimit the
> name=value pairs using &r instead of a literal ampersand?
yeah, set arg_separator.output to "&" in your php.ini file.
-robin
--
PHP Genera
x27;t seem to get the right syntax. Tried looking in the manual, but
> don't even know what I'm looking for!
Here they are in the manual:
http://www.php.net/manual/en/language.types.string.php#language.types.string.syntax.heredoc
-robin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
place
__CLASS__ with get_class($this) ...but you're not.
you could use debug_backtrace()
function printClass()
{
$details = array_shift(debug_backtrace());
print $details['class'];
}
-robin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
PDATE tablename SET foo=1 WHERE id=123
MySQL also lets you use a LIMIT clause that will either limit the
number of rows affected by the update, or matched by the WHERE clause
depending on the MySQL version.
UPDATE tablename SET foo=1 WHERE bar=2 LIMIT 1
-robin
--
PHP General Mailing List
On Fri, 18 Jun 2004 08:57:19 +0200 (CEST), Ulrik S. Kofod
<[EMAIL PROTECTED]> wrote:
>
> Sorry to post this again but it's a little urgent.
>
> The preg_replace in my script allocates a little memory every time it is called and
> doesn't free it again untill the script ends.
>
> I don't know if
server
> > please help me with that
>
> getcwd() or dirname($_SELF);
or to get the path of the actual file rather than the script:
dirname(__FILE__);
-robin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
' . $poo}
when $poo is 1, that will give you $lie1, and when $poo is 2, it'll
give you $lie2.
You're almost certain to be better off using arrays though,,,
-robin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
1 - 100 of 354 matches
Mail list logo