Tommy,
Since SQL Server may loom on my horizon, I've tried connecting to a SQL
Server 2000 db on my network. I got it to work _without_ any port after
the IP in mssql_connect().
I'm using PHP 5.2.0 from windows XP to a Windows 2000 box running SQL
Server. I used SQL Server Authentication to
On 5/31/07, Stut [EMAIL PROTECTED] wrote:
Bob Hanson wrote:
Thanks, Jay.
I tried it first with a simple http://; call, and that worked fine. So
unless https:... requires something additional in the way of
arguments, that doesn't seem to be the issue.
I'm hoping someone who has done this
On 5/31/07, Afan Pasalic [EMAIL PROTECTED] wrote:
Jared Farrish wrote:
On 5/30/07, Afan Pasalic [EMAIL PROTECTED] wrote:
email has to match in total. [EMAIL PROTECTED] and [EMAIL PROTECTED]
are NOT the same in my case.
thanks jared,
If you can match a person by their email, why not
On 5/24/07, Richard Lynch [EMAIL PROTECTED] wrote:
On Wed, May 23, 2007 1:46 pm, Rahul Sitaram Johari wrote:
Apache 2.2, PHP5 mySQL 5 on Windows 2003.
I have some files sitting on a Network Drive accessible on the Windows
2003
Server. But my php script is not able to open the files.
On 5/2/07, Richard Davey [EMAIL PROTECTED] wrote:
Brian Dunning wrote:
I have a huge MySQL table, 2.1 million records, 200MB. Once a week I
need to dump it in CSV format and zip the file.
This is not on my server, and it's in production, so I don't want to
risk testing different methods
On 5/2/07, Rahul S. Johari [EMAIL PROTECTED] wrote:
Ave,
Here¹s the thing, I¹ve got an Array which has it¹s own set of Keys =
Values. I¹m using foreach() to read the Keys = Values like this:
function pr1($var) {
foreach ($var as $k = $v) {
echo ³$k = $v²;
On 4/18/07, Richard Lynch [EMAIL PROTECTED] wrote:
On Wed, April 18, 2007 9:04 am, Bagus Nugroho wrote:
I'm confuse about usage of php.ini directive register_argc_argv.
Is used for command line purpose only?
I suspect that in CGI (and possibly even FCGI) $argv and $argc may
also end up being
On 3/12/07, Otto Wyss [EMAIL PROTECTED] wrote:
I submit a form back to itself with
action=?PHP echo $_SERVER['PHP_SELF']; ? methode=get
yet I've a large PHP variable which I'd like to access afterwards as
well. Is this possible somehow?
O. Wyss
Cookie, session variable, session cookie,
On 3/8/07, Otto Wyss [EMAIL PROTECTED] wrote:
Satyam wrote:
$key = 'K' . $key;
if ($$key) {
notice double dollar sign, it means, not the value of $key but the value
of
the variable $key says.
Thanks, any idea where this is described in the PHP manual? Searching
for $$ produces no
On 3/5/07, Jim Moseby [EMAIL PROTECTED] wrote:
I have been trying to find a way to search a DB and match a
range within a
week ( php mysql ).
This doesn't make sense, so I will describe it in more detail.
Hi everyone,
I need help with a search, lets say a record has a date of
I always use :
onClick=\this.form.action='SomeOtherPage.php'; \
inside the button tag.
Seems to work just fine.
David
On 2/26/07, Dan Shirah [EMAIL PROTECTED] wrote:
When I click on save at the bottom, I want it to check my form and
submit
all the values. When I click on the Retrieve
On 2/23/07, Dan Shirah [EMAIL PROTECTED] wrote:
On my form I have several drop down menus. They all work and display the
corrent values. However, I would like the initial display of the form to
show each dropdown as blank.
$q_status = SELECT * FROM status_codes ORDER BY status_description;
On 2/23/07, Liz Kim [EMAIL PROTECTED] wrote:
I've got all three Magic Quote directives turned off...
When I use sql query to grab any string from a database, it still spits
out
the \ in front of the special characters..
Any ideas?
thanks
What's it look like in the database?
David
I've been using SciTE for many years now.
http://www.scintilla.org/SciTE.html
It's small and lightweight, has code folding and bracket highlighting and a
lot of other nifty features.
I also have Zend Studio IDE Professional but it is slow and bloated compared
with SciTE.
2 more pennies...
On 1/30/07, Jay Blanchard [EMAIL PROTECTED] wrote:
[snip]
of course people read documentation before asking help
[/snip]
ROFLMMFAO! Sorry, that just made my day!
Wow. I learned a new acronym.
What a great day!
David
Ron Piggott wrote:
I have date in the variable $date_reference in the format -MM-DD.
How do I find out the date before this and the date after this? Ron
Not enough information, Ron. Do you mean: 1. as exists in some data set that
you've created or stored, like in an array or a
On 1/20/07, blackwater dev [EMAIL PROTECTED] wrote:
Does anyone have recommendations for an open source php based,
'lightweight', scheduling app? I just want something clean that I can use
to schedule trainings within our company. I need to be able to put in
details for each training and then
On 1/16/07, Nuno Oliveira [EMAIL PROTECTED] wrote:
Hi,
I'm working on a website and one of the features that I've implemented
so far is the user timeout.
Every time that a user browses to a different page, the variable named
$_SESSION['user']['lastactive'] is updated to the current time.
On 1/13/07, John Meyer [EMAIL PROTECTED] wrote:
Edward wrote:
How do I create a php document so that people in my nonprofit can vote
on issues online through the organization's website?
Thanks,
Edward
Start with PHP, add MySQL or your database of choice, mix and prepare.
Serves 500+.
--
Richard,
I think you are looking for data about both the variance and the standard
deviation of the array of dates. This would yield, for example, a
bell-shaped curve, like one gets when administering an intelligence test to
a sample population. Two thirds of the dates fall within +/- 1 standard
Well, actually I don't see anything. Nothing at all (in the case of the
phpinfo() page. All the page has in it is just ?php phpinfo() ?.
It was saved as test.php. How can I tell if something is broken and
where do I look for the files? I haven't done any dorking around with
the links, etc.
So the question is...
How to grab data from the DB and create a jpg from it, looking pretty like
http://steven.macintyre.name/arb/showlineups.jpg (I added the colon ;-) ) ??
David
Why don't you start by running file_exists() on another file in the same
directory:
if (file_exists(./findMe.php))
echo It's here;
then, directory by directory, move towards where you want the real file to
be read. If a move fails, check permissions as already suggested ( and
On 1/2/07, Stut [EMAIL PROTECTED] wrote:
Le Phuoc Canh wrote:
Can we use php to detect client screen resolution? Please help me ?
No we can't. You need Javascript or another client-side technology
for that.
-Stut
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
On 12/22/06, ibanex22 [EMAIL PROTECTED] wrote:
Hey all,
I am new to PHP and have been having issues on max filesize uploads. I
can
currently upload small files but I wish to make my max upload size huge.
Here is what I have configured in php.ini:
max_execution_time = 3000
max_input_time =
On 12/12/06, Jochem Maas [EMAIL PROTECTED] wrote:
Stut wrote:
Jochem Maas wrote:
and say what *you* mean.
I LIKE MARMITE!!
you have my condolences.
Damn, that does feel better.
see, just let it out... (said in soothing psychoanalyst's voice)
-Stut
(fairly bored today)
really!? ;-)
On 11/28/06, Warren Vail [EMAIL PROTECTED] wrote:
I think it becomes an issue only if the database structure is complex
with multiple related tables, and have lots of update activity. I think
most people design applications that don't require anything so complex,
and most queries are of the
On 11/29/06, Frank Reichenbacher, Bio-Concepts, Inc. [EMAIL PROTECTED]
wrote:
I am trying to pass the results of a form to a simple php mail() routine.
Everything works except the checkbox, Permission. No matter what state
the
checkbox is in, the php says it is whatever the value is set to on
On 11/11/06, John Nichel [EMAIL PROTECTED] wrote:
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
On 11/8/06, Travis Doherty [EMAIL PROTECTED] wrote:
David Giragosian wrote:
Does Daylight Savings alter Zulu time? (I'm guessing yes). How did the
military deal with that?
I use a date-time field as a primary key in db tables that get an
insert a
minute. I had to jump through a number
On 11/9/06, M.Sokolewicz [EMAIL PROTECTED] wrote:
David Giragosian wrote:
On 11/8/06, Travis Doherty [EMAIL PROTECTED] wrote:
David Giragosian wrote:
Does Daylight Savings alter Zulu time? (I'm guessing yes). How did
the
military deal with that?
I use a date-time field as a primary
On 11/8/06, tedd [EMAIL PROTECTED] wrote:
At 12:48 AM -0500 11/8/06, Travis Doherty wrote:
This can be a big problem to some apps, and others might be fine with
the workaround like we've done where you loose a tiny bit of data (It's
08:00 on the day after the timechange, is this ticket from
Wasn't there a thread recently about a webpage having multiple forms on it,
each of course with its own action attribute? Might be another solution
here.
David
On 11/1/06, Dave Goodchild [EMAIL PROTECTED] wrote:
Example HTTP redirect:
header('Location: http://www.google.com;);
What is the SQL you are running in test.php?
David
On 10/25/06, Gert Cuykens [EMAIL PROTECTED] wrote:
i do not get any output from mysql except form echo $bin that displays 1 ?
?php
exec(mysql -h hhh -u uuu - test.php,$out,$bin);
print_r($out);
echo $bin;
?
--
PHP General Mailing List
get any feedback like 'cant connect to host'
or 'invalid sql' etc.
exec(mysqldump...) works but exec(mysql...) doesnt
On 10/25/06, David Giragosian [EMAIL PROTECTED] wrote:
What is the SQL you are running in test.php?
David
On 10/25/06, Gert Cuykens [EMAIL PROTECTED] wrote:
i do not get
,
On 10/25/06, Gert Cuykens [EMAIL PROTECTED] wrote:
when i do echo exec... i get a blank screen
(print_r $out i get Array() echo $bin i get 1)
On 10/25/06, David Giragosian [EMAIL PROTECTED] wrote:
What do you get if you run:
echo exec(mysql -h hhh -u uuu - test.php,$out,$bin);
On 10
I've seen PHP/programming job postings on Craig's List. I was kind of
shocked by it, but nonetheless...
David
Angelo, as Brad says, you can pass user and password args to mysqldump from
an include file.
I run a php backup script via cron every night, then tar and compress and
store in various dirs out of the web tree.
I have the script if you'd like. It came from someone on the php-db list
years ago,
How many Vietnam vets does it take to screw in a light bulb?
You don't know, man. You don't KNOW.
Cause you weren't THERE. http://bash.org/?255991
How many Boomer wannabes does it take to pollute a mailing list?
Just one, [EMAIL PROTECTED], MAN!
David
-- Forwarded message --
From: Roman Neuhauser [EMAIL PROTECTED]
Date: Oct 10, 2006 5:11 PM
Subject: Re: [PHP] PHP Mailer and SMTP = SPAM?
To: David Giragosian [EMAIL PROTECTED]
# [EMAIL PROTECTED] / 2006-10-10 12:49:11 -0500:
Do you realize how many Vietnam war veterans you're
Howdy Guys,
I have a PHP backup script running as a cronjob that has an exec(mysqldump)
line followed a bit later by an exec(tar -cjf) line. The backup script runs
against a slave db in the wee hours, and the master gets a continuous stream
of inputs at the rate of about 18,720 per day.
Thank you Jon, Joe, and Richard.
I guess I'll leave things as they are and continue to monitor daily.
Fortunately, only up to 3 years worth of data needs to be kept live in the
master-slave db's, so there is a limit to how much data I will have to cope
with.
David
On 9/21/06, tedd [EMAIL PROTECTED] wrote:
tedd wrote:
I embedded php code inside css and changed my .htaccess to read --
FilesMatch \.(htm|html|css)$
SetHandler application/x-httpd-php
/FilesMatch
-- so that the css file would be processed and executed by php. The
end
result
On 9/18/06, Howard, Tim [EMAIL PROTECTED] wrote:
I am a programmer who is fairly new to PHP, and I had a problem trying
to make changes to existing code. I tried to look up any existing
documentation on your site, and after an extensive search, I finally
found someone who has the same problem.
101 - 144 of 144 matches
Mail list logo