Howdy guys and girls. Been a long time since I've been in these parts.
My php is rusty these days, so please bare with me. I'm trying to
create a dynamic, multidimensional array, and keep track of which level
I'm on, opening and closing levels as needed. Lets say that I have some
data like the b
at I'm off to join people like John
and Jason in the world of, "what ever happened to him". For those of
you who give a damn ;) I can be reached at numerous email addresses,
including:
john nichel net
jnichel by-tor com
As well as the other in this email (which have alrea
Paul Novitski wrote:
At 11/10/2006 07:09 AM, tedd wrote:
Lastly, I think we all know that "non-profit" simply means that at the
end of the year you get to roll your profits over to the next year
without incurring taxes on the excess. Nothing more.
Plus, there's no limit or requirements as to
Jochem Maas wrote:
John Nichel wrote:
5) $80.00 is my *reduced* rate.
ah - I was worried you might have been factoring in age-related brain
depreciation ;-)
If I factored that in, I'd have to pay the client.
--
John C. Nichel IV
Programmer/System Admin (ÜberGeek)
Dot Com Holdin
st to help
answer questions. I think it is safe to say that all of us
have bills to pay, and don't want to give our services away
for free. So, try not to get your panties in a knot when we
want to be paid for our work.
5) $80.00 is my *reduced* rate.
2006/11
Brynjar Guðnason wrote:
Hi,
I need a little php script. Staff log in by entering username and password
and then the next time they enter their username and password they log out.
The script has to take down the time they log in and log out. Then I should
be able to read old log-ins and log-outs.
Stut wrote:
Brad Fuller wrote:
Did everyone on the list get this message?
Dear user php-general@lists.php.net,
We have found that your e-mail account was used to send a large
amount of
junk email messages during the last week.
Obviously, your computer was infected by a recent virus and no
ich should be utilized before coming to the list).
On Nov 1, 2006, at 12:20 PM, John Nichel wrote:
Mel wrote:
I have
this is the page I am working on right now and it is valid html 4.01
http://www.squareinch.net/client_testing_html401.php
Bzzttt. No, it isn't.
The people
Mel wrote:
I have
this is the page I am working on right now and it is valid html 4.01
http://www.squareinch.net/client_testing_html401.php
Bzzttt. No, it isn't.
The people here have been pretty accommodating of you so far, but if you
continue to *not* do any research yourself, co
Ahmad Al-Twaijiry wrote:
Hi everyone,
I have a script that I want it to run every 30 seconds, the problem is
that cronjob can run every 1 minute only, do you have any solution ?
Use atd.
--
John C. Nichel IV
Programmer/System Admin (ÜberGeek)
Dot Com Holdings of Buffalo
716.856.9675
[EMAIL P
Ricardo Ríos wrote:
Hi wizards, I 'm trying to use mail function in PHP, but this function
don't
send the email , I have a server with postfix. Does somebody know how to
send an email with php and postfix. Thanks in advance.
Does your install of postfix have a sendmail wrapper? Is it in the
Steve Lane wrote:
Greetings all:
This is a general etiquette question.
I have a job posting for a junior PHP programmer. Are there any of the PHP
mailing lists to which it would be appropriate to post that?
If not, can anyone recommend a good place to post, especially a place that
might be rea
Edward Kay wrote:
From this, it is clear to me there is some major delay being
introduced by
the loading of the IMAP extension. Any ideas on how to resolve this?
use php as an apache module - thereby the startup delay is only
noticed when
the webserver starts - this assumes that the problem is
Edward Kay wrote:
Hello,
I need PHP's IMAP extension for my web app but it is really slowing my
server up.
My setup: Fedora Core 5, Apache 2.2.2, PHP 5.1.4 (run as CGI with suPHP),
PHP IMAP extension - all standard FC5 RPMs. The test page is simple - just a
call to phpinfo().
Without the
Bagus Nugroho wrote:
Hi All,
If we have variable like :
$var1 = 'abcde 12';
$var2 = 'abcdefghi 34';
$var3 = 'abc 20 def';
Then we want output like :
$var1 = 'abcde';
$var2 = 'abcdefghi';
$var3 = 'abc def';
How regex can help us?.
Use preg_replace to replace all numbers with nothing.
$var
Chris Boget wrote:
$last = end ( $numbers );
reset ( $numbers );
I thought foreach() already performed a reset()? Why do it again here?
Well, corn my fritters, according to TFM, it does this indeed. Maybe an
old dog can learn new tricks. ;)
--
John C. Nichel IV
Programmer/System Admin
João Cândido de Souza Neto wrote:
Hello.
In the follow code:
$numbers=array(1,2,3,4,5);
foreach ($numbers as number) {
...
}
Inside foreach, could i know if i am in the last element of the array
$numbers?
$last = end ( $numbers );
reset ( $numbers );
foreach ( $numbers as $number ) {
Javier Ruiz wrote:
Hey all!
Is it possible to get the path of a file relative to the document root of
the webserver using php?
For example...
if we have a script like
http://localhost/mydir/myseconddir/index.php
is there a way to get that it's runing on
/mydir/myseconddir/
??
something like
Rahul S. Johari wrote:
Is there a way to find out if a file can be chown¹d or chgrp¹d ? Something
like is_writeable() ... Except that you¹re trying to find out if you can
change the Owner or Group of a file.
Who will say it first?
http://www.php.net/manual/en/function.fileowner.php
--
John C
Howard, Tim wrote:
Your site is incredibly frustrating and difficult to navigate.
My site? Hmmm, I always thought it was pretty easy to navigate. I
mean, if you're looking for draft beer equipment, all you have to do is
click on the draft beer equipment link. I don't know how I can make
Rahul S. Johari wrote:
Ok you may be on to something here. Everytime I was trying to chmod the
permissions etcetera, the share was mounted, and that probably was the
problem.
What is a mount point? How do I set ownership/permission of a mount point?
This is going way beyond the scope of thi
Rahul S. Johari wrote:
Did..
Sudo chmod 770 foresight
Specified the root account password. Returned back to prompt without errors,
but did absolutely nothing. Permissions remain unchanged.
I don't know about Mac, but in Linux you cannot change the permissions
of a mount point while the volum
[EMAIL PROTECTED] wrote:
Hi,
Could somebody explain to me what to do to skip this message I'm getting
after I search for some products on my page, got the list of products,
selected a detailed view of the product and click on the Back button of
the browser to see again list of found products (res
Rahul S. Johari wrote:
I'm beginning to see it's a permissions issue... Although I don't know how
to approach it, as like I said, I have every permission you can think of set
to this mac os x user.
Does your webserver run as the user 'rjohari'?
When you say "webserver", are you talking about
Rahul S. Johari wrote:
How can I set the "drwxr-xr-x" permissions on my mounted share? I've set
everything I possibly could in the windows 2003 server to give the mac os x
user full control!
man mount
--
John C. Nichel IV
Programmer/System Admin (ÜberGeek)
Dot Com Holdings of Buffalo
716.856.
Rahul S. Johari wrote:
Nope.
It looks like this...
drwxr-xr-x 3 root root 4096 Sep 13 10:44 .
drwxr-xr-x 3 root root 4096 Sep 13 10:46 ..
drwx-- 1 rjohari admin 16384 13 Sep 10:38 foresight
Foresight being the mounted share.
Does your webserver run as the user 'rjohari'?
*permissi
Rahul S. Johari wrote:
Samba. It's an SMB share.
On 9/13/06 12:39 AM, "Chris" <[EMAIL PROTECTED]> wrote:
Rahul S. Johari wrote:
That was a good idea. I tried that... It was showing nothing for
/Volumes/foresight ... But it did show the contents of /Volumes... And
interestingly, 'foresight' w
Rahul S. Johari wrote:
Permissions have been set on the Windows Server for the Mac user... And all
permissions have been given to him.
This is my code..
$filename exists";
} else {
echo "The file $filename does not exist";
}
?>
And what does this echo out?
--
John C. Nichel IV
Pr
Rahul S. Johari wrote:
Ave,
I¹m getting really frustrated with this. How do I get PHP to open/read a
file which is on a Share, mounted on Mac OS X.
My Mac OS X is connected to a Windows 2003 Server... A Shared Folder remains
mounted on my Mac OS X and I need PHP to read a file off that share. B
Brian Dunning wrote:
That did it, thanks! :)
Keep in mind that if the ID is less than 5 digits, it won't match (I
don't know where MySpace ID's start). You can change it to something
like \d{1,} if you want it to match 1 or more digits.
--
John C. Nichel IV
Programmer/System Admin (ÜberG
Brian Dunning wrote:
I'm trying to read a MySpace FriendID out of a web page. If you view the
source, you see this is multiple places:
.&friendID=12345&
What's the simplest way to extract the FriendID and stick it in a
variable? Is there a regex that would do this?
Is it always in
Rory Browne wrote:
>
> Why? If they're not hosting it in-house, why does it matter where on
> the globe it is?
Request latency due to distance and intermediate hops. The shorter the
distance and fewer hops the faster those little images, stylesheets, and
various other embedded media will load.
Miles Thompson wrote:
I have a Canadian client, presently living in England, who is setting up
a vary basic web site. The business is located in the UK, it makes
sense to have the web hosting service in the UK as well.
Why? If they're not hosting it in-house, why does it matter where on
Jay Blanchard wrote:
Can we do anything else for you today?
I'm a php programmer and I have a valve knocking in the engine of my
car. Can you fix it?
--
John C. Nichel IV
Programmer/System Admin (ÜberGeek)
Dot Com Holdings of Buffalo
716.856.9675
[EMAIL PROTECTED]
--
PHP General Mailing L
Curt Zirzow wrote:
On 8/30/06, Jay Blanchard <[EMAIL PROTECTED]> wrote:
[snip]
Are there free shopping carts that would work with
PHP 5.0.X + and MySQL 4.1.X + and /or PostgresQL 8.1+ ?
[/snip]
Yes.
Just in case:
Try google: 'php mysql shopping' cart or
'php pgsql shopping cart'
Freakin
Jochem Maas wrote:
hi people,
anyone know why my additional ini files are being ignored.
I've just built php5.1.1
the configure line is:
'./configure' '--with-interbase=shared,/opt/firebird'
'--with-apxs2=/usr/sbin/apxs' '--with-gd=shared' '--with-zlib-dir'
'--with-jpeg-dir' '--with-config-fi
Adam Zey wrote:
I must say
So you've said. Three times now. ;)
--
John C. Nichel IV
Programmer/System Admin (ÜberGeek)
Dot Com Holdings of Buffalo
716.856.9675
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Dave Goodchild wrote:
On 17/08/06, John Nichel <[EMAIL PROTECTED]> wrote:
Dave Goodchild wrote:
>>
>>
>> How does the user "go back one page"? If it by using the browser's
>> back-button, the php script has no way of knowing it.
>
>
>
Dave Goodchild wrote:
How does the user "go back one page"? If it by using the browser's
back-button, the php script has no way of knowing it.
Yes, but the session variables have already been set, and are configured to
display in the form fields.
All the session variables in the world a
Tom Ray [Lists] wrote:
Is there anyway to overwrite the max file upload in php.ini per instant?
I'd like to have users controlled on a certain website to have more then
average uploads but the site runs on a shared hosting environment.
http://us3.php.net/ini_set
--
John C. Nichel IV
Program
tedd wrote:
Hi gang:
Before php 5, how did you guys handle ftp_chmod?
Oh, I'd probably try the code outlined in the user contributed section
of the ftp_chmod manual page.
Keep in mind: a) I'm working on a shared host; b) I'm trying to change
permissions via php 4; c) because of (a) (I thi
Adam Zey wrote:
It's still a bit of a drive when you live in Montreal and don't have a
car. About an 18 hour drive, plus a few hours for bus stops and border
crossings.
Canadians are welcome to come? That's it, count me out!
:-p
--
John C. Nichel IV
Programmer/System Admin (ÜberGeek)
Dot
Jay Blanchard wrote:
[snip]
Sure, or a link
not that Jay's up for doing any work anymore - he's a director these
days ;-)
Ah, so that's where Microsoft cronies go to die. :-p
[/snip]
Yep...they make them management.
Sorry to hear about your demotion.
--
John C. Nichel IV
Programmer/
Jay Blanchard wrote:
[snip]
Brent Meshier wrote:
Qualified candidates should e-mail their resume (Word, PDF, or Plain
text
preferred) to [EMAIL PROTECTED]
Where should non-qualified candidates e-mail their resume?
[/snip]
To me.
Silly me.
--
John C. Nichel IV
Programmer/System Admin
Brent Meshier wrote:
Qualified candidates should e-mail their resume (Word, PDF, or Plain text
preferred) to [EMAIL PROTECTED]
Where should non-qualified candidates e-mail their resume?
--
John C. Nichel IV
Programmer/System Admin (ÜberGeek)
Dot Com Holdings of Buffalo
716.856.9675
[EMAIL
Jochem Maas wrote:
Jay Blanchard wrote:
[snip] Is it appropriate to post jobs on this list? I have many PHP
Developer positions available.
[/snip]
Sure, or a link
not that Jay's up for doing any work anymore - he's a director these days ;-)
Ah, so that's where Microsoft cronies go to
Ivo F.A.C. Fokkema wrote:
Hi guys,
I'm really stuck with this error and since my backup scripts are no
longer running automatically through cron, I really need to get this
fixed soon :)
Suddenly my backup scripts die with the error "Could not startup.". Only
through the cron, it runs fine throu
Jochem Maas wrote:
Jim Moseby wrote:
Jim Moseby wrote:
I recently read an article about IP fingerprinting. The
concept is that
every PC-NIC-CABLE-FIREWALL combination has subtle, but measurable
differences in the way they communicate. It was very
in-depth, but it
worked amazingly well.
Jochem Maas wrote:
Andrew Senyshyn wrote:
Hi all,
I need to get local user IP, but server with apache and php is in
another subnetwork.
So from server environment I can get only router's IP.
The only solution that I see - is getting with some magic algorithm
local IP from brouser and sending it
tedd wrote:
At 12:55 PM -0400 8/4/06, John Nichel wrote:
Wait, are you telling me that I can't auth my customers based on IP
alone? Great, now how do I let them view their sensitive data? ;)
Okay, how do you?
Retina scan, and DNA sample.
Seriously though, not by IP in any way, sha
Dave M G wrote:
PHP List,
Recently I wrote a piece of code to scrape data from an HTML page.
Part of that code deleted all the unwanted text from the very top of the
page, where it says "of a "" tag.
That code looks like this:
ereg_replace("", "", $htmlPage);
It works fine. But I noticed th
Daevid Vincent wrote:
*sigh*
Why is PHP so lame...
Because some users are too lazy to RTFM.
--
John C. Nichel IV
Programmer/System Admin (ÜberGeek)
Dot Com Holdings of Buffalo
716.856.9675
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.
Paul Zwiers wrote:
Dear all,
With a growing base of previous PHP work (not to be be mistaken for a
"framework" :) ) I also find myself recoding and reinventing the wheel.
Something I really do not want to do.
I am looking in some possibilities for automatically documenting my functions
and
Paul Nowosielski wrote:
Dear All,
I'm trying to set up an XML feed form our news articles. My XML is validating.
The issue is some of the articles have a weird encoding.
I wrote a function to do this for our product descriptions when sending
them in a XML doc to certain vendors. It's old
Adam Zey wrote:
Note that just because the fact that it works is a feature, doesn't mean
it's good coding style. register globals is a feature too, but it isn't
exactly a good idea to use it.
Ding ding ding
Give that man a cigar.
--
John C. Nichel IV
Programmer/System Admin (ÜberGeek)
Dot
Jochem Maas wrote:
Martin Marques wrote:
On Thu, 20 Jul 2006 11:30:14 -0400, John Nichel <[EMAIL PROTECTED]> wrote:
Jochem Maas wrote:
I never add the final closing '?>' in any script for this very reason.
'Cause you're a SLACKER!!!
What the hell is a SLACKER
Jochem Maas wrote:
Martin Marques wrote:
I'm looking for an opinion on programming style.
Basicaly, I make systems using PEAR::DB and PEAR::HTML_Template_IT. This
last one puts all the HTML away from the PHP code, which has made life
much easier.
Now, sometimes I warning messages like this one
Finner, Doug wrote:
My advice, give the candidates problems and see how they solve them.
Even if they don't finish, you get an idea of how they think.
tedd
I like this idea!
Do you expect them to be able to work with code written by others? If
so, hand them some of your existing code (goo
Please reply to the list.
jekillen wrote:
On Jul 19, 2006, at 8:31 AM, John Nichel wrote:
We're looking to hire an entry level php programmer here, and I've
been tasked with writing the test to evaluate the potential
candidates. Being the lazy guy that I am, I naturally turned to
Ray Hauge wrote:
On Wednesday 19 July 2006 10:31, John Nichel wrote:
We're looking to hire an entry level php programmer here, and I've been
tasked with writing the test to evaluate the potential candidates.
Being the lazy guy that I am, I naturally turned to Google to see if I
could
Jim Moseby wrote:
STFW! RTFM!! STFA!! STFU!!
That totally goes against my being lazy. Hell, I didn't get to where I
am today by *not* exploiting the 'little people' :-p
--
John C. Nichel IV
Programmer/System Admin (ÜberGeek)
Dot Com Holdings of Buffalo
716.856.9675
[EMAIL PROTECTED]
-
We're looking to hire an entry level php programmer here, and I've been
tasked with writing the test to evaluate the potential candidates.
Being the lazy guy that I am, I naturally turned to Google to see if I
could find some tests that I could use. After clicking thru many links,
and finding
Jochem Maas wrote:
tedd wrote:
At 11:27 AM +0300 6/28/06, Robin Vickery wrote:
On 28/06/06, tedd <[EMAIL PROTECTED]> wrote:
At 2:30 PM -0400 6/27/06, Kristen G. Thorson wrote:
http://www.php.net/manual/en/language.operators.bitwise.php
I wonder why that's true for php when it's common to us
Jay Blanchard wrote:
[snip]
Yeah, write your own you lazy sack. And get your finger out of your
nose.
[/snip]
John obviously had a fine Fourth! LOL! Hey John, could you write it for
me? It's a homework assignment.
I had to stay home with the baby while my wife took the 6yo to see the
firewo
Jay Blanchard wrote:
I have been searching and digging for a PHP based change management
application but have had little luck. Can anyone make a recommendation?
Yeah, write your own you lazy sack. And get your finger out of your nose.
--
John C. Nichel IV
Programmer/System Admin (ÜberGeek)
D
Don wrote:
Hi Have have a varchar field in a MySQL database which contains the
following
905.362.6000"l""s"'L'
I am trying to display it on my web page in a field but all I
see is:
905.362.6000
Because it has quotes in it. I bet if you look at the source of the
page, the full value is
BBC wrote:
Hi again..
I'm wondering is it possible to make one page which connects to many
DataBase?
Yes.
If it's possible please tell me where can I get the references?
Look at the connection functions for whatever database engine you're using.
--
John C. Nichel IV
Programmer/System Ad
Nathanael Merrill wrote:
I will be on vacation from June 26th through July 17th.
I will have limited access to email and will get back to you as soon as I
can. Thank you.
- nathanael merrill
You just made the list Nathanael.
--
John C. Nichel IV
Programmer/System Admin (ÜberGeek)
Dot Com Ho
Jim Moseby wrote:
Hy guys I'd like to know if there is a way to update a site through
sending an email. Something like this, you send an email and the body
of the email substitutes a text you use in your site. Igreat apreciate
any help since I couldn't find anything on this topic.
How much time
Robert Cummings wrote:
On Wed, 2006-06-28 at 15:10, tedd wrote:
At 2:35 PM -0400 6/28/06, Robert Cummings wrote:
Not meaning to be contrary, but complex situations are supposed to be reduced
to simplistic solutions.
That's right, and a template engine simplifies the complexity.
Cheers,
Rob.
Ryan A wrote:
Just how does one launch a "DOS" attack?
c:\ fdisk
c:\ format
Repeat as needed
?
--
Damn John,
now anybody who wants to start DDOSing knows the
secret.
Well then, they still have some research to do for launching a DoS attack.
--
John C. Nichel IV
Programmer/System
Ryan A wrote:
Hey,
Am really starting to like your emails on this
list,
its different to say the least!
seeing as you didn't threat to DoS my server I guess
I'm
not trying hard enough to be different ;-)
Oops, sorry about that, let me try again:
You , how dare you say that, I
am now going
Ryan A wrote:
--- Prathaban Mookiah <[EMAIL PROTECTED]> wrote:
Are you trying to use PHP to write the HTML onto a
database. If this is the
case you can simply use addslashes(). This way you
can still preserve the
double quotes, but write into the database without
any problems.
Either way s
Beauford wrote:
Please turn of your mail client's request for return receipts when
sending to a mailing list.
--
John C. Nichel IV
Programmer/System Admin (ÜberGeek)
Dot Com Holdings of Buffalo
716.856.9675
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, vi
Richard Lynch wrote:
On Tue, June 20, 2006 2:38 am, Satyam wrote:
I come from languages
where
you not only have to initialize a variable but have to declare it as
well so
initializing comes natural, I feel wrong if I don't do it, even if the
interpreter does not care.
Just to be pedantic...
T
Adam Zey wrote:
[EMAIL PROTECTED] wrote:
Content Filter @ AIT Batam has detect violation of the PROFANITY rule,
and Quarantine entire message has been taken on 21-Jun-2006 22:49:25.
Message details:
Server:BTMAIL
Sender: [EMAIL PROTECTED];
Recipient:[EMAIL PROTECTED];php-general@lists.php.net;
Rob W. wrote:
No that wasnt a ddos threat you idiot, i dont play them games.
So what was your threat then Robbie?
Here's an idea, do your own damn homework. And if all you're going to
do here is cry like a little girl*, do us a favor and STFU.
*sorry to give all the little girls a bad name
Jochem Maas wrote:
[EMAIL PROTECTED] wrote:
var_dump gives
Company Director string(17)
Company Director string(16)
Why would they be different?
probably because there is either:
1. white space in the value in your data source
2. white space being outputted along side the value when creati
Jay Blanchard wrote:
[snip]
How do I retrieve the auto generated primary key field
in the first table during the first insert operation.
[/snip]
http://www.php.net/mysql_insert_id
You mean they have a manual for this stuff??
Holy Toledo!
--
By-Tor.com
...it's all about the Rush
http://www
Jochem Maas wrote:
echo '',$port,'';
2. try to output something that resembles proper HTML (an without a
closing tag sucks)
P I never close my option tags that way
Bar
:-p
--
John C. Nichel IV
Programmer/System Admin (ÜberGeek)
Dot Com Holdings of Buffalo
716.856.
Tim Traver wrote:
Hi all,
ok, have a relatively complicated architecture of php scripts in place,
and after reading more about SQL injection, want to make sure that I
clean my data completely before I enter it into a MySQL db.
I tend to clean the data on the way into the app, which has many
Jay Blanchard wrote:
[snip]
Anot PCRE. Can't help you there, as I've never used the ereg
functions. However...
preg_match ( "/\((\d{1,}.*?)\)/", "Upper Voltage (124.1)", $regs );
[/snip]
Still returns parentheses
ereg("[^\(][0-9\.]*" , "Upper Voltage (124.1)", $regs );
gets rid of
Jay Blanchard wrote:
[snip]
\(([0-9]*)\)
[/snip]
I had done this before and still get the parenthesis...
ereg("\(([0-9]*)\)", "Upper Voltage (124.1)", $regs);
Anot PCRE. Can't help you there, as I've never used the ereg
functions. However...
preg_match ( "/\((\d{1,}.*?)\)/", "U
Jay Blanchard wrote:
I have a field that contains a value in parenthesis', but also contains
other text, for instance; (it is a legacy app that I am working with,
and by legacy I am saying pre-1980)
Upper voltage (124.1)
I know that \([0-9]*\) will get me (124.1), but I am totally forgetting
ho
Rob W. wrote:
$query="SELECT switchport FROM network";
$result=mysql_query($query);
$sql_range=array($result['switchport']);
Anybody tell me what i'm doing wrong and why this isnt going in to an array?
Because you're not understanding what the function mysql_query() is
doing. Look at
Rob W. wrote:
It's not in general to mysql, it's how php and mysql is displaying it.
That's not what you asked. You asked how to do it with your query,
which has nothing, nadda, zip to do with PHP. You want MySQL to do the
sorting, look at the MySQL manual under the select syntax, or ask o
Ryan A wrote:
Hey,
Right now I am using PSWIN to send SMS messages from
my php scripts, can anybody recommend a (reliable)
company that i can use instead?
We "fill up" on 25euros everytime on pswin, so i am
not looking for a "free" provider, just a reliable and
good priced one.
PSwin is good,
Steffen Mazanek wrote:
Hello,
I want to provide two input text fields lastname and firstname and if the user
pushes the submit button the generated url should be
...?name=firstname_lastname.
Is this possible and how?
Yes and JavaScript
Thank you for helping a php newbie.
You're welcome,
tedd wrote:
And I thank you for your reply -- you've been much kinder than most (on and
off-list). :-)
True the subject line was a bit misleading, but that was intentional. Bait
causes more fish to rise.
I've received the answer several times over since I posted the problem, but I
wasn't lo
Jochem Maas wrote:
Jonas Rosling wrote:
Hi all,
is there any easy why to check if a value is odd or not?
ignore every answer that doesn't use the % operator.
if ( is_int ( $value / 2 ) ) {
// Even
}
:-p
--
John C. Nichel IV
Programmer/System Admin (ÜberGeek)
Dot Com Holdings of B
John Meyer wrote:
John Nichel wrote:
Do what I do, and don't do OO. ;)
In other words, do what works, realizing that 99 percent of the time
that you're doing indivdual sites, and ignore dogma? Hmm, what a concept!
Actually, the company I work for operates multiple sites
Jochem Maas wrote:
I get this sometimes, it often means I have overlooked something:
Fatal error: Access to undeclared static property:
AreaAgendaItem::$extraFields
EVERYWHERE in php an unset var causes an E_NOTICE, but if you dare to
use OO then
all of a sudden the OO nuthouse runs out
Merlin wrote:
Hi there,
I do work on following regex:
^(.*)_a[0-9](.*).htm$
This should be valid for "test_a9393.htm", but not for "9393.htm" as
ther is no leading _a infront of the number.
Unfortunatelly this also works for the 9393.htm file. Can somebody give
me a hint why the regex also
Beauford wrote:
Hi,
I have a form in which a drop down field is populated from a MySQL database.
I am also using sessions.
The problem is this. After I submit the form the session variable only shows
the part of the input before the space.
Example: if I choose Niagra Falls from the drop down l
Ross wrote:
I have pdfs saved as BLOBs I create the links dynamically but only some of
the PDFs display an error message 'error opening this files...this file
cannot be repaired..."
Is there a file size limit in kb for Blobs and what is it?
What size of file can a LONG BLOB accomodate?
If it
Pavleck, Jeremy D. wrote:
So I'm writing this page (PHP Newbie here) and it checks to see if a var
is set, if it isn't it spits out the form info like so: echo "";
Now is there a way to 'wrap' that so I don't have to escape quotes?
Something like perls 'qq' function is what I'm looking for.
I tr
[EMAIL PROTECTED] wrote:
ok. I just made one test and if you can then explain something to me:
I entered in form (textarea)
afan's "crazy" web
and stored in db using mysql-real_escape_string().
in DB, it's stored with slashes:
afan\'s \"crazy\" web
Then I pulled that from DB on three different w
[EMAIL PROTECTED] wrote:
after these very helpfull comments, I rad (again) Shiflett's (and few
others) Security articles about filtering input and output. And more I
read - less is clear :(
Before, I used addslash() before I insert data in database and strislshe()
to show them on screen.
Later
Brad Bonkoski wrote:
Looks good to me, just make sure you use:
http://www.php.net/manual/en/function.stripslashes.php
if you have to dump that information back to the users.
(you might want to check out: addslashes() to add the slashes before
your DB insert, just to keep those things under your
marvin hunkin wrote:
Hi.
doing an assignment, for my Certificate Four In Website Administration.
The tutor list is down the hall.
now got a couple of problems.
will explain what i have to do.
create a html form, which i have done.
in textpad.
now, when i open the form, it does not set focus t
1 - 100 of 1950 matches
Mail list logo