Hi
How can i calculate year from entering my age using php.
example:
i am entering my age as 24.
So that i need to get the year as 1985.
how this can be done.
thanks in advance
hey guys
its been 4 years im developing a php project with my friends as a team .
but in our history we did not use any opensource project management tool
actualy im the leader of this project but never learnt how to manage a project with svn tools
everytime i went for svn and management tools , i confused more and more
where should i begin
and what steps should i take to be a pro leader and manage a opensource project perfectly
I have a text string that has been doctored to be web safe URLs i.e. non alphanumeric's are converted to "_".
What I want to do is search for the original name before it was converted, this means that I need some kind of wild card search i.e.
What I have
test__mytest
With wildcards
test??mytest
The string I would find with the wildcard search
test: mytest
Can someone tell me how to achieve this in PHP?
Thanks
I want to call crystal report in php.
now after searching i reach at that point that it is possible through COM object
but now one error is created which is
Fatal error: Call to undefined method com::OpenReport()
so how to remove it
whats going on is everything is loading just fine url is deigned.sytes.net except for the links when i click about us or services or contact they look like there loading but the content in body.tpl doesn't change from default. maybe you can help me with this why the links are not changing. you u want here are the ONLY php files
I have made phps files for view perpose's but if you insist on it i will post the require code.
designed.sytes.net/index.phps
designed.sytes.net/classes/file.class.phps
Ok, so I'm the author of a CMS and I'm interested in building a CalDAV-server that enables the user to interface with my CMS through CalDAV instead of only through the web, so they can see their calendars, add todos and things like that.
I've looked at http://www.davical.org/ which is a CalDAV service built in PHP, but it has its own database and I already have the DB stuff done and just want a middle-layer services that translates, both ways, to and from my databases using my functions.
Any ideas?
Hello,
I'm using Twitter Basic authentification in a CRON agent to get et savelist of tweets in SQL db of 5 of my twitter account. Because we have to use Oauth after June 30th I'm searching to know how can I use oauth without connecting me manually. In fact I don't have user interface in my PHP file executed every 2 minutes.
Thanks in advance for your help.
Joel.
any suggestions for good php debuggers, which are not bloated?
i tried using xdebug with dbgp plugin on notepad++, but it didn't work out and crashed the app every time i accessed the debugger. any other suggestions?
Hi,
http://mysite.com/songs/company-name/song-name
i want to redirect it to
http://mysite.com/songs/index.php?name=company-name&song=song-name
i read some articles about that mod_rewrite but actually i couldnt understand exactyly, i appreciate if you can help me.
thanks
Hello! can anybody help me with a simple script wrote in php to upload an image to imageshack or similar? i found some scipts aroud but they dont work, so if you wrote one o found one please send it to me with a working html form. Thanks!!!!
I'm writing a parser in PHP which must be able to handle large in-memory strings, so this is a somewhat important issue. (ie, please don't "premature optimize" flame me, please)
How does the substr function work? Does it make a second copy of the string data in memory, or does it reference the original? Should I worry about calling, for example, $str = substr($str, 1); in a loop?
I have two classes that work seperate from another, but they extend the same class. Is it possible to have them work the same instance of the extended class. I'm wanting the constructor of the extended class to run only once.
I know this isn't right but something like this:
<?php
$oApp = new app;
class a extends $oApp {}
class b extends $oApp {}
Hello.
Can i ask a fundamental question. Why when I try to create a new mysqli object in php with invalid database infomation (say an incorrect database name) does it not return an error intstantly? I usually program server stuff in Java and something like this would throw back an error strait away, not after 20 seconds or so.
For example
$conn = new mysqli($host, $username, $password, $database);
Thanks!
hello guys
i like to implement upload files in my application using jqueryui progressbar
any one know how to implement this? if you know any tutorial with php or zend framework please give a link
edited : i dont want to use flash
thanks
I am doing some debugging in php and I need to take a look at the full headers sent to the server in including the multipart form-data information stored in content disposition.
However apache_request_headers() doesn't return that information.
Any clues?
I want to somehow round the numbers for a rating system in php like this:
4.6667 = 4.6
5.0001 = 5.1
is there any way to do that? (BTW i read the datas from a database)
How do you securely pass credit card information between pages in PHP? I am building an ecommerce application and I would like to have the users to go through the checkout like this:
Enter Information - Review - Finalize Order
Problem is that I am not sure on how to safely pass credit information from when the user inputs them to when I process it (at the Finalize Order step). I heard using sessions is insecure, even with encryption.
Any help would be appreciated!
Hi,
I'm just wondering if there's a web hosting site that offers hosting for PHP and ASP.NET at the same time. It would be great if you give me a site that offers free service. I would like to use it for testing purposes only. But I could still look for affordable one.
Comments/Suggestions are welcome. Thanks.
i have the following url in a html page-
/delete/Release 1
But when i am trying to print it it comes in following manner-
/delete/Release%201
Can anyone suggest how to convert this hex value of %20 into a white space in PHP.
Hi everyone,
I was wondering whether it is possible to create a new database and user, from PHP, on an WHM/cPanel server.
Thanks in advance for your answers,
Constantin TOVISI