[PHP] Sun Identity Server and PHP

2004-08-20 Thread Khan
Hello,
we had our users in LDAP. We use web authentification throug that LDAP. 
Now, we are switching to Sun Indentity Server (we will use Sun ONE 
Messaging Server) and I'm not shure will I be able to authenticate with PHP.

Any Ideas?
TNX
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] write images to disk after export from database blob field

2004-09-01 Thread Khan
Hello,

I'm using PHP to export images from database blob field. Now, I need
to export all images and write them to server. How can I write image
(as .jpg) after I selected it from blob field.

TNX

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] write images to disk after export from database blob field

2004-09-01 Thread Khan
TNX!

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] CMS with best administration part?

2004-05-30 Thread Khan
Hello,
I'm looking for CMS that have great administration part. I'm not
interested in site displaying, speed, HTML standards or anything like 
that. I just need stable administration part with modules:

- News with archives;
- Blogs;
- Some users Can be administrators of blogs;
- Link directory;
- Navigation with multiple categories and subcategories;
- Different news for different parts of my web site;
Web site will be very large and it will have almost any module that you 
can find these days :)

I like XOOPS [1]. I also have my eye on Mambo [2]. A friend of mine told 
me that Drupal [3] has best community and if not drupal that I should 
check EZ [4].

What do you think? Which CMS has best PHP coding standards, best 
community, most modules etc...

Any advice is appreciated.
1. http://xoops.org/
2. http://mamobserver.com/
3. http://drupal.org/
4. http://ez.no/
If you know of some other CMS please send link. I know of 
opensourcecms.com but I'm interested in your opinions about project 
future, community etc.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] Re: PEAR Mail/smtp sending problem

2004-05-30 Thread Khan
Christopher J. Mackie wrote:
I'm following the PEAR docs to use Mail/SMTP. Below is the code I use,
swiped directly from the docs--I've changed the authorization data to
protect privacy, but otherwise it's identical (and email sent from a client
on this same machine using the same settings works fine).  I'm running PHP
4.3.6 ISAPI on Win2k3 Server, IIS6.0.
No errors are generated back to me, but the messages aren't going through.
I can't see the smtp server logs, so I don't know what's failing.
I'm new to PHP:  what am I missing? Is there a way that I can examine on my
end the errors that are presumably being generated at the SMTP server?
you have Pear dedicated mailing list at http://pear.php.net/ Maybe 
someone will answer you sooner there.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] Re: Query Query

2004-05-30 Thread Khan
The Digital E wrote:
This may be better suited to the MySQL lists, but I'd appreciate it if 
someone could help. I'm probably just missing something stupid here but 
have been coding non-stop for a week and need another set of eyes.

Here's the line of code giving me an issue. I can print all the 
variables in the script to screen and know that they're ok. It returns 
successfully, but fails to update the database. I'm sure I'm about to 
feel pretty stupid, so fire away... just please fire the answer too.

$query="UPDATE $table_name SET company_name='$company', 
first_name='$first_name', last_name='$last_name', address='$address', 
city='$city', state_province='$state', postal_code='$postal', 
office_phone='$office', fax_phone='$fax', email='$email' WHERE 
company_name='$mod_dataset'";
you have 'company_name' in SET and then again in WHERE. This looks fishy.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] How to post form-data to a host using PHP

2004-12-10 Thread Khan
Yao, Minghua wrote:
Hi,
Does anybody know how to post form-data to a host using PHP? Thanks for the 
answer.
-Minghua
http://www.tizag.com/phpT/forms.php Enyoj
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] recompiling php

2004-12-10 Thread Khan
blackwater dev wrote:
I am a linux newbie and I have php 4.3.8 and Apache 2 installed that
ws installed with the Fedora 2 install.  I am getting errors that php
wasn't compiled with mysql support so now I am trying to do that but
get this error when I try to compile:
Sorry, I cannot run apxs.  Possible reasons follow:
 
1. Perl is not installed
2. apxs was not found. Try to pass the path using --with-apxs2=/path/to/apxs
3. Apache was not built using --enable-so (the apxs usage page is displayed)
 
I did a locate on my box and it just seems to find the apx manuals. 
What should I do?  Recompile apache?  Try to find apxs?
install apt-get and then #apt-get install php-mysql
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] Execute shell script from PHP

2005-01-17 Thread Khan
Hello,
I have a shell script for ading users to LDAP. It looks like this:
#!/bin/bash
MUID=userlogin
FULLNAME="First Last"
LASTNAME="Last"
DOMAIN=example.org
SERVER=qmail.example.org
PASS=userpass
cat > .ldif.tmp.$MUID << EOF
dn: uid=$MUID,ou=accounts,dc=example,dc=org
cn: $FULLNAME
sn: $LASTNAME
objectclass: top
objectclass: person
objectclass: inetOrgPerson
objectclass: qmailUser
mail: [EMAIL PROTECTED]
mailhost: $DOMAIN
mailMessageStore: /var/qmail/maildirs/$MUID/Maildir
userPassword: $PASS
uid: $MUID
accountStatus: enabled
EOF
ldapadd -x -v -w secret -D "cn=Manager,dc=example,dc=org" \
-f .ldif.tmp.$MUID
rm .ldif.tmp.$MUID
How Can I run (trigger) this script from PHP so I could create web form 
for adding users.

TNX
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Execute shell script from PHP

2005-01-18 Thread Khan
Tom wrote:
shell_exec()
yes, I have try that but nothing happenes. here is my code. Is this correct?

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] I need help

2002-01-19 Thread Hassan Khan

Dear Sir,

I am facing the problem with the PHP configuration. Whenever I try to load 
the php_oci8.dll. It gives me an error

"Unable to load dynamic library 'C:\php\extensions\php_oci8.dll' - The 
specified module could not be found"

I have tried my best to resolve this problem but all in vain. Please let me 
know if there is any solution for that.

I am using Windows2000 and Oracle 8.1.7 and IIS 5 Web Server.

If there is any extra library that I need to load then please tell me about 
that and how to get it.


Thanks and Best Regards

_
Chat with friends online, try MSN Messenger: http://messenger.msn.com


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Client Side PHP

2009-07-22 Thread Javed Khan
I need help on my project I want to have my browser do compling of PHP scripts. 
Can someone please send me some concepts and if possible codes to do this. I 
know this aspect will pose great security threat to the server and client but I 
will still love any help with this.  
Thanks, 
J. K 


  

[PHP] How to build an FF extension

2009-07-22 Thread Javed Khan
How to build an FF extension and how to install it. I'm using Fedora 10 
operating system. 
Can someone please provide me with the steps 
Thanks 
J.K 


  

[PHP] How to Install Roadsend Compiler on Fedora

2009-07-28 Thread Javed Khan
Can something please show me to install Roadsend Compiler on Fedora 10. 
Thank you, 
J.K 


  

[PHP] How to decode the PHP Source Code

2007-10-11 Thread Javed Khan

Hello Everyone,
I have the source code of a php application I got from someone but it is 
encoded with IonCude.
I would really appreciate if someone can send me any solution for that.

Thank you,
Javed


> From: [EMAIL PROTECTED]
> Date: Thu, 11 Oct 2007 08:40:22 +0200
> To: php-general@lists.php.net
> Subject: Re: [PHP]  Re: Something you can do with AJAX + PHP as well
> 
> tedd wrote:
> 
> > At 3:27 PM +0200 10/10/07, Per Jessen wrote:
> >>Colin Guthrie wrote:
> >>
>   What do you think of this?
> 
>   http://webbytedd.com/b/timed-php/
> 
>   It's a combination of using both ajax and php together.
> >>>
> >>>  I'd say overkill for the end result (could be done in plain
> >>>  Javascript without any "Ajax" calls),
> >>
> >>That was my reaction too.  I've used iframe/rpc for about three years
> >>- ajax doesn't improve on the basic functionality.
> >>
> >>/Per Jessen, Zürich
> > 
> > The rotation of a graphic could be done in javascript, that's true.
> > But, the process demonstrated goes a bit deeper than that.
> 
> Hi Tedd,
> 
> OK, what exactly have you demonstrated that could not have been done
> using javascript/iframe-rpc ?
> 
> ajax is nothing but javascript, and in principle it is exactly the same
> as using iframe-rpc. 
> 
> 
> /Per Jessen, Zürich
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 

_
Discover the new Windows Vista
http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE

[PHP] running Batch process using php

2007-10-22 Thread Javed Khan
Hello Everone,
 
I want to run a script in php which should execute at particular condition and 
if the condition is true then it will send out emails to the recipients.
Can anyone suggest how can I achieve this.
 
Thanx,
 
Javed
_
Explore the seven wonders of the world
http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE

[PHP] PHP function to list all mysql tables used in a script

2008-01-16 Thread Javed Khan
Hello All,
 
I have php script which performs various sql operations, like insert row in 
table A, delete row from Table B and Update rows in table C. Now I would like 
to display all those tables that are affected by my script. Can anyone send me 
a function or script if it is already available?
 
Thanks,
 
javed
_
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

[PHP] HTML_QuickForm

2006-02-25 Thread Atif Khan
Hello there, I am having an issue with HTML_QuickForm.
When I try to send the form to another page, it does not
seem to validate the form.

Any suggestions.



// Load the main class

require_once 'HTML/QuickForm.php';

// Instantiate the HTML_QuickForm object

$form = new HTML_QuickForm('firstForm', 'get', './somepage.html');

 ELEMENTS / RULES 

// validate form

if ($form->validate()) {

??   $form->submitValues();

   exit;

}



Thank you

Atif K