Hi all,
I'm building a website, and i need to know
the actual page address in which the user is in,
in order to take users in the same page after login.
The problem is that every page is generated from
variables passed by url and query string, so I dont't
know how to recover every variable and assign to it the
correct value.
How to r...
Hi all,
Please help me about my doubts on excel and php. I need to do the following process on excel report generation using php
to change cell's font styles
to change cell's BG color
to change cell's width
...
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.
Th...
Hi, I am building a site which will require some very limited content management for a client. There are only a few areas of the site which will require the client to be able to update the content themselves.
Would it be better to create a very simple custom admin page for the client to log in and say add a news story etc or would it b...
Hi all,
My client wants to Migrating their custom developed php project to cake php framework. But, as of now i have only a bit of knowledge in CAKE. can anyone please let me know where do i get started CAKE php. i have already installed CAKE in my system
...
Does die() successfully terminate the php script at that point or only with output bufferring?
would it be secure to do a:
if(!isset($_SESSION['logged_in'])){
die('you do not have permission to access this page.');
}
...
How do convert RSS feed publish date-time (GMT) to Unix timestamp using PHP?
I need to store the date into my table in a TIMESTAMP data type column.
...
hi,
how to pass 2 custom variables to paypal in php
any one know, help me please.......
...
Hello Everybody,
my problem is, I want to validate an email adresse with jquery. Not only the syntax but rather if the email is already registrated. There are some tutorials but they are not working!
At first the Jquery Code:
<script id="demo" type="text/javascript">
$(document).ready(function() {
// validate signup form on keyup an...
I have this table ATTRIBUTE
id name um
12 capacity MB;GB;TB
And this table2 :
id id_attribute id_product name value um
1 12 40 hdd maxtor 30 GB
2 12 41 hdd maxtor 40 GB
3 12 42 hdd y 1 TB
How can i...
$path= 'system/application/';
$vendorname='mug';
$water= ''.$vendorname.'.jpg';
$config['wm_type'] = 'text';
$config['source_image'] = $path.'/images/'.$water.'';
$config['new_image'] = $path.'...
Hi there - I would like to show a list of tags on a post but without a link on the tag. Right now I use:
<?php the_tags( '<li>', ', ', '</li>'); ?>
How do I strip the link from the tag?
...
Hi guys, i'm trying to make a "update user's power" page.
It is something similar to those you can find in say, invisionfree forums.
I need it to generate a list of members with checkbox [done]
Add an option for it [done]
What i don't know how to do is to update, to say, give all the selected users the selected power.
Then i went sear...
Is there a way in symfony to get from a doctrine nested set the whole path/route from a specified by id element to the root element in a Doctrine_Collection or array ?
...
hai
I want to create a web page like left and right side image, middle portion content. My problem is that the content must be display under both images. I know the cell padding is not a good idea. Some thing like div is correct way. Does any one know this?
...
I'm generating plain simple links with CakePHP's HtmlHelper the following way:
$html->link("Newest", array(
'controller' => 'posts',
'action' => 'listView',
'page'=> 1,
'sort'=>'Question.created',
'direction'=>'desc',
));
Having the following route rule:
Router::connect(...
Hi, I have a couple of controllers on my site which are handling form data. The forms use AJAX and I have quite a few methods across different controllers which are having to do some specific processing to return errors in a JSON encoded format - see code below. Obviously this isn't DRY and I need to move this code into a single helper f...
Basically I'm looking for a solution where a user is notified five minutes before the session expires.
The ideal solution will be count down notification that will have an option to renew the session.
If the countdown timer expires without the user refreshing the page, I need to log them out.
...
Hello, I'm developing an application in Symfony and on localhost (XAMPP) I want to simulate the same conditions as on the webserver.
The web server is configured as follows:
/www => mydomain.com
/foo => foo.mydomain.com
/bar => bar.mydomain.com
...
I'm going to put my Symfony application into /www direcotry so there'll be:
/ww...
When I obtain a field 'text' of an array I have to do something like this:
$text = isset($tab['text'][0])?$tab['text'][0]:"";
is there any function that returns value when element $tab['text'] exists and "" when not and of course doesn't produce notice in latter case.
...