How can I write a program in php to get the domain information of an existing domain or if a domain name is already taken...? I would like to get the information using php.
I had made some questions regarding php-gtk(there are only 4 php-gtk tagged questions and 3 are mine) and I end up answering myself because no one answer them.
I know is a strange language selection but I was attracted to it because it runs on several OS's and the fact that I can reuse some of my code (also the apps end up looking good and I can make little installers in NSIS that just rocks).
Is there a better alternative, that is free(as freedom) and can run on several platforms?
Hi,
does someone know a good cross reference engine like LXR, but written in PHP? My provider has PHP and MySQL as well as Postgres DBs, but neither I have access to Perl nor via SSH. I'd like to put up a online cross ref for my Software which is written in C.
Thanks for helping!
Dan
Hi
I want to do a Mean-Variance-Optimization (Markowitz) but i never found anything written in php that does this. MVP needs differential calculus.
Can it be done in php and why arent there any classes/works from universities?
For a webapplication (regarding performance) would another language be the better choice to handle heavy calculations?
Thanks so much for any help/answer on this
I've seen some questions where people have trouble with accessing .NET SOAP web services from PHP and there appears to be an issue with namespaces when using a distributed WSDL.
Are there any other problems with the inbuilt SOAP support in PHP 5.3?
I have a message class that I use like so:
RedirectMsg::go('somepage.php', MessageType::ERROR, 'Your message here.');
Would it be better to use a regular function? Or is this a personal preference issue?
redirectMsg('somepage.php', MessageType::ERROR, 'Your message here.');
I work with Zend Framework a lot and I just took a peek at Kohana, and it strikes me as odd that this is a typical scenario in these frameworks:
throw Some_Componenents_Exception( 'invalid argument' );
Where I believe this wouldn't be mouch more useful:
throw Some_Components_InvalidArgumentException( 'whatever discription' );
Because it is easier to catch.
I suspect, but immediately admit it's prejudiced, that the former practice is common in the PHP community. Should we, the PHP community, start using these descriptive types of expections more?
I have a PHP application that I want to switch from MySQL to Cache DB. I was wondering if I could somehow use a JDBC or ODBC connection since Cache doesn't come with a PHP connection?
Thanks
What I must to learn to write php web-site grabber (parser)?
It must collect information from other websites, such as as weather forecast, wiki "on this day", some news and other useful and interesting "every day" information!
what i must to read for writing m3u player on php?
sorry for my bad english
I am destroying all session var in logout.php and calling it when user click on logout, what is user does not click on logout.php but directly close the browser. how can i delete session then???
What is the best way to implement a big (1GB or more) file uploader website in PHP or Java? Using the default way of uploading in PHP or Java results in running out of RAM space and slowing the website very dramatically.
Many Windows MySQL tools like Navicat or EMS have this thing - I jut put a php file on a shared hosting and can connect mo local running prhoram to the MySQL server.
Are there any good popular free solutions to expose full MySQL as a web service using PHP?
I work with Zend Framework a lot and I just took a peek at Kohana, and it strikes me as odd that this is a typical scenario in these frameworks:
throw Some_Componenents_Exception( 'invalid argument' );
Where I believe this wouldn't be mouch more useful:
throw Some_Components_InvalidArgumentException( 'whatever discription' );
Because it is easier to catch.
I suspect, but immediately admit it's prejudiced, that the former practice is common in the PHP community. Should we, the PHP community, start using these descriptive types of expections more?
Instead of asking 'how to use PHP/MySQL to let users affect webpages' I'll ask this, because I learn better from projects and examples.
So how would I incorporate a VERY basic comment feature using PHP and MySQL?
I have been using php for quite few years and now i want to learn ASP.net for web development cause I have found it pretty faster than PHP?
Despite Speed, I want to know which has more flexibility, user friendly, easy learning and powerful capability.
I mean I want to understrand how to generate WSDL from my code
So I've rote
<?php
$soap = new SoapServer(null, array('uri' =>
'http://php.hoshmand.org/'));
$soap->addFunction('add');
$soap->handle();
function add($a, $b) {
return $a + $b;
}
?>
How to call it like a WSDL now?
Hi, I was wondering if some of you know about a library in php so that I can pass a date and a cron expression and it tells me wether the date satisfies the cron expression or not. The java Quartz library is able to do that (and more like getting the next valid date for a given cron expression) but I was wondering if this is possible using php.
Thank you!
Say i have this PHP code:
$FooBar = "a string";
i then need a function like this:
print_var_name($FooBar);
which prints:
FooBar
Any Ideas how to achieve this? Is this even possible in PHP?
I have a Rails app on a subdomain - xyz.domain.com, and a PHP app on another subdomain - abc.domain.com
When a user is logged into the Rails app, I would like to give them a session so that I can log certain events about that user in the PHP app but in the same database of the Rails app. I would essentially just expose an API that requires authentication.
What is the best way to go about this? I am not storing the session in a database
Can a PHP application have too many functions? Does the execution of a large number of PHP functions hog memory and resources? My WordPress theme in-development has a lot of functions (probably more than 100 by the time I'm done) and I'm concerned that I might have too many.
Hello,
What will work faster - using PEAR package or require Some_Library.php files in code?
For example, what is faster - using Smarty as PEAR module or using require_once("Smarty.php")? Have anyone tested this?
Thank you
I currently echo certain variables in hidden input fields and read them out with Javascript whenever I need them.
Me and a colleague are now thinking of generating an extra Javascript file with PHP which only contains all variables for Javascript. This way the variables already exist and there is no extra code in the HTML.
What are good ways to pass variables from PHP to Javascript? And how does our solution sound?
I've a PHP function which fetches a Curl request. This request sometimes take longer time than expected and hence my php function takes longer to return.
In my particular case, output of curl request is not important. So is it possible with curl just to place a request and proceed without waiting for curl_exec() to finish?
hello!
I'm trying to output multiline text with GD+PHP but can't get it working. my php knowledge is really basic.
here's the code, any idea on how to output 2 or 3 lines of text?
$theText = (isset($_GET['caption']))? stripslashes($_GET['caption']) :'';
imagettftext($baseImage, $textSize, $textAngle, $textXposition, $textYposition, $textColor, $fontName, $theText);
I am creating a downloadable zip file.
In that zip, I want to add php, html, and images and videos.
All of them are in other folders.
I can read and write php and html files from other files/folders.
But I don't know how to read and write (or move from one folder to anther folder) images and videos.
I will appreciate any help.
Thanks in advance.