Christian A. Reiter wrote:
As you maybe know, the program "kdevelop" under Linux has a built in
documentation browser which uses the online php documentation which was on
the homepage of the Minnesota university.
Since this homepage isn't available any more the documentation is broken.
I tried
Shawn McKenzie wrote:
Daniel Brown wrote:
On Thu, Jul 10, 2008 at 2:32 PM, Richard Heyes <[EMAIL PROTECTED]>
wrote:
1. Use the query string. Eg
header('Location: http://www.xxx.com?name=value&name2=value2');
That's GET, not POST, as the subject requests. ;-P
2. Use sessions
Matt Graham wrote:
From: "M. Sokolewicz" <[EMAIL PROTECTED]>
Matt Graham wrote:
PHP had potential vulnerability CVE-2008-2829
http://bugs.php.net/bug.php?id=42862 for a reasonable discussion and
an (unofficial) patch.
I'm just curious as to what other PHP users are do
Matt Graham wrote:
Hello, list. A few days ago, a security scan said that our machines
that were running PHP had potential vulnerability CVE-2008-2829 , a
buffer overflow in rfc822_write_address(). Discussions about this
are relatively easy to find with Google, but check out
http://bugs.php.n
David Robley wrote:
Aviation Coding wrote:
Hi all,
I am having problems with a connection to a mysql database.
I am using
function con()
{
mysql_connect("localhost","user","pass") or die(mysql_error());
mysql_select_db("tava") or die(mysql_error());
}
Now, when I call the _functio
or do the same but with strtr()
Will Fitch wrote:
If your goal is to eventually convert Hebrew chars to something else, you could
just use str_replace or stri_replace and have each Hebrew char as an array
element, replaced by another array element as a match.
Example in English:
str_replace(
Dietrich Bollmann wrote:
Hi tul,
So this was a very long and informative answer :)
Thank you very much!
On Fri, 2008-06-13 at 12:02 +0200, M. Sokolewicz wrote:
[...] However, people usually write code which may (and will most
of the time) containt exploitable sections which might give a
Dietrich Bollmann wrote:
Hi,
As far as I remember, in all books I read about PHP and SQL, the
password was stored in an encrypted form, even when all the data which
should be protected by the password was stored in the same database.
Can anybody tell me what is the motivation behind this approa
Nathan Nobbe wrote:
On Thu, Jun 12, 2008 at 7:37 AM, Colin Guthrie <[EMAIL PROTECTED]> wrote:
Pavel wrote:
В сообщении от Thursday 12 June 2008 16:43:59 Richard Heyes написал(а):
This may be of interest (HTML 5 diffences to HTML 4 overview):
what about xHTML? html died few years ago and i
Yui Hiroaki wrote:
hi!
Does anyone know how to convert euro ?
For example;
French to German, Italy to French currency
so on.
Regards,
Yi\ui
I must be missing something, but the French Euro is the exact same
currency as the German Euro, as is the Italian euro. There is nothing to
convert;
It Maq wrote:
Hi,
I need to add the result of 4 calls to mysql_query (4 different queries) to the
same object so that i can mysql_fetch_object in the same loop.
Is that possible? otherwise is there any other alternative?
Thank you
_
J. Manuel Velasco - UBILIBET wrote:
Hello,
I have two perl scripts that runs fine in the shell. But when I build a
page with them, only in one case the results are shown in the other case
i see a blank page.
I have done different test and I don't understand this issue. I don't
know what i a
Jim Lucas wrote:
Waynn Lue wrote:
Actually, I think I fixed it by moving the style sheets below the
instantiation of the facebook client, where I *think* set_user was
being called. I'm still curious if it's possible to get stack trace
information on errors, though. :)
You are probably lookin
Daniel Brown wrote:
On Fri, Mar 28, 2008 at 2:27 PM, It Maq <[EMAIL PROTECTED]> wrote:
Hi,
i have an associative array and i want to use it as an
ordinary array, is that possible?
what i mean is instead of $arr['fruit'] i want to call
it by its position in the array $arr[3]
Did you
Hulf wrote:
Hi,
I am making and HTML email. I have 3 images to put in. Currently I have
$body .="
";
ideally I would like to have
$myimage1 = "image1.jpg";
$myimage2 = "image2.jpg";
$myimage3 = "image3.jpg";
and put them into the HTML body variable. I have tried es
Jim Lucas wrote:
Sudhakar wrote:
if a user by mistake types the wrong url directly in the address bar ex=
www.website.com/abou.php instead of
typing www.website.com/aboutus.php instead of the browser displaying File
not found or a 404 error message i would like to display a customized
page
whic
Jim Lucas wrote:
M. Sokolewicz wrote:
Ryan A wrote:
Hey All,
After searching I found this regex to remove img tags from a post,
but running it is giving me an error, being a total noob with regex i
have no idea what the heck is wrong heres the whole script as its
tiny:
$html
Ryan A wrote:
Hey All,
After searching I found this regex to remove img tags from a post, but running
it is giving me an error, being a total noob with regex i have no idea what the
heck is wrong heres the whole script as its tiny:
'. " Paul! ";
$html =
preg_replace('\s]+))?)+\s*|\s*)/?
And you don't do:
$txtPhotoData = addslashes(fread(fopen($_FILES['txtPhoto']['tmp_name'],
"r"), filesize($_FILES['txtPhoto']['tmp_name'])));
because ?
- Tul
P.S. if you want more readable code (PHP >= 4.3.0, which you should have
anyway) use:
$txtPhotoData = file_get_contents($_FILES['
Daniel Brown wrote:
On Wed, Feb 27, 2008 at 5:08 PM, Robert Cummings <[EMAIL PROTECTED]> wrote:
On Wed, 2008-02-27 at 16:38 -0500, Keikonium wrote:
> Thank you again Robert, and thank you too Daniel. I have gotten both methods
> to work flawlessly so far :). I am slowly learning by trial and
Jim Lucas wrote:
Valedol wrote:
On Fri, 15 Feb 2008 23:46:57 +0300, nihilism machine
<[EMAIL PROTECTED]> wrote:
this still does not work, if a domain has no preceeding www. it
redirects to http://www.www.site.com, if it has a www. it goes to
www.www.mydomain.com, any ideas?
checkWWW();
Anup Shukla wrote:
Hi all,
The manual says,
XXXVII. File Alteration Monitor Functions
..
..
Note: This extension has been moved to the » PECL repository and is no
longer bundled with PHP as of PHP 5.1.0.
..
..
But i am unable to locate it on PECL either.
Is there any way to use FAM/GAMIN wi
Adam Williams wrote:
I'm getting the following error and I don't see whats wrong with my
line. Any ideas?
*Fatal error*: Function name must be a string in
*/var/www/sites/intra-test/contract/perform.php* on line *57*
and my snippet of code is:
if ( $_POST["perform"] == "View Contracts" )
Steven Macintyre wrote:
Hi all,
http://steven.macintyre.name/myscript.phps
is my code as it stands
The purpose of the code is as follows;
Its for a non-profit company - wanting to offer "support" banners for users
who pay for them right ... as in donation.
They want to be able to restrict
Richard Heyes wrote:
I am needing to install a bug tracking system on a web server and
looking for a good PHP open source solution. Looking for a pretty
mature system that still has active development. Thanks for any
suggestions.
The only one I have had experience of is Mantis:
http://www.ma
Brad,
please, try solving these kinds of things yourself. Especially seen as
the parse error which you posted here was already found and shown to you
in one of your earlier posts to this list (if I'm not mistaken).
So, your problem is:
$body.= 'http://www.zoneofsuccessclub.com'">link ';
Try
[EMAIL PROTECTED] wrote:
The Answer is quiet simple.
$E_MAIL = "[EMAIL PROTECTED]";
$to = "[EMAIL PROTECTED]";
$headers = "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
$headers .= "To: Their Name<[EMAIL PROTECTED]> \r\n";
$headers .= "From: your email
Eduardo Vizcarra wrote:
I have a WHILE sentence to retrieve all records from a SELECT query in a
database and am using mysql_fetch_array to store them in a matrix, the
sentence is like this:
while($row=mysql_fetch_array($fotos))
{
$fotos_mostrar[] = $row;
}
$fotos contains all records
Jake wrote:
while($begin < $end)
{
if ($start == 'false')
{
if (empty($temp[$begin]))
{
$start = 'true';
}
}
else
{
$data .= chop($temp[$begin]) . "\n";
}
$begin++;
}
return "$from|$subject|$data";
}
You have got to be joking
Philip Thompson wrote:
Hi. Feel free to tell me this is a "duh" question. I don't know which PHP
executable (php.exe, php-cgi.exe, php-win.exe) is being run - how can I
tell?
I am on a Win2k3 server running PHP5 (manual install) and IIS6. I've pointed
to the php5isapi.dll in IIS. I'm assuming b/
Pavel Janda wrote:
Hello to everybody,
I have this problem with downloading files via PHP. For illustration - I
am using this fragment of code:
The problem is, that the file on server has 16857 bytes and saved file
has 16858. In another case downloaded file has everytime 1 byte more
than
Ravi wrote:
Guys, I am fairly new to PHP. Here are a few questions, if anybody can
answer it will help me get started. Thanks
I am trying to build a website and I would like to do the following in
my scripts
1. I want to return response to the browser and AFTERWARDS make a log
entry in to
Philip Thompson wrote:
On 10/19/07, Stut <[EMAIL PROTECTED]> wrote:
Ondra Zizka wrote:
Hello,
please look at the code bellow and tell if it does not conform to rules
of
returning a reference from a function.
In the first method, I return reference to $sRet variable, and PHP is
quiet.
But i
I'll just put my comments inline for you...
Dan Shirah wrote:
Okay, gotcha!
I changed it to this and it works:
You can't trust this info.
$lock_query = "SELECT id, locked_by_user FROM locked_payments WHERE id =
'$request_id'";
WARNING :: SQL INJECTION :: WARNING
$lock_result = mssql_quer
Richard Kurth wrote:
What I am trying to is get all the days from a table where email
campaign = number. and then look at the last day that was sent and find
it in the list and get the next day that follows that day. At this point
the script below is not working. So if you have any Ideas that
Rick Pasotto wrote:
On Sun, Sep 16, 2007 at 06:04:45PM -0700, Richard Kurth wrote:
Richard Kurth wrote:
Rick Pasotto wrote:
On Sun, Sep 16, 2007 at 07:09:02PM -0400, brian wrote:
Richard Kurth wrote:
$Campaign_array| = array('0','1','3','5','8','15','25');|
I know that I can find the n
Rahul Sitaram Johari wrote:
Ave,
Is it true that the PHP Installer does not work on Windows Vista? And if it
does, it only installs the CGI version?
~~~
Rahul Sitaram Johari
CEO, Twenty Four Seventy Nine Inc.
W: http://www.rahulsjohari.com
E: [EMAIL PROTECTE
1. Who are you?
2. What is this?
3. Why should I care?
4. Don't spam.
Sascha Braun - CEO @ Braun Networks wrote:
The Spectral Authoring System is able to keep
round about 300.000 Document Kategories in one
Application.
1.4 Million Screentexts are in use, while still
providing fast access.
The
jekillen wrote:
On Aug 31, 2007, at 6:26 PM, Robert Cummings wrote:
On Fri, 2007-08-31 at 15:56 -0700, Dan wrote:
Sanjeev is right. You're thinking about the problem backwards. You're
trying to build a Switch inside a loop. Remember, if you ever have
to do
some operating multiple times you
Dan wrote:
As I know there's no real WYSIWYG text to html converters. Plus this
wouldn't do much more than handling paragraphs and new lines.
If you're looking for a way to write html from a textbox check out
FCKEditor.
Sorry I couldn't help much. If you really do have only the limited nee
Stut wrote:
Jason Pruim wrote:
Hi Everyone,
Hi Dr Jason.
I think after I get this question answered, I can stop asking for
awhile since my project will be done, at least until the users say
"What happened to XYZ" then I'll ask again :)
I asked on a MySQL list about "Resetting a auto i
Naz Gassiep wrote:
I'm getting out of memory errors in my image handling script, I *think*
its because I'm handling images that are too large to fit in memory, but
I thought I'd check before just upping the setting to 32mb.
It is currently set to 16mb and I am working with a 2048x1536 image. I
I'm pretty sure
if(!empty($result_deferred_comments)) {
does something else than you think it does.
$result_deferred_comments = mssql_query($deferred_comments) or
die(mssql_error());
if it fetches any rows it will return a RESOURCE (yes, a resource which
is NEVER empty()), if it has 0 rows, i
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 appeal to the same sort of people so i
Hulf wrote:
This does not work
echo $title=$row['title'];
echo "";
Ta,
R.
With my psychic powers I know it is because on line 20316 of file
sdlhfdsbks.php you have a line that looks like bkdlnfblzdfng(); which
has a huge typo! It should be bkdlnfblzdfnsdfdsfg(); instead!
Ok, seriously n
John Pillion wrote:
This is as much a mysql question as it is php.
What is the most reliable way to retrieve an auto_increment key/id for a
query you just inserted?
In other words, I compile all my data, insert it into a new row, and now I
want to retrieve the ID it created for it in th
Chris wrote:
M. Sokolewicz wrote:
Chris wrote:
John Mendenhall wrote:
Is the only valid response to problems with php4 to
upgrade to php5? Or, are there still some people
out there still using php4 and possibly have had
problems with install such as the following?
If php5 is the only answer
Chris wrote:
John Mendenhall wrote:
Is the only valid response to problems with php4 to
upgrade to php5? Or, are there still some people
out there still using php4 and possibly have had
problems with install such as the following?
If php5 is the only answer, I guess we'll just have
to go with
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:
Now, I'd like to catch the error made by eval:
// ...
try {
eval($code);
} catch (Exception
bullshit,
what he sees is a warning emitted by PHP, his redirect is done using
JavaScript (which is clientside and has no, 0.0 effect on what PHP
emits). Now, I'm not going to go into how redirecting that way won't
work (or at least shouldn't), but a hint would be to do it properly
using head
On a sidenote, 99% of the world never calls ob_flush (or any such
function) since PHP flushes the buffer automatically at the end of its
execution.
The reason why setting cookies for you doesn't work is because of the
way a HTTP response is structured. It consists of 2 parts: header and
body
Jay Blanchard wrote:
Given the string 'foo''bar''glorp' (all quotes are single quotes)I had
hoped to find a regular expression using preg_match that would return an
array containing just those words without having to go through
additional gyrations, like exploding a string to get an array. I have
Tijnema wrote:
On 8/2/07, Brad Bonkoski <[EMAIL PROTECTED]> wrote:
Dan Shirah wrote:
Greetins all,
In my form I have an area where the user enters in the payment amount:
This is all fine and dandy and works as generically as it can. BUT, the
problem is that I need to make sure the user didn
Michelle Konzack wrote:
Sorry for the late fdrop in...
Am 2007-07-28 21:31:01, schrieb Børge Holen:
On Thursday 14 June 2007 00:41, Philip Thompson wrote:
On Jun 13, 2007, at 1:15 PM, Richard Lynch wrote:
On Wed, June 13, 2007 12:21 am, Crayon Shin Chan wrote:
Do students and interns still
KVIGOR wrote:
Never Mind I figured it out.
""KVIGOR"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
If magic quotes is on and I dont have access to the php.ini.
Is there any way I can strip quotes from the form field with out using
AJAX?
I have no idea how you would do it _W
Edward Kay wrote:
-Original Message-
From: Hulf [mailto:[EMAIL PROTECTED]
Sent: 31 July 2007 12:11
To: php-general@lists.php.net
Subject: [PHP] if inside an echo.
I am outputting a selectbox and want to do the follwoing. How can
I add the
IF statement inside the the echo?
for ($v
Tijnema wrote:
On 7/31/07, John Pillion <[EMAIL PROTECTED]> wrote:
Not exactly a php question. but I'm doing the project in php, so does that
count? ;-)
A client of mine wants a simple audio recorder for users to record a short
clip/message for other users. anyone recommend any simple audio r
error checking before you even
bother to insert, and then do a single statement, which won't even
need a transaction, since any one statement is atomic.
Perhaps I'm missing something, but it seems like you've needlessly
complicated the DB side of things.
On Sat, July 28, 2007 8:57 pm,
I've been having this problem for a while now,
when I use transactions in SQLite with PDO it stalls on me with an error
stating my statements are in progress.
I've tried closing all cursors to my statements, but that does not seem
to resolve this for me. This is my code,
(obviously shortened qu
Daniel Brown wrote:
On 7/26/07, Daniel Brown <[EMAIL PROTECTED]> wrote:
or am I going retarded again?
This has been confirmed. For whatever reason, Gmail isn't showing
me the [PHP] mark in the subject for this thread. Perhaps because I'm
the OP.
/me shrugs.
It's not the o
Paul Novitski wrote:
At 7/26/2007 06:18 AM, elk dolk wrote:
I want to hide the real URL to my images by masking it with PHP
the code looks like this:
$query = "SELECT * FROM table";
$result=mysql_query($query);
while ($row = mysql_fetch_array($result))
{
echo "";
}
if you look at the source i
Man-wai Chang wrote:
Does Web 2.0 or maybe 3.0 offer some new types, say something
like a real grid, or maybe a modal child popup?
Java is just a specialized DOM... in my opinion.
Where did you get this weird idea... JAVA by itself has nothing to do
with the web or documents... It's commonly
Richard Davey wrote:
Hi,
I'm calling a MySQL Stored Procedure via PDO (PHP 5.2.3)
$stmt = $dbh->prepare('CALL forum_post(?, ?, ?, ?, ?, @status, @thread_id,
@message_id)');
At the moment in order to get the values of status, thread_id and
message_id I need to issue a second query:
$sql = "SE
Christian Hänsel wrote:
Good morning fellas,
I was wondering if there was a function like "is_this_week()"...
What I have is a statistics table for the last week, from
strtotime("Last Monday") to strtotime("Last Sunday")... now I wanna put
a different background colour on the rows where the s
This is top-posting
Ken Tozier wrote:
On Jul 25, 2007, at 10:37 AM, Edward Kay wrote:
PS: Please don't top post on mailing lists.
I'm unfamiliar with the term "top post". What does it mean?
and this is bottom-posting.
Generally on mailinglists it's common to bottom-post and not top-post.
Jeff Lanzarotta wrote:
Hello,
I am not sure if this is the right mailing list or not, but here goes...
I am attempting to compile php 5.2.3 from source under SUSE 10.1. The compile
is fine, it is the 'make test' that is failing...
When I run 'make test' I am getting:
kvigor wrote:
I created an array using the following:
$in_list = "'".join("','",$cen_chiefs)."'"; //$cen_chiefs is an array
$query_cen_chiefs = "SELECT * FROM central WHERE CONCAT(strName,'
',strCity,' ',strState) IN({$in_list})";
How would I go about adding an AND clause to the above query
M. Sokolewicz wrote:
Good day,
I've been struggling with this problem for quite a while now, I've
looked on google, but to no avail, documentation doesn't help me out
either. Now, I know this isn't a pure php problem as such, but rather a
problem in the cooperation o
Good day,
I've been struggling with this problem for quite a while now, I've
looked on google, but to no avail, documentation doesn't help me out
either. Now, I know this isn't a pure php problem as such, but rather a
problem in the cooperation of apache2.2, php and fastcgi.
So, here's what
That's assuming he wanted specifically MySQL. The OP's post did not
actually state _which_ extension he wants to use, nor to which RDBMS he
wants to connect (at all). To the OP: SQL is simply a language, what you
want is a database-system which works with that language. There are a
lot of good
Sancar Saran wrote:
Hi,
I cannot do any operation wiht single quote like
explode("'",$strContent);
Did I miss someting ?
Regards
Sancar
what do you mean by 'cannot do' ?
If I do:
http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Stut wrote:
Zoltán Németh wrote:
2007. 07. 12, csütörtök keltezéssel 10.28-kor Stut ezt írta:
John Comerford wrote:
Hi Folks,
Is there a better way of doing the following:
$Rows[] = array();
$currentRow = count($Rows) - 1;
$Rows[$currentRow]['test'] = "this is a test";
Specifically I am won
C.R.Vegelin wrote:
C.R.Vegelin wrote:
I have various PHP scripts that use the same database.
The startup script default.php sets the connection once for all the
scripts.
This connection is set in $_SESSION to make it a global variable
for all scripts.
When switching from page default to page f
Well, your first problem is that you don't understand the difference
between a serverside-script and a client-script.
Here's what happens:
1. A user clicks on a link
2. the browser sends a request for that page to the server
3. the server runs the script
4. the server sends the output of that sc
, this does not mean they are also enabled! There are
hosts which build php with --disable-dom, there are also hosts which
build php with --disable-libxml thus disabling all xml-related
functionality.
- Tul
Nathan Nobbe wrote:
On 7/8/07, M. Sokolewicz <[EMAIL PROTECTED]> wrote:
You don
Kelvin Park wrote:
I'm getting the following fatal error message:
*Fatal error*: Cannot instantiate non-existent class: domdocument in *
/home/hosting/infotechnow_com/htdocs/admin/inventory/catalog.php* on
line *3
*
when running this code:
// Initialize new object for DOMDocument
$doc = new D
Man-wai Chang wrote:
>> I'm listening to the song now without logging in, just running this in
>> the URL bar:
>> javascript:floatingWindow.hide();
>> and the login window is gone :)
>
> So is there a proper way to create a modal window inside a browser?
>
There is no "proper" way. You have vari
sivasakthi wrote:
Hi Guys,
I have the array like below,
squid %tu %tl %mt %>A
test %st.%hs %>a %squid,test,test1 in to another array..
could you help me to find the solution?
Thanks,
Siva
What does your array look like _exactly_? ie. var_dump style output.
Is it:
array(
array('s
PHP 6 is about as broken as can be, and buggy as hell... why would you
even want to compile it? or extensions for it...?
- Tul
Cathy Murphy wrote:
I am trying to compile memcache 2.1.2 with php6 , but getting errors .
Anybody had luck with this?
Thanks,
Cathy
www.nachofoto.com
--
PHP Gener
Robert Cummings wrote:
On Fri, 2007-06-29 at 11:32 -0500, Jay Blanchard wrote:
[snip]
I am looking for a way to incorporate some simple OCR into a php script.
The
user will bulk scan a pile of invoices. I want the php script to look at
each
invoice and read a number off the invoice. The image
Chris wrote:
M. Sokolewicz wrote:
Paul Scott wrote:
On Fri, 2007-06-29 at 01:59 -0400, -Patrick wrote:
I no longer have a need for this list and My mailbox is getting
flooded, Can someone assist ?
Read the footer on every single mail posted to this list to unsubscribe
--Paul
Paul Scott wrote:
On Fri, 2007-06-29 at 01:59 -0400, -Patrick wrote:
I no longer have a need for this list and My mailbox is getting flooded,
Can someone assist ?
Read the footer on every single mail posted to this list to unsubscribe
--Paul
Mikey wrote:
[EMAIL PROTECTED] wrote:
[snip]
its type is not DomNode, but DomText.
Only the 2nd child -
$NODE = $NODE->nextSibling;
has $NODE->tagName "channel".
My question is - why is the first child after "rss" DomText?
Thank you,
Iv
My guess is the whitespace between the nodes :o)
ochem Maas wrote:
hi Tul,
thanks for the feedback ... can I borrow your brain for a little longer? ....
M. Sokolewicz wrote:
hey Jochem,
as far as I can see, this should work for you:
this is what I thought - actually I originally used dechex() - which gave the
same output as sprint
hey Jochem,
as far as I can see, this should work for you:
$etag = sprintf('"%x-%x-%x"', $stats['ino'], $stats['size'],
$stats['mtime']); // lowercase hexadecimal numbers separated by dashes
header('Etag: '.$etag);
?>
Assuming your apache is configured to use the inode, modification time
and f
zerof wrote:
Chris Boget escreveu:
We are running PHP 4.3.11 in a Windows Server 2003 environment using
ApacheSSL v1.3. Starting just the other day, we starting seeing the
following error pop up in the windows eventvwr:
"Faulting application Apache.exe, version 0.0.0.0, faulting module
php4
I've never heard of, nor seen array_grep() before and AFAIK it's also
not a built-in php function. Check it at http://www.php.net/array_grep,
it doesn't exist. No need to advise that which does not exist :)
- Tul
Al wrote:
Can you be more specific? Show us a line of code, or so.
There are lo
Jared Farrish wrote:
Jared Farrish wrote:
On my localhost this works fine
$result= mysql_query("SELECT date_format(date, '%d/%m/%Y') as date,
title,
id, display FROM NEWS");
while ($row = mysql_fetch_assoc($result)) {
but on my remote i get a mysql_fetch_assoc(): supplied argument is not a
Richard Davey wrote:
Hi all,
Just a quick straw-poll really:
What is your take on using 'return' when you end a function, if you
don't actually need to return a value?
If you have to return say a true/false as the result of an operation,
then it's an obvious choice. But what if all the functio
Pawel Miroslawski wrote:
On 9/20/06, Kae Verens <[EMAIL PROTECTED]> wrote:
James Tu wrote:
> Hi:
>
> I'm trying to setup a dev environment using Apache, MySQL and PHP...to
> develop an application that will go to production.
> What is the most stable versions of the AMP components should I can
Mathijs van Veluw wrote:
Hello there,
I need to have a selectbox filled with the available timezones of PHP.
We are using v5.1.x, and it supports the date_default_timezone_set() etc..
As value you can give a string to what timezone.
I want all these strings within an array or something so i can
Micky Hulse wrote:
Hi,
I am slowly learning how to use classes properly... quick question:
# Create the object:
$doSplash = new RandomSplash(); // Create the object.
Shouldn't I be able to call that object like below, throughout my page:
...HTML...
randomize('css'); ?>
...HTML...
randomize('x
André Medeiros wrote:
Hello everyone.
This may seem as a silly question, but I went through the
documentation and it wasn't explicit on this issue, at least for me.
Let's say that I'm on an 128kb/s upload. I need to upload an 100mb
file through a POST. PHP has, by default, 90 seconds execution
Dave Goodchild wrote:
Hi all, this may seem like a silly question, but I am creating a library of
html form element generation function, for example a textarea fucntion that
takes rows and cols as parameters, a function that generates a day, month
and year select box, etc. My question is - is it
Dave M G wrote:
PHP list.
This is another regular expression type of question.
The very handy PHP function trim() takes excess white space off the
beginning and end of a string.
I'd like to be able to do the same thing, except instead of white
spaces, trim excess slashes: /
So for example
Mathijs wrote:
Mathijs wrote:
Hello there,
I Have a question about cURL and sending POST data.
I have an array with values which are needed for an POST.
There is one value which starts with an @.
This gives me a error: ErrorNo.: 26, ErrorMsg: 'failed creating
formpost data'.
This is becous
I'm not quite sure, but consider the following:
Considering the fact that most JPEG images are stored with some form of
compression usually ~75% that would mean the original image, in actual
size, is about 1.33x bigger than it appears in filesize. When you make a
thumbnail, you limit the amoun
Nadim Attari wrote:
Hello,
I have some text in a table... the text contains hyperlinks (but not
html coded, i.e. plain "Some text...http://www.something.com";)
When i retrieve these texts from the table, i want the hyperlinks to
become clickable, i.e.
"Some text...href="http://www.somethin
although not specifically mentioned anywhere, make sure that your
libmysql.dll file is *also* in the PATH of windows. If PHP misses that
lib, it will bail out with the error below aswell.
- tul
Bagus Nugroho wrote:
if windows, you may add php directory to the PATH of Windows [Environment
Var
Ryan A wrote:
--- Chris <[EMAIL PROTECTED]> wrote:
Ryan A wrote:
Hi,
in phpmyadmin, in the SQL part where you can write
a
query if I have a double update such as this:
it works without a problem as I am ending each sql
statement with a simicolon, but in my scripts when
I
try to ru
1 - 100 of 491 matches
Mail list logo