Using Winnt Login.. To Validify

Using Winnt Login.. To Validify

I want to implement a user/pass script using winnt login/pass, i'm developing a mini app for my univ and i don't want users to register to use the app.. i want them to be able to login with the winnt logins/passwords that they have already. i know as
Australian Date / Time

Australian Date / Time

I am using this code to insert into a datetime table: PHP Code: <?php echo date("Y/m/d @ H:i:s"); ?> I would like to echo it onto my page putting converting it to Australian Date / Time (+10 hours - 25-12-2006 10.30pm).
Handling Missing Includes

Handling Missing Includes

I'm looking into handling missing includes. So far the only vaguely similar stuff I've been able to find is about using require() to prevent processing after a missing include. What if I wanted to change the include variable or perform a redirect. so
Delete A Charcter From String?

Delete A Charcter From String?

How can I delete a character from string in PHP ? $s = "waseem"; Are there a function like delChar($s , 2); ? which 2 is the index of the Character , I search but I didn't find anything .
Delete Rags From String

Delete Rags From String

I currently have mysql db with a lot of content. Some of the content has [image]filename here......[/image] tags. How do I strip the strings from [image], [/image] and all the content inbetween these tags? I only want this for an RSS feed I am buildi
Get Date From String - UK Date

Get Date From String - UK Date

I have a UK date in the format "06/Apr/2010 13:24" that I need to insert into a mysql db date field. The PHP strtotime function can't handle this string-- has anyone got any ideas other than writing a custom function?
SmartQuotes In XML Feed Are Being Converted To Quertion Marks?

SmartQuotes In XML Feed Are Being Converted To Quertion Marks?

I am using this class to parse my XML: <?php /* XML Parser Class by Eric Rosebrock http://www.phpfreaks.com Class originated from: [email protected] AT: http://www.devdump.com/phpxml.php Usage: <?php include 'clsParseXML.php'; $xmlparse = &new ParseX
Gmmktime With Invalid Parameters

Gmmktime With Invalid Parameters

i would like to calculate seconds for year lessthan 1900 and greaterthan 2037. but gmmktime will accept 1902 to 2037 years only. is there any other way to get result?
Add Items With Or Without An Image?

Add Items With Or Without An Image?

want to be able to add items with or without an image, and so I have part of my script that runs under this clause:Code:if (isset ($_FILES['new_image']))But it doesn't seem to be working as if I try to add an item without an image it is still being r
Use HTML (CSS) To Format The Look Of A PHP Drop Down?

Use HTML (CSS) To Format The Look Of A PHP Drop Down?

I have a PHP script pulling information from a MySQL database into a drop down. I had a lot more trouble with this than I should have had over the last week or so, but finally got that workining correctly. Now I want to format the look of it (right n
Sending "End Of Page" To Browser

Sending "End Of Page" To Browser

I have a script which takes up to 30 seconds to execute. The script generates an image. I need to send a message to the browser so that it thinks the page is complete within 10 seconds. Ideally, whenever the script starts to run, it'd output a messag
Require("file.php") Linking Problem

Require("file.php") Linking Problem

I am getting problems linking to files within different folders.... can some one explain the following ../ as i thought that should direct to the root folder I have root/admin/db/inc/file.php and am trying to link to the css in the following... in th
How To Convert To UTC

How To Convert To UTC

I'm getting dates & times from various sources (e.g. file's date/time from FTP server, email's date/tiem received, etc.) and need to store them all as UTC (so they all have a common reference). How do I do this? What pieces of information do I need i
Utf 8 - Convert UTF-16 Hex To UTF-8?

Utf 8 - Convert UTF-16 Hex To UTF-8?

I have the following output from strace and i want to convert it to UTF-8 using PHP: [code]... The above strings is UTF 16 HEX i think.
Convert Mpg To Flv Using It

Convert Mpg To Flv Using It

i m having a page in which users may upload their own videos. And i need to convert it into flv file to run the uploaded file in player.. is there any sources available .. i tried ffmpeg., it works in localhost fine but when i upload it into my serve
Convert FLV To MP4 Or 3GP?

Convert FLV To MP4 Or 3GP?

Can I convert videos with PHP or do I have to use some library?
Glue Together Variable And String

Glue Together Variable And String

How do I glue together a variable with a string? $suffix = "px"; $height = 14; I need to print "14px" widthout any whitespace inbetween 14 and px. How do I do it?
JavaScript-Php Encryption

JavaScript-Php Encryption

Is it possible to retrieve data (that are encrypted with JavaScript) from php? I mean I'd like to encrypt data in html form before posting back to the server. When the data arrive at the server, it's decoded to processs some actions.
"SSL: Fatal Protocol Error" With Fsockopen()

"SSL: Fatal Protocol Error" With Fsockopen()

I'm experience the infamous "SSL: Fatal Protocol Error" bug with Apache 2.x According the fopen() documentation: "If you are using fsockopen() to create an ssl:// socket, you are responsible for detecting and suppressing the warning yoursel
Output To An XML File

Output To An XML File

Im wanting the following script to output to an XML file, but im getting an error on line 18 and i have hit a brick wall. <?php require_once("connect.inc.php"); $db = getConnectionMySql(); $stmt = $db->query("SELECT email, name, lastl
« Prev 1 2 3 4 5 6 ... 10 Next »