On Tue, August 28, 2007 6:40 pm, Felipe Alcacibar wrote:
Emil Edeholt wrote:
Hi!
My php project would get a much cleaner code if I could set cookies
anywhere in the code. So I thought of output buffering. But I can't
find
any articles on the cons of output buffering. I mean it most be a
Yes, make sure you have http:// on the front.
?php
if (strtolower(substr($link, 0, 7)) != 'http://') $link =
http://$link;;
?
On Tue, August 28, 2007 3:22 pm, Wagner Garcia Campagner wrote:
Thanks Jim,
Your sugestion worked perfect for me!!
I have another question:
After i validate this
It's not finding your Sybase client libraries.
Why, how, or where, I dunno...
Check config.log and see what it says about Sybase.
Also make sure that the Sybase .so library file thingies are where PHP
thinks they will be.
If they are not, you can sometimes just put a symlink from where PHP
is
On Wed, August 29, 2007 2:03 pm, debussy007 wrote:
I created a form asking username, password, country, etc.
On the submit of this form I make a sql connection and update the
database,
add the user.
The problem is that whenever the field 'password' is filled in,
it (I don't know what) is
On Wed, August 29, 2007 2:10 pm, Charlene wrote:
I forgot to mention in my question that only IE appears to cache. And
with the way my PHP program goes, I'm constantly changing the URL as I
go through the application to modify data and status message. But
whenever I return the the edit page,
On Wed, August 29, 2007 2:01 pm, Jay Blanchard wrote:
I just noticed something a little odd, and maybe there is a simple
solution. Given a form;
form name=foo action=foo.php method=POST
The attributes, especially the name foo, never appear in any
variables
array. I am thinking that this
On Wed, August 29, 2007 4:33 pm, tedd wrote:
At 10:52 PM +0200 8/18/07, Michelle Konzack wrote:
Am 2007-08-17 22:07:47, schrieb Bastien Koert:
If cookies are not available, you can either
hide the id in the hidden form field element
or
enable trans_sid to automatically pass the session
On Wed, August 29, 2007 4:12 pm, Mike Ryan wrote:
I would like to have my users input the date formate as mm-dd-
mysql
wants the data to come down as -mm-dd.
The question I have is how do I convert from the mm-dd- to
-mm-dd so
that I can write it out to the database?
You
On Mon, August 27, 2007 12:41 pm, Sam Baker wrote:
So I don't have to reinvent anything, does such a thing exist anywhere
that
anyone knows of:
I'm looking for a php script that will read any xml file, display the
contents in html, with the option of adding an entry (in the same
scheme,
On Mon, August 27, 2007 8:51 am, Stut wrote:
Gustav Wiberg wrote:
Why is it so that I get this error. I'm using Windows Integrated
authorization-method for actual webb I'm testing on.
Notice: Undefined index: PHP_AUTH_USER in
C:\www\utveckling\username.php
on line 2
For some reason it's
On Mon, August 27, 2007 2:43 am, shiplu wrote:
I have tried same file as cli and as webpage. I don't know why only
cli version works nicely. There may be some issue. But my technique
has some advantages. It can run command asynchronously. Thats what i
need for my application. I can create
On Mon, August 27, 2007 12:44 pm, Ali, Saqib wrote:
I am looking for a simple PHP script that can generate Pie Chart based
on SQL query resultset.
JP Graph
It requires GD extension.
--
Some people have a gift link here.
Know what I want?
I want you to buy a CD from some indie artist.
On Mon, August 27, 2007 12:55 pm, Hugues De Keyzer wrote:
I'm having a weird problem on my web hosting provider's server. I'm
using drupal with the image module and the image_pub module to upload
a
series of pictures using Gallery Remote. This software uploads
pictures
one after the other
On Mon, August 27, 2007 12:59 am, Maarten Balliauw wrote:
Now let's repeat my question: is there any way to gracefully evaluate
specific code, eventually catch an error and respond to that, without
using parsekit() or launching another process to get this done?
I missed that you had an E_ERROR
On Mon, August 27, 2007 1:46 am, Dotan Cohen wrote:
On 27/08/07, Richard Lynch [EMAIL PROTECTED] wrote:
On Sun, August 26, 2007 3:41 pm, Dotan Cohen wrote:
I have a string with some HTML paragraphs, like so:
$text=pFirst paragraph/p\npMore text/p\npSome more
text/p\npEnd of story/p
On Mon, August 27, 2007 5:45 pm, Dotan Cohen wrote:
Thank you Brian. This most certainly works. I'm having a very hard
time decyphering your regex, as I'd like to learn from it. I'm going
over PCRE again, but I think that I may hit google soon. Thank you
very, very much for the working code.
On Sun, August 26, 2007 3:41 pm, Dotan Cohen wrote:
I have a string with some HTML paragraphs, like so:
$text=pFirst paragraph/p\npMore text/p\npSome more
text/p\npEnd of story/p;
I'd like to add an image before the last paragraph. I know that
preg_replace can replace only the first n
On Sun, August 26, 2007 2:05 pm, Stut wrote:
nitrox . wrote:
Im trying to delete a composite key but cannot figure out the proper
format. Would somebody tell me where im messing up? I have an url
that
is supposed to send the member id and game id to a delete query. And
the
delete query is
On Sun, August 26, 2007 10:34 am, jekillen wrote:
I have been working on a project that has registered users, each
having
a user space portion of the web site file system. I want them to be
able to upload images and such and have the stuff transfered to their
own user spaces. With one up load
On Sun, August 26, 2007 9:36 am, Ron Piggott wrote:
Is there a PHP command that turns text into HTML?
EXAMPLE:
before
Hi.
How are you doing?
after
Hi.p
How are you doing?p
http://php.net/nl2br
You could also do:
echo p, str_replace(\n, /p\n/p, $text), /p\n;
Another option, if
On Sun, August 26, 2007 1:11 am, Richard Kurth wrote:
I am trying to find out which string is the longest and then find out
what
is different between the two string. Sometimes String 2 is longer than
String 1 The script below works sometimes but not all the time.
Is there a better way to do
On Sun, August 26, 2007 12:46 am, Robert Keizer wrote:
I am currently working on a module testing class, I can't seem to find
the
correct syntax. Here is an example of the problem:
function foo( $var ){
include $var.'.php';
return $var(); // !--- problem
Try this:
return
On Fri, August 24, 2007 11:03 am, Jason Pruim wrote:
Hi Everyone,
I'm attempting to figure out the proper way to use sessions to log
someone into my system. The idea being, if they arn't logged in all
they can see is the login form, and if they are logged in, they and
have access to a
On Fri, August 24, 2007 10:11 am, Steve Brown wrote:
html
head
titlePHP Web Server Test/title
/head
body
?php phpinfo(); ?
/body
/html
phpinfo(), which should never be called in a production setting, is
quite possibly the worst benchmark function you could choose. :-) :-)
:-)
I ran
On Sat, August 25, 2007 9:45 am, Robert Cummings wrote:
PHP4 AND PHP5 developers don't even use OOP. Tell me what is
compelling
in PHP5 that doesn't rely on you being an OOP developer?
The XML stuff, if you need to parse XML a lot, which is not exactly a
niche market, but not everybody needs
On Sat, August 25, 2007 11:56 am, Nathan Nobbe wrote:
so we would really have to
dig deeper for a definition of 'basic oop' / 'true oop' etc.
I'll consider PHP true OOP when PECL has a Lisp extension for me to
write REAL oop code
:-)
Actually, that could be a kind of fun extension to write...
On Fri, August 24, 2007 3:20 am, Goltsios Theodore wrote:
Please do not encourage the use of $_REQUEST.
You might as well just tell people to enable register_globals again.
This is *SO* not correct at all!
$_REQUEST[] is merely array_merge($_GET, $_POST, $_COOKIE);
It is *NOT* in any way,
On Fri, August 24, 2007 6:34 am, Suamya Srivastava wrote:
by doing this can i disable the register_globals?
You can disable register_globals by using these:
$_GET['foo']
$_POST['foo']
$_REQUEST['foo'];
$_COOKIES['foo'];
$_SESSION['foo'];
$_ENV['foo'];
$_SERVER['foo'];
and never, ever, ever,
On Sun, August 26, 2007 6:37 pm, mike wrote:
On 8/26/07, Richard Lynch [EMAIL PROTECTED] wrote:
It is *NOT* in any way, shape, or form, polluting the global
namespace
of all your variables, which is what register_globals is.
That is why I said it was *one* reason register_globals
On Fri, August 24, 2007 12:55 am, Angelo Zanetti wrote:
Dear All
I have been using nusoap to development a client that makes SOAP calls
to a server. I have however been stuck on a small issue but can't
seem
to solve it and therefore I need to relook at using another package to
get a
On Thu, August 23, 2007 6:26 pm, Liz Kim wrote:
Did anyone else run into this problem?
PHP fails to connect to MSSQL7 with mssql_connect with the message:
Changed database context to 'DB_NAME'.
I've been searching around but did not find a good solution for PHP.
I did find this link:
On Thu, August 23, 2007 2:49 pm, Instruct ICC wrote:
Can server1 receive a web page form post from remoteAttacker,
identify it as spam (or a DoS or DDoS attack),
hand off the socket to multiple threads on multiple servers owned by
server1's owner,
return multiple responses to remoteAttacker
On Thu, August 23, 2007 4:46 pm, Stut wrote:
Instruct ICC wrote:
Wow, that's for that egg-sucking lesson. I would think it was clear
from my answer that I know what a socket is.
Sorry. You understood the concept but it wasn't clear to me that
you
understood about the socket. Save me a
On Thu, August 23, 2007 12:04 pm, Jason Pruim wrote:
One of these days someone is going to get sick of hearing from me,
but until that day comes I have another question :)
I asked on a MySQL list about wether it's better to have 1 database
with many tables, or many databases with 1 table for
On Thu, August 23, 2007 9:45 am, Colin Guthrie wrote:
Dan Shirah wrote:
You shouldn't need to recompile PHP.
Just go into your PHP.ini file and uncomment the line:
;extension=php_mssql.dll
After that you can go to the [MSSQL] section of the .ini file and
change the
rest of the settings
The definition of 'empty' changed several times in the life of PHP.
I think an empty array was always empty though...
Still, if it's giving you grief, just use http://php.net/count
On Wed, August 22, 2007 4:06 pm, Dan Shirah wrote:
From my understanding, if $result_deferred_comments is empty,
On Wed, August 22, 2007 3:04 pm, James Ausmus wrote:
Hello - I'm trying to find a (sane) way to, in an extended class,
override the parent class's constants, something like the following
(which doesn't actually work):
Call me crazy, but if you're over-riding it, then it's not a constant,
so
You could change the PHP source to not emit an error when a function
doesn't exist and matches the list in disable_functions...
But since a whole heck of a lot of scripts would NOT just work
without exec, that would probably not be such a Good Idea...
On Thu, August 23, 2007 12:25 am, Samuel
On Sun, August 26, 2007 3:03 pm, Beauford wrote:
I tried putting LoadModule php5_module /usr/local/apache/libphp5.so in
my
http.conf, but it doesn't exist.
Example 2-2. Installation Instructions (Static Module Installation
for
Apache) for PHP
I think static module installation means
On Wed, August 22, 2007 3:31 pm, mike wrote:
I thing a good FAQ entry would be how this patch fits in with
Suhosin
and what are the comparable/conflicting concepts, are they
compatible
with each other etc.
http://www.hardened-php.net/suhosin/a_feature_list.html
Both systems are liable to
On Sun, August 26, 2007 8:00 pm, Richard Kurth wrote:
I am trying to find out which string is the longest and then
find out
what is different between the two string. Sometimes String 2
is longer
than String 1 The script below works sometimes but not all the
time.
Is there a better way to do
On Thu, August 23, 2007 12:58 pm, Samuel Vogel wrote:
That'd be at least some kind of a solution.
I'm thinking of overwriting the functions I want to block with one,
that
just returns true and does nothing.
How would I do that?
E. You don't.
Well, okay, you *COULD* install the Run-Kit
On Wed, August 22, 2007 1:09 am, Vanessa Vega wrote:
i have a table generated using PHP javascript...the data on that
table
came from a form where several
data was inputted... I want
to let them see a preview of the data they entered, so i put a link or
button that when clicked, will
If you want to capture the output of your current script, toss
ob_start() at the top and $data = ob_get_content() at the bottom and
then munge it as you will.
Though I also think you'd be better off putting the JS validation
in-line with the input tags.
On Tue, August 21, 2007 1:32 pm, Jas
On Tue, August 21, 2007 6:14 am, Humani Power wrote:
Hi everybody. I have a Fedora Core 7 with php 5, and I want to upload
an
image.
The funniest thing is that my script works fine in other computer but
not in
this one.
I look for the error in /var/log/httpd/error.log and I found this
Put all your classes into a single directory structure.
Use http://php.net/set_include_path (or php.ini or .htaccess) to
provide the FULL PATH to that directory.
PHP now knows where to start its search, and essentially prepends
that directory when it does an include.
Assume this directory
On Mon, August 20, 2007 11:50 am, Sascha Braun, CEO @ fit-o-matic wrote:
could somebody please explain me, what loop construct is
faster? The for, while or foreach.
If you are doing anything where the speed of for/while/foreach
matters, you shouldn't have done that in PHP in the first place,
On Mon, August 20, 2007 8:54 am, Maarten Balliauw wrote:
Here's the thing: I'm trying to do some dynamic code compilation
within
PHP using eval(). The code I'm trying to compile raises an E_ERROR
(Fatal).
Here's a simple example:
?php
$code = ' $returnValue = 12*A+; '; // Clearly
On Mon, August 20, 2007 12:41 am, Augusto Morais wrote:
Hi,
I want create a variable based in another variable. Example:
$foo (a simple variable);
$myvar_foo
Does it possible?
variable variables will do it.
But 99.% of the time, you're better off just using an array.
--
Some
On Sat, August 18, 2007 6:31 pm, nitrox . wrote:
Is it not considered good practice to have a primary key on a lookup
table for a database?
I have 3 tables setup, games, memberleagues and members. The
memberleagues table holds the id of the games table and members table.
The problem I have is
On Sun, August 26, 2007 9:16 pm, Bruce Cowin wrote:
I'm curious as to how everyone organises and includes their classes in
PHP5. Let's take a simple example that has 3 classes: customer,
order,
and database. The database class has a base sql db class (I know
there
is PDO and other things
On Tue, August 21, 2007 3:08 am, Per Jessen wrote:
N0K wrote:
But if it run in the browser, i think it have to run in cli, dont
you
think ?
No, certainly not by default. They are very different environments, as
you have already found out.
If you want to force it to work, you could hack up
Are you sure it's not --with-apxs2 instead of --with-apx2 ???
On Fri, August 17, 2007 8:00 am, ROUKOS Michel wrote:
Hi,
I am integrating httpd-2.0.59 with php-5.2.1 and Sybase 12.5 on a
solaris 8 machine. I followed these steps:
Install apache:
./configure --prefix=/usr/local/apache2
*IF* this is the actual problem, then find the libeay.ddl thingie and
put it next to the openssl.dll thingie.
On Tue, August 14, 2007 11:42 am, Alain Roger wrote:
So what should i do ?
On 8/13/07, Richard Lynch [EMAIL PROTECTED] wrote:
OpenSSL has a secondary dependency on libeay or whatever
On Tue, August 14, 2007 5:42 am, ecc wrote:
i´m reading zip-files with the php zip-functions without a problem.
Now i
got and Zip containing an corrupt crc (If i open this file via winzip,
the
error is shown).
It looks like the php functions for zip-handeling zip_entry_read and
On Mon, August 13, 2007 11:35 pm, shivendra wrote:
Sir,u r not getting what i m trying to say,my problem is how can i
send the
values of tds in a perticuler row,by a function in onClick event of
that
row.actuallly the values are coming from database,and i what i want
when i
click a
What is in $SD?
And are you using mysql_real_escape_string on all values?
On Mon, August 13, 2007 11:31 pm, Kelvin Park wrote:
mySQL database becomes inaccessible after a buggy sql string gets
queried.
The SQL server runs fine, however it seems like just the database is
being
looped
On Mon, August 13, 2007 12:50 pm, Kevin Murphy wrote:
Small issue with formatting a date. If I type in this:
echo date(g:i:s a \o\n l F j, Y);
the n character in the word on doesn't appear, but instead what I
get is a new line in the source code. If I type it as:
echo date(g:i:s a \on l F
On Mon, August 13, 2007 8:03 am, Chris Boget wrote:
Currently, I have an XML file that I load in, parse manually and
iterate
through the nodes to create objects, etc, using the node values as
parameters. This works all well and fine but is a little resource
intensive.
Now, I can create a
On Mon, August 13, 2007 4:45 am, Per Jessen wrote:
I've got a weird issue concerning $_GET and apaches content
negotiation.
situation one:
files in htdocs/:
phpinfo.phtml.en (all it does is call phpinfo()).
phpinfo.html - apache type-map
if I load URL = https://server/phpinfo?klop=99,
On Mon, August 13, 2007 4:37 am, Nathan Wallis wrote:
Just a follow up to my post about running an application server side
and the
introduction of sockets.
My application is really just to modify a series of images on the
server and
combine them into a collage of images as a single file
On Sun, August 12, 2007 10:32 pm, Rick Knight wrote:
I have just installed PHP-5.2.3 on my Kubuntu Feisty box. I removed
all
the debian php first and then compiled php with the options I needed.
Now everything seems to be working except phpinfo.php which consists
of
one line.
? phpinfo();
On Sun, August 12, 2007 8:52 pm, Jay Blanchard wrote:
Evening all! (at least it is evening here in Texas)
We all have our favorite PHP books and resources but there is one tome
that seems to be missing from the group...a best practices book. We
all have our preferences for what we call best
Are you using E_ALL?
Any error messages?
My first suspect is you are hitting php.ini time_limit setting, or
possibly the memory_limit.
On Sun, August 12, 2007 7:09 am, Alain Roger wrote:
Hi,
I'm still working on importing CSV file content (20.000 records) to
database
PostgreSQL.
when i
On Sun, August 12, 2007 2:35 am, Alain Roger wrote:
I'm getting an error message when i run the following SQL request :
$sql = INSERT INTO tmp_importedxls (rec_id, publisher) VALUES (SELECT
nextval('tmp_importedxls_rec_id_seq'),'$pb');
Error in SQL query: ERROR: syntax error at or near SELECT
On Sat, August 11, 2007 1:54 pm, Michael Cooper wrote:
Hello, I have a question--is the note from equazcion here correct? It
is left unchallenged on the page but I can't see how it is correct
since I am under the impression that the environment is refreshed each
page load and the function or
On Sat, August 11, 2007 4:58 am, shivendra wrote:
hello friends,
i need your ehlp,actually i have a tablbe in my php page,the format is
something like this:
table
tr name=t1 id=t1
tdmonu/tdtd23/td
/tr
tr name=t2 id=t2
tdmonu/tdtd23/td
/tr
/table
What i want,when i click a row like row
On Sat, August 11, 2007 2:21 am, AmirBehzad Eslami wrote:
I know that the performance here is not very much, but is it
considerable in a high-traffic website?
It's almost for sure meaningless in any real-world website.
Use valgrind callgrind to find your real bottlenecks, and focus on
those
OpenSSL has a secondary dependency on libeay or whatever it is.
PHP might *think* it has OpenSSL, but until OpenSSL can also load in
the libeay thingie, it ain't gonna work.
It can be confusing, especially when the error log shows something
about openssl but doesn't say what openssl is missing,
On Sat, August 11, 2007 9:39 pm, Robert Cummings wrote:
On Sat, 2007-08-11 at 19:36 -0700, Geoff Nicol wrote:
Rob,
What you suggested, which matches the theory of what I and others
suggested, would certainly work as an ID that changes is involved.
If you read the specific posting by Richard
On Fri, August 10, 2007 6:51 pm, Geoff Nicol wrote:
That was my first thought as well but you will still have to use a
session
variable or cookie for the page following redirect to know it was a
meta-refresh.
No.
For the page following, you can use some other GET parameter, such as
to
death.
On 8/11/07, Richard Lynch [EMAIL PROTECTED] wrote:
On Fri, August 10, 2007 6:51 pm, Geoff Nicol wrote:
That was my first thought as well but you will still have to use a
session
variable or cookie for the page following redirect to know it was
a
meta-refresh
On Thu, August 9, 2007 1:54 pm, Joey wrote:
Has anybody had any experience with any open source Job posting
systems out
there?
Check this out:
http://jobcoin.com/
I haven't had a chance to install it and play with it yet, but it sure
seems reasonable in its approach.
--
Some people have a
On Fri, August 10, 2007 1:26 pm, Kevin Murphy wrote:
I doubt this, but is there any way to determine via PHP if a browser
was refreshed automatically via a META tag vs the person clicking the
refresh button?
You could embed something in the META tag's URL such as:
meta http-equiv=refresh
On Fri, August 10, 2007 12:12 pm, Sancar Saran wrote:
Once upon a time I try to ignite PHP community to develop some kind of
client
side php, which failed, because lack of interest (or because of
javascript).
In open source world everthing boosted from personal interest.
Wez did a PHPScript
On Fri, August 10, 2007 11:48 am, Faither wrote:
I'm kind of lost with how str_replace , preg_replace, ereg_replace or
even explode are handling a \n-ewline.
.
.
.
Is it even possible under windows? ^^
In Linux, the newline is \n, but...
Under Windows, the newline isn't \n, it's \r\n
In the
On Fri, August 10, 2007 11:23 am, Tony Di Croce wrote:
I have to write some PHP backend code for a threaded message board.
The db
has a message table, and each message has a parent id.
Does anyone have any advice for someone whos never done this in PHP?
I'm currently thinking that I write
On Fri, August 10, 2007 9:43 am, Jason Pruim wrote:
I want to be able to sort that info so my sql query looks like:
Select * from current order by '$order'; and $order is populated by
a GET when they click on a link: A href=index.php?order='Last'Sort
by last name/A Now... the whole PHP page
On Fri, August 10, 2007 10:00 am, Daniel Brown wrote:
It's safe to ignore the `Undefined index` notices. That will just
appear if a variable is referenced without first being instantiated or
defined. No biggie, just put this at the head of your code:
ini_set(error_reporting,E_ALL
On Fri, August 10, 2007 10:18 am, Daniel Brown wrote:
So you're all going to tell me that you have E_NOTICE set to
report on your sites?
Damn right I do!
That's the FIRST thing I change on any new development site, anywhere,
anytime.
--
Some people have a gift link here.
Know what I
On Fri, August 10, 2007 10:43 am, Robert Cummings wrote:
On Fri, 2007-08-10 at 11:40 -0400, Daniel Brown wrote:
On 8/10/07, Stut [EMAIL PROTECTED] wrote:
If PHP thinks something might be wrong it will tell you. Why on
earth
would you want to ignore it? You think you're smarter than PHP?
On Fri, August 10, 2007 9:40 am, Martin Alterisio wrote:
2007/8/7, Richard Lynch [EMAIL PROTECTED]:
On Fri, August 3, 2007 1:38 am, Ralph Kutschera wrote:
I'm working on a project, where we distinguish between
functions
and
actions in design, although in PHP both are implemented
On Fri, August 10, 2007 8:36 am, Alain Roger wrote:
I would like to know what is the best way and fastest to insert into
PostgreSQL around 25.000 records (extracted from CSV file).
Should i use the standard pg_exec($dbconn, insert into...); for each
record ?
25.000 records is not THAT large,
On Fri, August 10, 2007 8:04 am, Alain Roger wrote:
So now i know how to import the content of the CSV file to database,
however, before to import to database i do a simple test.
in fact, i display in my browser all content of my CSV file.
unfortunately, not all characters are displayed
On Fri, August 10, 2007 6:26 am, Nathan Wallis wrote:
I have a windows application the performs a certain task that I need
it to
perform. I am in the process of developing my site and am really
interested
in the functionality of the site at the moment and haven't set about
putting
the
On Fri, August 10, 2007 6:24 am, Diana wrote:
How do I install the ming library on windows??
I copied the php_ming.dll that I had on another computer and enabled
this
line in php.ini extension=php_ming.dll
but I still get that error Call to undefined function Ming_setScale()
There are
On Thu, August 9, 2007 8:15 pm, jekillen wrote:
On Aug 8, 2007, at 9:34 PM, Richard Lynch wrote:
On Wed, August 8, 2007 7:52 pm, jekillen wrote:
Apache runs as the User setting in httpd.conf
If that User can rwx the files, then PHP can rwx the files.
If not, not.
It's that simple
On Thu, August 9, 2007 7:55 pm, Daevid Vincent wrote:
It has a size limit for one (maybe 1k chars?)
The limit has been increased with each version of the HTTP spec, and
implementors have always been encouraged to make the limit as high as
practical.
But they could not claim to be implementing
On Thu, August 9, 2007 6:45 pm, Ólafur Waage wrote:
I know this isn't exactly a php related question but due to the
quality of answers ive seen lately ill give this a shot. (yes yes im
smoothing up the crowd before the question)
I have a weblog system that i am creating, the trouble is that
On Thu, August 9, 2007 1:04 pm, Tony Di Croce wrote:
I keep wanting to do something, and either I dont know how to do it,
or I'm
doing something wrong and need to rethink things.
Quite often, I have a form that submits to a php script via POST and
after
doing some processing (or more
On Thu, August 9, 2007 11:50 am, Peter Pan wrote:
I'm having an issue where throwing Exceptions are displaying a blank
page
even though the Exception is being caught in a try...catch statement.
This
is happening on our production server where warnings, errors,
exceptions,
etc. are not to be
On Thu, August 9, 2007 8:43 am, Martin Marques wrote:
I have a script which I run from cron. I'm testing it directly from
the
console:
/usr/bin/php -f /path/to/script.php
The thing is:
Script executes great, and everything it has to do gets done, but it
throughs a segmentation fault
Reading that, I think it's similar to this:
http://php.net/stream
I'm really not sure what the OP wants, though...
On Thu, August 9, 2007 6:32 pm, Dan wrote:
Well, I have no idea what the Phython StringIO method does. Could
someone
explain in PHP terms maybe? Google gave me this
On Thu, August 9, 2007 1:24 am, Phil Curry wrote:
$userValues = ' 1';
line 102 echo ($userValues['afterDark']); // outputs 1
line 103 if ( $userValues['afterDark'] == 0 ) {// passes
When using echo to display debug output ALWAYS surround the data with
some kind
On Thu, August 9, 2007 8:23 am, Bastien Koert wrote:
you could use ini_set at the top of the script to turn the magic
quotes off...
No, you could not.
Lonngg before ini_set is called, PHP has *already* applied
the Magic Quotes feature and munged your data.
:-)
--
Some people
On Wed, August 8, 2007 9:53 pm, racol wrote:
If I have the PEAR directory in my C:\php directory and my php.ini
has a line which reads: include_path = .;C:\php\pear why can't my
program find DB.php?
Can anyone tell me please?
Possible causes:
The PEAR directory and/or DB.php is not readable
On Wed, August 8, 2007 7:52 pm, jekillen wrote:
I have a question about including php files that are outside of
the web server document root. What permission does Apache
use to access files outside of the document root?
Here is the situation:
I want to store sensitive data such as login/pw
On Wed, August 8, 2007 5:39 pm, Joker7 wrote:
Can anyone give me some pointer,here's my problem.I wish to move a
file from
a local server to a remote one.The file is in the format
([EMAIL PROTECTED]) on moving the file to the remote server I
wish to
remove the time stamp part of the file and
On Wed, August 8, 2007 12:56 pm, Jason Pruim wrote:
I tried asking this question on the MySQL list but haven't gotten
very many helpful responses... Does anyone know how to successfully
import a excel file into MySQL (To make it on topic) Using PHP? I
have tried using LOAD FILE in mysql and it
of functions to use with the
.htaccess file? Cause it looks like you can use UNIX and PHP to edit
this
file?
Kevon K. Hayes
815-980-3435
RFD, IL
-Original Message-
From: Richard Lynch [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 07, 2007 11:30 PM
To: KVIGOR
Cc: php-general
501 - 600 of 7207 matches
Mail list logo