Posts Tagged ‘php code’

What is the difference between PHP and XHTML code?

im kinda new to this but, what benefits does PHP over xhtml and vice versa.

I am trying to create a website where people can login but I don’t now what type of code is best for me.
Any Suggestions?

How to connect my simple website to a mysql database?

I need to connect my site to a mysql database with some php code. Is there any advice out there that could assist me? I have created my database tables but yet to implement, do i need to download mysql and implement the tables in mysql then connect to my site with some php code???

sorry but new to this, thanks in advance.

How to reduce the memory my image modification script in php uses?

I created a script that reduces the size of an image and another to watermark images with PHP. The code runs fine on my testing server, but when I upload it to my web host (UK2) they have a 8MB memory limit. I’m not really sure if I will have to work around this and cut it out of my CMS or whether there is anything that can be done to help?

thanks!

How can I execute some php code after the user closes the current window/tab?

I am trying to execute some php code if a user closes a window. How can I do this? Thanks!

How do I use php code from a different domain?

Here’s what I’m trying to do: I have a php page I created on one domain, that stores information in a database. Next, I have another web page (This page is html NOT php) on a Different domain that I call this php page using Javascript, and would like to return a variable from the php page. How is this possible? I know it is, so don’t say that it isn’t! (10 points for the person that finally answers this question!)