Anyone know of a free app that allows users to submit-
name, nickname, e-mail addy
app sends a url confirm to e-mail addy.
upon confirm, the info gets stored in a mysql database with the email
encrypted.
addresses should only be decryptable with a key that does not need to be
stored on the mach
Hi
following up on the text below...
Will there then be possible to recover uploads in 4.2?
Maybe even resuming uploads? (wishfull thinking) ?
Cheers
Jimmy
Rasmus Lerdorf wrote:
Re: [PHP] upload forms, how much was uploaded before upload fails..
You'll probably need PHP 4.2 for uploads that big
on 25/03/02 6:31 PM, anti-blank ([EMAIL PROTECTED]) wrote:
> I've got this script here to send out a mail whenever I enter an update to my
> site to my mailing list.
> The problem is it wants to dump everyone's email into the To field, and since
> I don't want to give my
> users email addresses a
I have an array with elements of which a lot are empty strings (according to
var_dump, string (0)). I try to unset() these elements from the array by
checking for $p[$i] == "", or strlen($p[$i]) < 1, or !$p[$i], but it only
deletes a few of them, not all. Anyone have an idea as to how this could b
Gunter Ohrner wrote:
> The HTTP-based network protocol for controlling coffee machines
> was not bad, either.
Which we seriously considered implementing here at my job. But: A
webcam and a pair of legs suffices.
--
Arve X-No-Archive? Never
Have a look at this:
function ValidateUrl($url) {
// Check the syntax
if
(!preg_match("!((https?|ftp)://)(www\.)?([a-zA-Z0-9/\-]*)+\.([a-zA-Z0-9/\-]*
)+([a-zA-Z0-9/\-\.]*)?!", $url)) {
return false;
}
// If it's correct, then try and open it
if (!@fopen($url, "r")) {
return false;
}
G'day.
Problem:
Following [b] install trail in INSTALL using php 4.1.2 source distro,
and with the configure setup shown below [1].
Conditions:
Using Mandrake 7 / updated bintools / kernel 2.4..95.214 / kde 2.2.2
gcc 2.95.2
Apache 1.3.23 already successfully
25/03/2002 8:27:51 PM
hehehe
You could start with loosing IIS, it's bad news.
The port of Apache for windows is good, if not, Xitami's also quite good.
http://www.apache.org/dist/httpd/binaries/win32/
http://www.xitami.com/
But, no, sorry. I can't help you.
"Berlina" <[EMAIL PROTECTED]> wro
Hey PHP General List,
Intro:
I am creating small login script and few things doesn't work right.
Code is hare:
admin.php
if(isset($subm_login))
{
$session["logged"]=0;
$session["uzeriz"]="";
$result = mysql_query("select * from uzer where user='$uzr_name' and
pass='$uzr
Hi there,
I was wondering if it is possible to upload an known file without having to
use an HTML form with the post command?
If so, could you point me in the right direction?
Thanks alot
Sam Rose
p.s. I'm only on the digest list, so it would be really handy if you could
send any replies back
Hi
I m under SOLRIS 8 on Sparc
My question is How fixe this errors on APACHE start whith php module.
Apache ERROR MSG on start
"Syntax error on line 205 of /opt/local/apachessl/conf/httpd.conf:
Cannot load /opt/local/apachessl/libexec/libphp4.so into server: ld.so.1:
/opt/local/apachessl/bin/http
Can anyone tell me how to convert/send data stored in
an MS Access database to a mySQL table through PHP??
T. Edison Jr.
=
Rahul S. Johari (Director)
**
Abraxas Technologies Inc.
Homepage : http://www.abraxastech.com
Email : [EMAIL PROTECTED]
Tel : 9
Hi,
Im trying to install PHP 4.1.2 under Windows 2000 Server and IIS 4.0
* If I configure PHP as a MODULE, all run but SESSIONS DON'T WORK
* If I configure PHP as a CGI, SESSIONS WORK but ORACLE MODULE for PHP not
load
Any ideas?
Anybody can help me?
Advanced thanks,
Berli
--
PHP General Mai
I wrote s script to upload a file. The script works, but when I point
my browser to the file it downloads, but I can no longer open the file
in MS Word. What is happening to my file? My client is Windows and the
server is Linux.
David McInnis
--
PHP General Mailing List (http://www.php.ne
How can I change this to accept spaces as well ?
(ereg("^[A-Za-zÀ-ÖØ-öø-ÿ]*$", $str))
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
php-general Digest 25 Mar 2002 12:40:27 - Issue 1247
Topics (messages 89952 through 90011):
Re: what's "undefined index" ?
89952 by: Martin Towell
89970 by: Jason Wong
Re: [PHP-DEV] Resume of my problem
89953 by: Zak Greant
mcrypt kills Apache children
8995
> Also when I right-click and
> choose "Save As" it only lets me save as a bmp. Again, it displays fine, I
> would just like to make it work like a real image.
>
Clear your IE cache (TIF (Temporary Internet Files)). If that doesn't help,
follow Miguel's advice.
Kai
--
Kai Schätzl, Berlin, Ge
Hello friends,
I am running a website having php and mysql support on which I want to set
up a discussions forum. Can someone advise me any web resources for building
a php-mysql forum?
Thanks
denis
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/un
"John Fishworld" <[EMAIL PROTECTED]> wrote in message
002301c1d3fa$b2c2f350$04010a0a@fishworld">news:002301c1d3fa$b2c2f350$04010a0a@fishworld...
> How can I change this to accept spaces as well ?
>
> (ereg("^[A-Za-zÀ-ÖØ-öø-ÿ]*$", $str))
Put a space in the character class.
~James
--
PHP Gene
Is there a way to add GIF support in PHP without recompiling?
Just adding as an extension.
Tanks a lot.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
1. Just pass uzeriz to the function, not session("uzeriz");
2. FYI: you don't need this construct: while($row =
mysql_fetch_row($result)){
Based upon the previous tests, there is ONLY 1 entry. Therefore, go with:
$row = mysql_fetch_row($result);
-Original Message-
From: Mantas Kriau
This is the way under windows. Hmm, possibly you want GD extension but GIF format was
excluded from the supported in the past but
you can apply a crack over the GD and then recompile. For *nix : Get the sources,
compile GD as a module and edit php.ini so PHP
(possibly libphp4.so) will load the e
Why build one when someone else already has built something that will work?
Take a look at www.hotscripts.com, http://php.resourceindex.com and
www.zend.com they all have libraries of scripts for PHP.
Jason
"Denis L. Menezes" <[EMAIL PROTECTED]> wrote in message
001a01c1d401$7c90ba40$c900a8c0@d8d
Any ideas why date ("j") doesn't appear to work when I use it on my ISP
that has a Unix Server, but on my Windows ISP , it works fine ? The other
date() functions Y,m,d etc all work fine on both systems.
(I'm using PHP3 by the way.)
Any help would be very much appreciated.
Thanks
Geoff
Hey!
What's really the meaning with
whatever.php?page=1 when you are NOT using a db?
Just cuz it looks cool? Or is there a better reason?
-Cuz you could do instead of blabla.php?page=1
(having include('blabla.htm'); in a script in blabla.php...of course)
Thanks
--
PHP General Maili
On Monday, March 25, 2002, at 09:31 AM, ...::: Rober2.com :::... wrote:
> What's really the meaning with
> whatever.php?page=1 when you are NOT using a db?
> Just cuz it looks cool? Or is there a better reason?
>
> -Cuz you could do instead of blabla.php?page=1
> (having include('blabla.htm');
I'm ex-USAF.
FUBAR means "Fucked-Up Beyond All Repair"
-Original Message-
From: Liam [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 25, 2002 9:02 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Re:[PHP] Why?
25/03/2002 3:01:36 PM
"FBAR" was a term used in the second world war.
It turned into "
Ok, I get it.
Exepet passing information there isn't other meaning right?
...
"Erik Price" <[EMAIL PROTECTED]> escribió en el mensaje
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> On Monday, March 25, 2002, at 09:31 AM, ...::: Rober2.com :::... wrote:
>
> > What's really the me
I've dug around for a while but I can't find a direct answer on how to
convert a date in this format: "2002-03-25" to a human readable format
such as " March 25, 2002," or even better, "Monday, March 25, 2002."
Can anybody help me with this, or point me to some clear directions on
how to do this?
Hi, I'm new to the newsgroup.
I would like to know how can I do with php to keep user track
and let him or not access to specified pages.
I thought about validating (u/p) first and then giving a session
variable. And then on each script I would check sessionID with
a permissions table.
On Monday, March 25, 2002, at 09:49 AM, ...::: Rober2.com :::... wrote:
> Ok, I get it.
>
> Exepet passing information there isn't other meaning right?
>
Hm?
Erik
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]
--
PHP General Mailing List (http:/
I've seen various tutorials on sessions where they specify the session id
instead of just using one
generated by php !
Why ?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Straight from my code:
$value = date("m/d/Y", strtotime($value));
If you want it otherwise, modify the paramters in the 'date' command to your
liking.
Dan
-Original Message-
From: ROBERT MCPEAK [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 25, 2002 7:55 AM
To: [EMAIL PROTECTED]
Subjec
In PHP, you look at the date() function.
If retrieving this from a mysql database, mysql will do it for you:
SELECT DATE( mydate, "%W, %M %d, %Y") AS thedate FROM mytable;
-Original Message-
From: ROBERT MCPEAK [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 25, 2002 8:55 AM
To: [EMAIL P
Hi,
Just wondering how many folks are working on localization issues. I am
building an application and have built in support for multi-languages,
but I do not yet have anything set up for handling different monetary
and date formatting. What other issues should I consider?
Any pointers to help o
use setlocale() to set locale in every script.
then the output from different functions - number_format(), strftime(), etc. will be
according to the locale.
I've not tried this but it have to work.
Best regards,
Andrey
- Original Message -
From: "Matt Friedman" <[EMAIL PROTECTED]>
To:
Hi
I m under SOLRIS 8 on Sparc
My question is How fixe this errors on APACHE start whith php module.
Apache ERROR MSG on start
"Syntax error on line 205 of /opt/local/apachessl/conf/httpd.conf:
Cannot load /opt/local/apachessl/libexec/libphp4.so into server: ld.so.1: /o=
pt/local/apachessl/bin/htt
> Can anyone tell me how to convert/send data stored in
> an MS Access database to a mySQL table through PHP??
3 Ways of doing this come to mind. Only one uses PHP though.
1. From PHP use ODBC to extract from access and send to MySQL through PHP
functions.
2. Export to csv from Access and use
I am getting the error "Undefined variable this" in my class. I am new to
PHP and presume I am just doing something wrong. But, I don't understand
what it could be as the code looks straightforward to me. Note that I
trimmed out some code to keep this listing from being huge, but the relevant
p
> if ($this->private==FALSE) // Undefined variable
this
> return;
> }
$this is relevant ONLY within the scope of the class definition.
The above snippet is located OUTSIDE of the class definition.
You must use an object pointer. That is:
$newobj = new standardquestion($f
No, the only thing I supplied is the class. The startElementHandler IS a
function in the class.
"Rick Emery" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > if ($this->private==FALSE) // Undefined variable
> this
> > return;
> > }
>
Do you have register_globals turned on or off in php.ini? What values are $a
and $b being set to?
Kirk
> -Original Message-
> From: bob [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, March 24, 2002 4:21 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] header and session?
>
>
> 1.php?
However, startElementHandler() is not be called in a class context.
According to the manual for xml_set_element_handler():
"There is currently no support for object/method handlers."
-Original Message-
From: arti [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 25, 2002 9:43 AM
To: [EMAIL
Hi,
How can I echo some text such as "Processing, please wait..." whilst the PHP
script runs. Rather than displaying a blank screen with the results being
echoed once the script has fully completed.
Thanks,
Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http:/
I am sorry but your code works just fine.
What server do you have?And what configuration?
--
---
Cirstoiu Aurel Sorin
Interakt Online Support
http://www.interakt.ro/
"Arti" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I am get
>>> Rick Emery <[EMAIL PROTECTED]> 03/25/02 11:04AM >>>
CORRECTION:
SELECT DATE_FORMAT( mydate, "%W, %M %d, %Y") AS thedate FROM mytable;
-Original Message-
From: ROBERT MCPEAK [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 25, 2002 9:58 AM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] new
Can I some how prevent the browser from displayin
index.php?passwd=pass&user=user in the url when I use this script I
wrote.
");
print("");
print("");
print("Note
> How can I echo some text such as "Processing, please wait..." whilst the
PHP
> script runs. Rather than displaying a blank screen with the results being
> echoed once the script has fully completed.
echo ("\"Processing, please wait...\"");
flush();
//processing code here...
--
Jon Farmer
Sy
change the first line to
if(!IsSet($stage)){
print("");
HTH
- Original Message -
From: "David Orn Johannsson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 25, 2002 11:16 AM
Subject: [PHP] Login displays the pass and user in url
Can I some how prevent the browse
where are they being displayed?
-Original Message-
From: David Orn Johannsson [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 25, 2002 10:17 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Login displays the pass and user in url
Can I some how prevent the browser from displayin
index.php?passwd
I was wondering if anyone would know how I could go about checking two XML
files for differences, similar to the "diff" command in *nix. I'm having a
heck of a time getting a function written to achieve this task.
Thanks,
Chris Hilbert
--
PHP General Mailing List (http://www.php.net/)
To un
Your message of Mon, 25 Mar 2002 11:35:57 +1100:
> "undefined variable" is when you try to use a variable before you set it, eg
> $foobar
> "undefined index" is when you try to reference an array index before you set
> it, eg $foobar[10]
>
Hi, thank you both for the explanation. It's clear why I
The standard way to end lines when communicating via HTTP is the CRLF
(ASCII 13 & ASCII 10). But I write my PHP scripts using only LF (ASCII
10) for line endings. Why am I still able to write instructions to a
socket -- does PHP automatically translate my line endings to CRLF, or
is HTTP jus
On Monday, March 25, 2002, at 10:39 AM, Chris wrote:
> How can I echo some text such as "Processing, please wait..." whilst
> the PHP
> script runs. Rather than displaying a blank screen with the results
> being
> echoed once the script has fully completed.
A hackish and inelegant way to do
Looking for some more detailed information on this subject.
Any experts out there?
Thanks,
Matt Friedman
-Original Message-
From: Andrey Hristov [mailto:[EMAIL PROTECTED]]
Sent: Monday March 25, 2002 10:04 AM
To: Matt Friedman
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] localization - i
Good day,
The error message refers to the "KundeRemark" in $val["KundeRemark"], not
"$KundeRemark" which you are trying to assign the result to. The former is
(if it existed) an index, the latter is a variable.
Darren Gamble
Planner, Regional Services
Shaw Cablesyst
See http://php.net/gettext
On Mon, 25 Mar 2002, Matt Friedman wrote:
> Looking for some more detailed information on this subject.
>
> Any experts out there?
>
> Thanks,
>
> Matt Friedman
>
>
> -Original Message-
> From: Andrey Hristov [mailto:[EMAIL PROTECTED]]
> Sent: Monday March 25,
Hello,
I run Personal Web Server on NT just for local testing but I'm
considering installing Apache. Would this allow me to run mod_php
instead of the CGI? Ideally I'd like to configure Apache so that only
local requests are served - Is this easily done?
Anyone on NT/win2k have anything good t
I'm currently running the SAPI module for apache on Windows NT and 2000,
works fine.
You can configure apache to only bind to the 127.0.0.1 IP address, this will
prevent requests being served over the network.
Jason
-Original Message-
From: Steve Clay [mailto:[EMAIL PROTECTED]]
Sent: Mo
Ok, I've got to be doing something wrong here. I've been
beating my head up against the wall for some time and I
just cannot figure out what it is. Before I say it's a bug with
list(), could someone tell me what I'm doing wrong?
\n";
// fine
$policy = explode( "--", $policy );
echo $policy[0]
Why do you put each(explode()) ? Just list() = explode() is what you
want.
-Rasmus
On Mon, 25 Mar 2002, Chris Boget wrote:
> Ok, I've got to be doing something wrong here. I've been
> beating my head up against the wall for some time and I
> just cannot figure out what it is. Before I say it
I'm rather new to PHP, so this should be fairly easy to answer. I checked
the manual and FAQ already.
I'm using the following code, and I get the following message if $id has
nothing in the var (i have it set to a default of type int, not null in
mysql). Is there a way around this or something I
> Why do you put each(explode()) ? Just list() = explode() is what you
> want.
I did that because I thought they were complimentary functions? Just about
every example I've seen of list() uses each(). Just using explode() makes it
work. Obviously I'm going to have to go back and read more abo
Check out Ciao EmailList Manager:
http://www.technobreeze.com/php/emaillist/
-Dan
--- "Michael A. Peters" <[EMAIL PROTECTED]> wrote:
> Anyone know of a free app that allows users to submit-
>
> name, nickname, e-mail addy
>
> app sends a url confirm to e-mail addy.
> upon confirm, the info g
change to:
list( $policy_num, $policy_year, $application_reference ) = explode( "--",
$policy );
-Original Message-
From: Chris Boget [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 25, 2002 11:22 AM
To: PHP General
Subject: [PHP] list(), each()
Ok, I've got to be doing something wrong
I transferred an application from Linux/Apache to .NET/IIS6 and it
appeared to be working fine, first. A bit later I found that it
wouldn't switch to most functions derived from a GET variable. The
reason being that $query seems to be empty, so it always defaults to
this action:
$query = gete
Good day.
What is this message that you get, that you don't want?
A cursory glance of the code reveals two "else" statements attached to the
same "if" statement. You should address that.
Darren Gamble
Planner, Regional Services
Shaw Cablesystems GP
630 - 3rd Avenue
Hi,
I have PHP automated emails sent from my website. Does anybody know a
good way to filter returned mail? What I want to do is extract the bad
email addresses from returned mail and delete them from my database.
For now I have the return path sent to me, and I manually weed the bad
ones out
Hi!
I wonder if there's such a thing as a counterpart in PHP for MimeExplode in
PERL?
MimeExplode takes a email and splits the attachments and text so that you
can save it automatically to a certain dir
by using .forward files.
Or something alike to it in PHP. I've been looking at IMAP functions
if(count($HTTP_GET_VARS))
On Mon, 25 Mar 2002, Kai Schaetzl wrote:
> I transferred an application from Linux/Apache to .NET/IIS6 and it
> appeared to be working fine, first. A bit later I found that it
> wouldn't switch to most functions derived from a GET variable. The
> reason being that $quer
You have to add an extra tag into the form tag (method="post"), it should
read as follows:
("
"David Orn Johannsson" <[EMAIL PROTECTED]> wrote in message
003001c1d418$7126b3f0$6500640a@gandalf">news:003001c1d418$7126b3f0$6500640a@gandalf...
Can I some how prevent the browser from displayin
index
Because 'j' was probably added somewhere in between the two versions...
On Mon, 25 Mar 2002, geoff wrote:
> Any ideas why date ("j") doesn't appear to work when I use it on my ISP
> that has a Unix Server, but on my Windows ISP , it works fine ? The other
> date() functions Y,m,d etc all wo
Hi,
Can anybody tell me if it is possible to use a debugger with PHP? And what
is the name of it?
Regards,
Morten
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Depends on whether you have GD without GIF enabled already built into your
PHP already. Check with phpinfo(). If you don't you have build a shared
gd extension against a version of GD that has GD support and add that
dynamically without recompiling PHP. If you do have GD in there already
you ha
"^[ A-Za-z---]*$"
On Mon, 25 Mar 2002, John Fishworld wrote:
> How can I change this to accept spaces as well ?
>
> (ereg("^[A-Za-zÀ-ÖØ-öø-ÿ]*$", $str))
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--
PHP General Mailing Li
http://www.google.com/search?q=php+debugger&sourceid=opera&num=0&ie=utf-8&oe
=utf-8
Google good! ;-)
--
Julio Nobrega.
Um dia eu chego lá:
http://sourceforge.net/projects/toca
Ajudei? Salvei? Que tal um presentinho?
http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884
"Mor
Hi There,
I am a beginner to PHP and I am tring to use session variables on my site.
I am trying to use Session Variables in PHP on the iPLANIT.tv site
When I use the following code:
I get the following error
Warning: Cannot send session cookie - headers already sent by (output
started at /
it means you've already output some HTML or a blank line
-Original Message-
From: Chad Gilmer [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 25, 2002 12:19 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Session Variables
Hi There,
I am a beginner to PHP and I am tring to use session variable
Are you referring to the userid on the machine where your web application
runs (your server) or the userid of the user who connects to your website
with his browser? I suspect you mean the latter and would be very
interested in how this could be done as well.
Warren Vail
Tools, Metrics & Quality
I am trying to do a match for an expression and it to a variable from the
output of a command:
How can look through $output to set the information returned as different
variables the output would look like:
variable1:"some information" variable2:"some information"
I want to set each variable
With there be a specifc number of variables returne? Or can the number of
variables vary?
-Original Message-
From: Walker, Roy [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 25, 2002 1:26 PM
To: '[EMAIL PROTECTED]'
Subject: [PHP] Regular Expressions? Help!
I am trying to do a match fo
On Sunday 24 March 2002 23:14, Rasmus Lerdorf wrote:
> You'll probably need PHP 4.2 for uploads that big to work well. Before
> 4.2 uploads were buffered in ram, so no, you have no way to recover a
> broken upload.
But what, in that case, is the use or purpose of upload_tmp_dir ?? Moving
fro
When I save a file that has been uploaded through PHP it prepends (adds
to the beginning of the file) the mime type. This renders the file
unusable when it is downloaded as MS Word cannot open the file and tries
to install some kind of converter.
Any ideas for me?
David McInnis
--
PHP Genera
Hi, I am using the $HTTP_REFERER variable to ensure that users of a website
are getting to a certain page through a link from the index.html page, and
not going straight to the page through a bookmark.
$page=$HTTP_REFERER;
if ($page!="http://www.somedomain.com/index.html";)
{
echo "Please log
Is it possible to create a transaction the involves multiple pages using PHP
and oracle. For example, can I log onto oracle using OCIPLogon on one page
named master, insert information, go to the next page named detail, insert
information and commit both transactions at the same time?
--
PHP Ge
There will be a specific number of variables returned. I just wanted to set
all the output to a string and just run through it to grab the variables.
Thanx
-Original Message-
From: Rick Emery [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 25, 2002 1:28 PM
To: 'Walker, Roy'; '[
I just realized why nothing I was trying for the regular expressions wasn't
working. The command I am running is a C program on the command line of a
Linux box. I can't capture the output, it just gets output onto the screen.
I just echo'd $output after the command was run and it was empty. Any
Have you checked that your user is indeed coming from
"http://www.somedomain.com/index.html";? There are lots of other ways
to load your homepage:
"http://xxx.xxx.xxx.xxx/index.html"; (ip address, not domain)
"http://www.somedomain.com/";
"http://www.somedomain.com";
"http://xxx.xxx.xxx.xxx";
"h
On Monday, March 25, 2002, at 02:52 PM, tom hilton wrote:
> This is working fine for most users, but one user is telling me that
> even
> though she is following the link from the index page, she's still
> getting
> the error message, and are being bounced back to the index page. She
> is
exec()
-Original Message-
From: Walker, Roy [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 25, 2002 2:05 PM
To: '[EMAIL PROTECTED]'
Subject: RE: [PHP] Regular Expressions? Help!
I just realized why nothing I was trying for the regular expressions wasn't
working. The command I am runnin
hi.. is there any way to use the php oracle function to check to see if
there are any records in the selected set before calling ora_fetch?
ora_exec doesn't error if ther are no records, and ora_num_rows doesn't
return the numbe of rows in the set.,
thanks!
matt
--
PHP General Mailing List (h
Perhaps it is how I am calling the $lines in a while loop.? I have tried
`$cmd`, exec(), exec($cmd, $ouput) (to capture the output as an array),
system(), shell_exec(). None of them let me capture the STDOUT from the
program. There has to be a way to do this. Anyone?
Thanx
-Original Me
Hi
One of the ways to get PHP support is from IRC channels that exist for
this purpose (you can see them listed on http://www.php.net).
If you don't have a way to connect to the IRC servers for any reason, or
just prefer a web based client, try the ActiveX client (assuming you are
using IE)
on
exec() works for me.
Remember, though, it returns only the LAST line. Have you tried the
following to ensure it's constructing the command you think it is:
$mycmd = "$prog $cmdline $trimline &";
print $mycmd;
$output = exec($mycmd);
-Original Message-
From: Walker, Roy [mailto:[EMAIL P
The cmd is running running correctly as I see the output on the screen (this
is being run from a command line). The command output is seen on the screen
and nothing gets set to $output.
-Original Message-
From: Rick Emery [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 25, 2002 2:50
I'm trying to debug a program written by someone else. There are two
files that I'm having problems with. File A uses require_once to call
file B. Near the beginning of File B is a Header("Location:") that
calls File A. Can anyone tell me if the part of file B that comes
after the Header(
Hey PHP General List,
Well thanks for helping but still i get nothing and i have no idea
why. I changed the line as you said to:
if( $session["logged"]==1 )
{
draw_admin_menu($uzeriz);
}
and took out that while.
It shows the box but the $uzeriz that i pass doesn't show up :/
maybe anybody se
Again, I ask:
Does $mycmd contain the command you expect to see
$mycmd = "$prog $cmdline $trimline &";
print $mycmd;
$output = exec($mycmd);
-Original Message-
From: Walker, Roy [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 25, 2002 2:56 PM
To: 'Rick Emery'; '[EMAIL PROTECTED]'
Sub
Sorry. Yes. It looks exactly like it should. And I see the ouput from the
command like it should on the screen, I just can't capture it in the script.
-Original Message-
From: Rick Emery [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 25, 2002 2:59 PM
To: 'Walker, Roy'; '[EMAIL
At 25.03.2002 15:10, you wrote:
>
>
>hi.. is there any way to use the php oracle function to check to see if
>there are any records in the selected set before calling ora_fetch?
>ora_exec doesn't error if ther are no records, and ora_num_rows doesn't
>return the numbe of rows in the set.,
>
>than
1 - 100 of 162 matches
Mail list logo