I am sending a newsletter via PHP mail() in Spanish, they have accents and special characters (which I'm going to try to paste here: á, í, é, ñ ...).
For the HTML version of the email, I think I solved the issue by printing á, é ...
However for the plain text version, I assume I can't put those, right?
What is the best thing...
How do you put two different function outputs from the same controller into the same view(page)?
For example, I have a function going to the "article" div, and another function that I am trying to use within the "aside" div. (using HTML 5 nomenclature here)
I have went as far as using the actual db query in the (view)aside div and it st...
Is there any way to route urls in cake without having the ID in the url?
So instead of www.mydomain.com/id/article-name I just want www.mydomain.com/article-name
I've been following this.
http://book.cakephp.org/view/543/Passing-parameters-to-action
...
i just got my first ever stack overflow when I ran this script:
var hlat = 0.00;
var hlong = 0.00;
var mapdiv = document.getElementById('map');
var map_url = base_url + 'ajax/getPropMap';
var id_url = base_url + 'hotels/gethotel_id';
var id=0;
var map = null;
// apply gmaps to product map div
$(function(){
$.get(id_url, {id: segmen...
Hi,
did you find a way to display differences between two htmls??
Im telling you I need to get this but I cant find a way to do this. There is a php class called daisdiff but it has no documentation at all whatsoever...
Please if you already implemented an alghoritm on some of your projects, pleas elet me know and five me some advice.
...
Okay I'm really new to PHP I found the following script below. But i dont know how to use it I was wondering where do I put the link to the image for example images/photo.jpg inorder to get me started in learning this script thanks.
Here is the code.
<?php
function resizeImage($originalImage,$toWidth,$toHeight){
// Get the original g...
I'm using a PHP script that I found a while back that lets you specify text in a GET variable and it will convert it to a transparent PNG. This allows me to use non web safe fonts in my websites without having to manually convert each piece of text to an image.
I've run into a slight problem, though, as seen here: http://imagebin.ca/vie...
I've got a function below which reads the contents of wp-content/uploads and writes out all images that it finds there.
The problem is that it's reading off the blog title to determine the image path and when the blog title has a dot in it, there's trouble
Blog title is abc123.com
site url is abc123.com
test image filename is abc123-...
I've created a php script which ends with <?php $form->end('Submit'); ?>. But why does the button submit can't function and can't be clicked?
Someone can help me solve this problem?
<div class="campaigns form">
<?php $form->create('Campaign'); ?>
</fieldset>
<?php echo $form->end('Submit'); ?>
</div>
...
Hi,
This could be a question for serverfault as well, but it also includes topics from here.
I am building a new web site that consist of 6 servers. 1 mysql, 1 web, 2 file processing servers, 2 file servers. In short, file processing servers process files and copy them to the file servers. In this case I have two options;
I can setup ...
I've got a paid download package that I want to host on a deep folder of one of my webservers. I've turned off directory browsing in .htaccess with the Options -Indexes
But I'd also like to further lock down these valuable files by requiring a token be present on the Querystring before the server would let them go.
Is this possible?
I...
I have this test page http://thechozenfew.net/projects/write_font.php that generates the text in the input box as a font. Each letter is a different picture, How would i join all these pictures into one image with a php script?
This what i've tried so far but the images appear on top of each other.
Header ("Content-type: image/gif");
...
I have a static page set as front page in Wordpress, instead of default 'latests posts' page. However, I would still like to be able to navigate to 'latests posts' page, but I'm not sure how to access it.
I'm doing this since I want my top navigation to be HOME (static page, front page), BLOG (latest posts), ABOUT (static page), and so...
I made a simple PHP script to display a users avatar image they uploaded but I was wondering how can I improve the script below.
Is there something I can do to improve the load time on the users avatar images that are very big if so how can i add it to my code thanks.
Here is the code below.
<?php
list($width, $height) = getimagesiz...
So, I'm working on integrating Fedex's Address Validation into a site I'm working on. Fedex web services are SOAP-based, so we're in the magical land of WSDLs here. I'm not fluent with web services yet, so bear with me.
One can only consume the Address Validation service at a production level; I've got my production credentials situated...
I'm trying to post XML data from a PHP page to another (not necessarily PHP-based) one without a form post. Is it possible to say do a POST via the header() function? If so, how?
...
hello! i am checking on the user status - whether he is active or idle - in a web page (in a pop up window). in case he is idle for more than 30 minutes, the window will automatically close and reset some flags in the database.
i set cookies containing the time-in (the time he opens the pop-up window) and check it against the current ti...
Hello,
I am trying to find some kind of php class generator for Web Services (WCF service if that matters) without any luck so far. Any ideas?
thanks
...
I've been tasked to extract data from a Domino and commit changes to it using PHP or web. I'm really new to Domino. I've been researching and it seems i must use urlcommands but i can't seem to find a way to directly extract/import data from Domino like a regular database. Another research of mine and i realized i need to code inside Des...