Is it possible to disable the use of SSI.php in SMF forums?
Or do you just have to remove the SSI.php file from the server?
(the reason I ask is I want to know how many SMF forums will have it disabled.
Scenario: Server is glassfish with jax-ws web services and clients is php based
What type of authentication for web services is more computable with php based clients ?
HTTP Basic Authentication
HTTPS Client Authentication
Mutual Authentication (is it supported ?)
Digest Authentication (is it supported ?)
Description :
Specifying an Authentication Mechanism
Thank you!
I have coded a PHP script that takes $text and $font and creates an image, it even caches the image.
Is it possible to create a vertical gradient on the text using GD in PHP, I am trying to create the effect below!
Many thanks,
What's the easiest way to merge the contents of several MP3 files into one using PHP 5.2 on Linux Debian system? I found some scripts that are supposed to do in PHP only, but they seem to be buggy. Perhaps there is a way to accomplish this task using command line programs, that I could install on my Linux Debian machine?
I am trying to write a program in PHP which I had already written in Java.
I had used the following statements to setup proxy in Java
System.setProperty("http.proxyHost",proxyhost);
System.setProperty("http.proxyPort",proxyport);
How do I do the same for PHP?
hi,
I am running a php based web application and within that application I am using bbclone to count visitors and site activity.
Unfortunately it doesn't work that nice as expected because bbclone counts a lot of robots and therefor my statistic is not that accurate as it should be.
So do you know any good php based web application counter?
It would be nice to have the following overviews in it:
- user agents
- timeline
Thanks a lot.
Hi,
We were given an assignment to develop a prototype for a customer community. It was suggested PHP as the programming language. (but we're not supposed to actually code it, just a prototype with documentation is required)
I'm wondering what are the best practices/ tools used in Unit testing, Integration Testing and System testing for such a php app
Thanks
Hi All mates!
This time ask you this question:
Assuming we have this img ( generated by php ) linked in clients sites
<img src="http://mysite.com/genimg.php?id=2" alt=""/>
Is Possible to get back from the client location some infos!? ( es. client url )
PS:
don't need something that open
the entire client page and search for link!
don't need something that work just if the link image is
clicked!
I am a php beginner and seed on the forum such a php expression:
$regex = <<<'END'
/
( [\x00-\x7F] # single-byte sequences 0xxxxxxx
| [\xC0-\xDF][\x80-\xBF] # double-byte sequences 110xxxxx 10xxxxxx
| [\xE0-\xEF][\x80-\xBF]{2} # triple-byte sequences 1110xxxx 10xxxxxx * 2
| [\xF0-\xF7][\x80-\xBF]{3} # quadruple-byte sequence 11110xxx 10xxxxxx * 3
)
| ( [\x80-\xBF] ) # invalid byte in range 10000000 - 10111111
| ( [\xC0-\xFF] ) # invalid byte in range 11000000 - 11111111
/x
END;
is this code correct? what should mean some strange (4 me) constructions like <<< 'END' / /x and END;
thanks
Warning: sprintf() [function.sprintf]: Too few arguments in /home/inrunitc/public_html/chek/chek.php on line 132
Query was empty
I am new to PHP and mysql and I have like 88 fields in my form - what should I do ?
Is there anyway to find the date difference in php? I have the input of from date 2003-10-17 and todate 2004-03-24. I need the results how many days is there within these two days. Say if 224 days, i need the output in days only.
I find the solution through mysql but i need in php. Anyone help me, Thanks in advance.
I want PHP to randomly create a multi-dimensional array by picking a vast amount of items out of predefined lists for n times, but never with 2 times the same.
Let me put that to human words in a real-life example: i want to write a list of vegetables and meat and i want php to make a menu for me, with every day something else then yesterday.
I tried and all i got was the scrambling but there were always doubles :s
Getting the following error when trying to start a session:
Warning: session_start() [function.session-start]: Node no longer exists in file.php on line 3
The script uses SimpleXML to parse XML files from remote hosts. It's running on a Linux Ubuntu server with PHP 5.2.6.
Has anyone come across this message before or have an insight in to what it means?
I want to have users store the url in my database I'm using php mysql and htmlpurifier I was wondering if the following code was good way to filter out bad data?
Here is the Partial PHP code.
$url = mysqli_real_escape_string($mysqli, $purifier->purify(htmlspecialchars(strip_tags($_POST['url'])));
Hello,
Is it possible to "deny from all" apache htaccess style using php.
I can't use htaccess because im using different webserver, so i wan't to use php to workaround it.
So let say user are trying to access folder name 'david', all content and subdirectory are denied from viewing.
I have a PDF document with some external links.
I'd like to parse the document, replace the destination of the links then close (and serve) the PDF document, all using PHP
I know I can do this with PDFLib but I don't want to incur this cost.
I could re-write the document with FPDF or DomPDF, but some of these PDFs are quite complex so this would be a major time investment.
Surely there must be a way to do this directly to PDF docs, using native PHP?
TIA
What is the best way to implement web services in PHP? I have heard about libraries like NuSOAP and WSO2 web service platform, But don't know what is the best ( or a good and easy to learn) for using web service in PHP?
I wanted to start using the Amazon Simple Notification Service (http://aws.amazon.com/sns/), but I have not found any PHP libraries that I can use to access the service. I would rather not create my own library, I wanted to see if anybody has used any PHP libraries for the SNS service, and if they would recommend any.
I tried to follow PHP.net curl site and even this link: http://curl.phptrack.com/forum/viewtopic.php?t=52
and try to install the CURL in my window laptop. It doesn't work.. CURL is not installed.
I wonder do I need to run it on windows server...
Anyone has good sites guiding me how to install CURL? thanks.
PHP beginner's question.
I need to keep image paths as following in the database for the admin backend.
../../../../assets/images/subfolder/myimage.jpg
However I need image paths as follows for the front-end.
assets/images/subfolder/myimage.jpg
What is the best way to change this by PHP?
I thought about substr(), but I am wondering if there is better ways.
Thanks in advance.
I have a local server which needs to make changes to a virtual hosts apache config file and then restart apache so the new config takes effect.
Can PHP do this? I tried passthru and exec but they didn't work. Maybe the problem is that I'm trying to restart PHP's parent process?
Thanks for any help!!
Hi everyone...
All are aware of the rename function in php ....
But is there a way to just change the name of a folder using php...? Or copying the whole folder to a new place with the intended name is the only way..?
Thanks for your answers...
Hello, did you know a php script (a class will be nice) who get the url of the first image result of a google api image search? Thanks
Example.
<?php echo(geturl("searchterm")) ?>
I have some webforms in an Asp.Net V2.0 generated using Visual Studio 2005 using Web site technology
Want to import them in to Visual Studio 2008 set to v3.5 (Asp.Net MVC) - where I use Project technology
I'm using Add Existing Item - Which brings in Whatever.aspx & Whatever.aspx.cs
There is no Whatever.aspx.designer.cs to import
How do you force it to be generated ?