On Thu, 2008-06-12 at 21:20 +1000, hce wrote:
> Hi,
>
> What is the best way for a PHP web application to connect to an
> external application written by C in Linux OS?
>
> (1) Can PHP directly call external C functions, or similar solution?
>
> (2) Can PHP pass messages to message queue which
On Thu, 2008-06-12 at 16:27 +0530, Yashesh Bhatia wrote:
> Aschwin:
>
> Hi i tried
>
> --
> //echo '';
> //echo 'window.location.href="3.html";';
> //echo '';
> header("Location: 3.html");
> exit;
> -
Hi all,
I have the following SQL statement;
SELECT count( salesID ) AS count, branch_name, company_name, branch.branchID
FROM sales
LEFT JOIN IGuser ON sales.IGuid = IGuser.IGuid
LEFT JOIN branch ON IGuser.branchID = branch.branchID
LEFT JOIN company ON branch.com
I have three tables, namely;
User
- UID
- Firstname
- Surname
- Tel
- Cell
- Email
Tracker
- UID
- Points
Winners
- UID
- Datetime (-00-00 00:00:00)
I need to get the following information from the above tables (in my logical
sense)
All users from user with sum(points) as points and d
>Do you already have some code? Do you got stuck somewhere?
No, i didnt even know where to start with the flow; but sitting on the toilet
produces wonderfull ideas!
I have the following in mind; list the entire directory into an array, using a
foreach to check on the db if the file exists, th
Hi,
I need to be able to do the following procedure;
retrieve all items from a mysql db table, then check to see if the files from
that table exist on the server (images), if not, to "clean up" and remove the
physical file - so that only the files from the db exist.
This will run via cron
Ha
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 those banners to a certain
> Your subject line says "while-do" + array, following code contains
> a
> "do-while" loop.
Apologies :)
> We can't debug the script very well without a
> sample
> input since we don't know how many times the loop "should" run. To
> debug
> yourself, try using print_r() to see exactly what the f
Hiya,
I have the following code ... which only seems to result in one item ...
which is incorrect ... can anyone spot my problem?
if ($armbase != "") {
$options = explode(",", $armbase);
$text .= '';
$get_endRow = 0;
$get_co
Shyte ...
The files are VBR ... I will read up and when I find answer - will revert to
list with it as well..
Ps.
Everyone is a bunny to me :P
S
> -Original Message-
> From: Jim Moseby [mailto:[EMAIL PROTECTED]
> Sent: 11 July 2007 03:55 PM
> To: 'Steven Macint
Allow bunnies ...
Any takers on this ... I JUST want the duration of the mp3 file - with a
small function if possible ... I honestly don't want to use a class like
http://www.phpclasses.org/browse/package/112.html
The coding is terrible and SERIOUSLY over inflated for what I want.
Anyone know of
d a unique voucher number.
Now, I have looked at ImageCreateFromjpeg etc ... but ... cant figure out
how to place the text on it within the specified areas. It will then be
emailed to the user.
Does anyone know of an idea out there already I can take a look at ... or
some advice?
Kind regard
"This tutorial shows how to install and configure Apache2 with PHP5 and PHP4
enabled at the same time. Because it is not possible to run both PHP5 and
PHP4 as Apache modules, we must run one of them as CGI, the other one as
Apache module."
http://www.howtoforge.com/apache2_with_php5_and_php4
That
SELECT * FROM table WHERE field_3 IS NOT NULL
> -Original Message-
> From: Ron Piggott [mailto:[EMAIL PROTECTED]
> Sent: 26 February 2007 02:56 PM
> To: PHP DB
> Subject: [PHP-DB] NOT NULL query
>
> Is it possible to do a SELECT query where field_3 isn't null? What
> would the syntax loo
Hi all,
I am working on a project for someone and with the brief I received before -
I created a record per action with the following information;
Artist[tab]artist[tab]artist[tab] etc as a entry for "artists"
Then I have the same for titles etc ...
What I have been doing is creating the array
Hi all,
I have an array ($articles) that contains content in this format
Text
More text
I am currently calling the creation of the array as such;
$articles = split("Section break", $mystring); <-- this works
NOW ... I need to split each item in the articles array into its own array
(newsarray)
Hiya,
I need to be able to read a file into a string - I have used the above
command and it works ... now ... I need to read a file into a string - that
requires a username and password to access the authentication is normal HTTP
basic realm
Any ideas?
Kind Regards
Steven Macintyre
ox Created") {
Do more stuff
} else {
Tell user that there was a problem
}
How is this done ...
At current - the "MailBox Created" and error message if there is always
displays raw on the screen as if its outputting that buffer
Kind Regards,
Steven Macintyre
http://steve
sist?
Kind Regards,
Steven Macintyre
http://steven.macintyre.name
--
http://www.friends4friends.co.za
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
anyone start me
off on the correct route to get this done.
The layout does not have to be exactly like that - but - the days across top
have to - so if there are gaps in "time slots" etc we can handle that
This is way beyond my level of knowledge and have NO idea where to
Thanks Stut,
Perfect!
Kind Regards,
Steven Macintyre
http://steven.macintyre.name
--
http://www.friends4friends.co.za
> -Original Message-
> From: Stut [mailto:[EMAIL PROTECTED]
> Sent: 02 January 2007 02:59 PM
> To: Steven Macintyre
> Cc: php-general@lists.php.ne
> When I send a mail using php using mail(), and using html tags in
> message
> body , these tags are being displayed as it is.
> Please let me know if there's any way of how to tackle with this.
I use phpmailer for all my email sending ...
Never had a problem with it
S
--
PHP General Mailing
nd Regards,
Steven Macintyre
http://steven.macintyre.name
--
http://www.friends4friends.co.za
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> imagecopyresampled might help you... I use that and it works
> without
> problems.
>
Hi Peter,
" I have done some searching via google and some answers say change
copyimageresampled to copyimageresized etc"
I have tried your suggestion with the same results ... that is what I was
using first
Now ... afaik my new sizes are proportional to the big ones ... but it
pixelates :(
However,
Using an image 1600 x 1200 (96 dpi) 24 depth it works and there is no
pixilation
Can someone perhaps assist now?
Kind Regard
and combine it to a "master" array and use
that ...
Good thinking? Better suggestions?
Kind Regards,
Steven Macintyre
http://steven.macintyre.name
--
http://www.friends4friends.co.za
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi ...
I have the following;
$files = array();
$curimage=0;
if($handle = opendir($dirname)) {
while(false !== ($file = readdir($handle))){
if(eregi($pattern, $file)){
$filedate=date ("M d, Y H:i:s",
filemtime($file));
Pete wrote:
Hi,
What is the GD library ?
How can I install it. I have PHP integrated as a module. Judging by the
discussion that people have here the GD library sounds interesting. How do I
know if my shared host has it ?
Thank you.
phpinfo();
?>
Then see ...
--
Regards,
Steven Mac Intyr
28 matches
Mail list logo