> I found a list of some of the Oracle Functions at the main PHP site. Is
> this all there is?
Probably. Anything in particular you felt was missing?...
--
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a li
> When using Cookies for session management everything works fine (the
> authentication part). But not passing the values of the session variables.
> In the example below the existence of '$ident' is verified. But no chance
to
> get its value: no 'echo' prints out anything! Even isset() denies the
> I'm trying to build the first page to a database driven website. The
first
> thing I'm trying to do is detect if cookies are enabled on the users
> browser, and then, via a header(location: mysite.php), redirect the user
to
> either a cookie supported page, or cookie unsupported page. I will u
> I've been using the funcion INCLUDE like this:
> because file header.htm has to be included
> in a lot of files. I want to use "/" because file header.htm is in main
> directory (like E:) and there are files in very directories above E:.
> But when I have a file in a directory above, like E:fol
> Is it posiible to check that an email exists before confirming a form
> under windows NT ?
> Thanks
There are several email verification scripts floating around in PHP
archives.
Most just make sure the email "looks" good for the usual formats.
None, I think, impelement the full 3-page Regular E
> Have u ever tried to send many emails using Bcc?
> It does not work for me !
Yeah, somewhere around 50 addresses you are choking sendmail.
You'll need something designed for a little more heavy-duty work than the
mail() function.
See Manuel Lemos' mail class, or consider integration with a ma
> I 'd like to have an input that contains only a to Z and space and
> ëàéêêàäïüöûâç- nothing else like numbers or whatever and also does not
start
> with space !
> till now with ur help i get the following :
>
> (!ereg("[a-zA-Z[:space:]ëàéêêàäïüöûâç-]", $name))
All those weird characters you typ
> Is it possible using a php -based website to change passwords from
> unixusers?
> Php runs at my system under user: www how can I let it execute: passwd
> and change a password?
I think the passwd shell command requires a real TTY rather than just ol'
PHP.
You could *maybe* do it by having PHP
> i use oracle and i always get this error:
> call to undefined function ocilogon()!
That usually means you didn't compile in Oracle support with PHP.
--
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little
> Isn't it illegal in the US to discuss
> rates in this manner?
>
> It's always been my understanding that
> The U.S. law specifically makes discussion
> of pricing between competitors (all or some)
> a federal offense.
>
> Am I taking this too literally?
I think so.
First of all, this isn't a U
I think each message has a unique ID generated by the machine that posted
it...
--
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
- Original Message -
Fr
>This happens only when I use php as a module:
>When I'd like to run a command with exec or system function I got always
this message
>and the program never executes:
>Warning: Unable to fork [the command's name what I'd like to run] in
filename on line XY
Your OS may have placed an upper bound o
> So how do you know what to charge when youre independent and just
starting?
Dart board :-)
--
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
--
PHP Genera
> I have a javascript to edit an html page thatI have written and have
> been searching for a way to load a file into a text box and write the
> contents to a file on the server when done in PHP. Is this possible? Any
> direction is appreciated. Thanks in advance.
The tricky part is
> I recently downloaded the ArGoSoft mail server that
> someone on this list once suggested when trying to use
> the mail command on a window's system running php.
Another option for a low-traffic mail system might be to download the
Pegasus email client, and use its command-line interface for ma
> in my PHP.ini (which stays under c:\WINNT) I have
>
> include_path = "P:\includes; " ; UNIX: "/path1:/path2"
> Windows: "\path1;\path2"
> doc_root = ; the root of the php pages, used only if nonempty
>
> under "P:\includes" are PHPLIB and some few scripts that I need to
> auto_p
>
$filename="http://195.92.38.87/cgi-win/homeview.dll?details1?src=1050&Proper
> tyCode=1050003/SAPHI/14665/3";
Shouldn't that second ? be a & instead?...
> $file=fopen($filename,"r") or die("cant open $filename");
> while(!feof($file)){
> $line=fgets($file,4096);
> echo $line;
> }
>
> but when
> I wonder if anyone can tell me how I can use an another image as an
> background in a new image?
You'll need the GD library (http://boutell.com) and use --with-gd when
compiling.
Once you've installed those, it's a matter of reading the functions at
http://php.net/ in the GD section.
--
Visit
> I am trying to prevent my Linux machine from crashing by the use of
> memory_limit, but is does not seem to work as I expect it to: When a
> php-script includes itself recursively by accident it grabbes all memory
> available in a matter of seconds, although I set max_execution_time=30
> and mem
> Apache on Solaris 2.6, suEXEC, PHP 3.0.15 as a CGI (not mod_php).
> I'm seeing this sort of thing in my Apache error logs.
>
> failed to open log file
> fopen: Permission denied
> [Thu Feb 1 04:28:33 2001] [error] [client 192.168.1.15] Premature end of
script headers: /usr/local/mailman/cgi-bin
> I'm wondering if anyone has any info regarding any performance hits
> taken as a result of changing the default type to application/x-httpd-php
> in Apache's httpd.conf, or if there are any _other_ implications of doing
> this.
>
> Any info would be appreciated, as would a cc: cuz I'm not subbed
> Can someone tell me how we can assign the content of a PHP
> variable to a Java variables in a script (and vice versa).
PHP -> JavaScript is easy:
\n";
echo "document.foo = $foo;\n";
echo "\n\n";
?>
The other way around is a bit tougher...
You see, PHP runs on the server and spit
> I know how to send a standard email, but I`m having a bit of trouble
adding
> an attachment, can anyone put me right?
>
> this is my code which works fine...
>
> $subject="Hi";
> $email="[EMAIL PROTECTED]";
> $from="[EMAIL PROTECTED]";
> $message="Hi this is me testing my PHP mail script";
>
> m
> I have several sites that need to be upgraded from php3 to php4. In order
> to test compliance of the php3 code on php4, I need to know exactly which
> functions have different usage / results on php4.
>
> I know that include() and rand() work differently, any others?
>
> Does anyone know of an
> Can someone explain to me why this does not work...
>
> All pages on my site header and footer files...
> the header file calls an to config.inc and functions.inc
>
> I have a function to connect to the db in functions.inc, that many other
> functions and includes use.
>
> All works fine
>
> index.php:
> session_start
> read in $array from csv file
> ?>
>
> menu
> content
>
>
> and now: how can i continue the session in the content pages?
In each content page, add:
You may wish to session_register('array'); in your index.php page if you're
trying to do what I think you're tryin
> The problem is: When a user clicks on the link, the fdf document either
1)
> is displayed in plain text (despite the proper header being sent) or 2)
> acrobat reader opens but displays an error saying the file can not be
found.
>
> I can right click on the link, and choose to save to disk. Onc
> I'm interested in the proposition made recently on this list that PHP is
> somehow a 'lightweight' language that some people don't take seriously. I
'lightweight' is good :-)
PHP has less "clutter" than, say, Perl, where there are so many functions
and overloaded symbols that no two Perl hacke
> Hi everyone!
> To use de DBA database format, first i had to configurate php with
> --with-db2 option. All works (configure, make and make install). But the
> php script still not works. The line of the script that has a problem
> is:
>
> $id = dba_open ("/home/httpd/html/testes/test.db", "n", "
>Can i know the date of the last table update in a Mysql database?
You can add a field named 'modified' that is of type 'timestamp' and use:
select max(modified) from blah;
I don't know of any documented way to check the last modified time for a
whole table.
--
Visit the Zend Store at http://w
>Does anybody know how should I recognise if Zend Debug Server is running
???
Either says something like "...with Zend DebugServer..."
or it doesn't. It's in the Zend engine section next to the Zend logo.
If it's not running, check your httpd logs to see why.
--
Visit the Zend Store at http
> We have a host (host A) with PostgreSQL 7.0.3. and PHP 4.0.4 under Red Hat
>
> We have another host (host B) with PHP 4.0.3pl1 under Debian
>
> We are having an incomprehensible error with this code when the content of
$sql is
>
> and "update"
>
> ...
>
> $resultado=pg_Exec($conexion,$sql);
>
>
> My problem is that I need to find a way to check all the candidate_name
> before printing them on the screen and add a flag to the ones which
> occure more than once.
If you can live with listing the names in alphabetical order, you can do
something like this:
$query = "select name, id from ca
> I want to make a php script that outputs a file in a secure dir (outside
of
> web root), this scripts checks the permisions of the user to download the
> file, i use phplib, and my probmem is when i call it from a browser the
> filename to save is set always to test.php, can i send a header to s
> I have a little problem. I have a listbox (multiline combo box) on my web
> page. When I sellect multiple items from the list box and submit the form
to
> enter the values of the listbox items in the database, then only last
> selected item of the listbox is entered in the MySQL database.
>
> Do
> I think I found a bug with the pdf_open_image_file() function. I am
running
> php4.0.4 pl1 with pdflib 3.03.
> I cannot open any .gif or .tif files.
Tell more about the potential bug and your setup and/or search in
http://bugs.php.net for similar bugs.
As it is, nobody can help you too much...
>I'm unable to get exec() to start a small SAS job on my RH 6.2 box.
>(I've got file permissions set correctly) The code:
File permissions of what for whom?
> $command="sas -noterminal -log $SASProgDir$JobName.log ".
>" -print $SASProgDir$JobName.lst $SASProgDir$JobName.sas";
>
> i open mailbox with imap_open
> when i move next page, mailbox close.
> and i must open mailbox again.
> i want connection contiue, even if i move next page
Don't think you can.
HTTP is inherently stateless...
Even if you could, when would the mailbox close? You can't rely on your
web-surfer
> Write me immediately how I find a row size in mysql table if i create a
> table in this manner
> create table size(f1 int,f2 date ,f3 varchar(25),f4 varchar(100), f5 text
,
> f6 int, f7 tinyint(1), f8 tinyint(1) ,f9 tinyint(3), f10 varchar(25))
You read the MySQL manual and add up the numbers?.
> I noticed today that PHP apps run as the WWW user, not the User/Group
> specified in httpd.conf for virtualhosts.
>
> (Module version of PHP running in Apache 1.3.17).
>
> Is there any way to get the PHP module to assume the identity
> similar to the SUexec module will do for CGI?
Not in Apache
> while ($row = mysql_fetch_array($sql_result)) {
> echo"";
> echo $row["paint"];
> echo"";
> echo $row["bucket"];
> echo"";
> echo"http://www.\" method=\"POST\">";
> $Color = $row["Color"];
> if ($Color == $Color) {
Here is one problem: You can't use $Color for the current color you are
printi
> How can you get something like:
>
> header ("Location: $PHP_SELF?");
>
> to redirect with the sessid in the url? In my tests, it redirects, but
> does not append the sessid.
>
> I have compiled with --enable-trans-sid. Transparent sid is working, I
> can use it on links like:
>
> ">
>
> and it w
> What is php-nuke?
It's a "Template" system written in PHP where you kinda click-and-drag to
build a PHP page.
> How could I make a php-page execute something (itself?) without entering
the
> site... it starts evry hour?!
The most resource-friendly way is to compile PHP as a CGI, and then use
>Hi,
>
>My oracle sessions are getting full all the time...
>
>I use a OCILogoff at the end of my script...
>
>What could be the problem. I don¹t use a persistent logon.
Wild Guess:
You have transactions that are not getting committed nor rolled back?
--
Visit the Zend Store at http://www.zend.
> I have a routine where we input text to fields. When there is an
apostrophe it
> handles it correctly. When the form is brought back for editing, the
field
> values show up in the input fields, with all apostrophes intact, just as
it
> should be.
>
> When I upload this script to my isp, it does
Hello, szii!
Sunday, February 04, 2001, 04:48:52, you wrote:
ssc> Why is this failing?
ssc> If I comment out the xml_set_element_handler() call, it's okay...
ssc> If I comment out the xml_parse() call, it's okay...
ssc> If I leave both of them in...it core dumps.
i meet same problem with f
Here's what I'm trying to do: I'd like to pass a hash to a
function as a reference, but I don't want to predeclare that
hash (I'd like to specify it in the function call).
Here's a code example:
\n";
}
}
// works this way
$bar = array (
"one" => "value",
"two" =
What more could you want. Sydney's glorious weather.
PHP's magnificent scripting language.
The keenest PHP users.
All at one meeting. February 20. Willoughby.
Talk about your experience. Feb 20 will feature PHP3 to PHP4 and
e-commerce.
Brag about your successes. Brag about your failures, Brag ab
"phpLover" <[EMAIL PROTECTED]> wrote:
> I want to read an HTML page from another site and replace certain
characters
> with capital letters and show them in another dynamically generated web
page
> on my site. I know this is possible in Perl, but can this be done in PHP?
If
> yes, then how?
It's
Hi!
what is the use of %
Is it called modulo..what is it's use in PHP.?
Thanx!
Dhaval Desai
__
Get personalized email addresses from Yahoo! Mail - only $35
a year! http://personal.mail.yahoo.com/
--
PHP General Mailing List (http://www.php.ne
101 - 150 of 150 matches
Mail list logo