Re: Integrating Microsoft ASP with CakePHP
I know that. But the Credit Card System of VISA is not available in PHP and it probably wouldn't work with PHP. On Jul 6, 5:47 pm, Miles J mileswjohn...@gmail.com wrote: ASP and PHP are both separate languages. On Jul 6, 1:27 pm, simon...@gmail.com simon...@gmail.com wrote: Hi Everyone, I did a website using CakePHP. Now I need to do an e-store in this website using Microsoft ASP and Components. I need to use VISA Credit Card and VISA did sent me an example that use ASP and some Components. The Components are already on the server. What is the best way for me to use ASP with CakePHP? Regards, --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: Integrating Microsoft ASP with CakePHP
I know that, but sometimes you have no choice but to use two separate languages for you to build an e-store. I did program this website without knowing that I was going to use the system of VISA. It's kind of weird that nobody gived me a straight answer. On Jul 6, 7:17 pm, Alastair m...@alastairmoore.com wrote: On Jul 6, 9:27 pm, simon...@gmail.com simon...@gmail.com wrote: Hi Everyone, I did a website using CakePHP. Now I need to do an e-store in this website using Microsoft ASP and Components. I need to use VISA Credit Card and VISA did sent me an example that use ASP and some Components. The Components are already on the server. What is the best way for me to use ASP with CakePHP? You're really limited to using ASP to access the same database as your Cake website. You can't really integrate PHP and ASP other than sharing the same database. Two totally different entities. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: Integrating Microsoft ASP with CakePHP
I know that, but sometimes you have no choice but to use two separate languages for you to build an e-store. I did program this website without knowing that I was going to use the system of VISA. It's kind of weird that nobody gived me a straight answer. On Jul 6, 5:47 pm, Miles J mileswjohn...@gmail.com wrote: ASP and PHP are both separate languages. On Jul 6, 1:27 pm, simon...@gmail.com simon...@gmail.com wrote: Hi Everyone, I did a website using CakePHP. Now I need to do an e-store in this website using Microsoft ASP and Components. I need to use VISA Credit Card and VISA did sent me an example that use ASP and some Components. The Components are already on the server. What is the best way for me to use ASP with CakePHP? Regards, --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: Integrating Microsoft ASP with CakePHP
I did an e-store like this one last month using php and asp. Without no problem. What is the difference with Cake and PHP is that it use methods. If I call a webpage with the name of page2.asp I have to create a method page2.asp or page2 and remove the .asp. Probably it will be rewritten to PHP to simplify the integration with Cake. But if I could do it with PHP I should be able to do it with Cake easily and more quickly. On Jul 7, 10:28 am, Alastair m...@alastairmoore.com wrote: I know that, but sometimes you have no choice but to use two separate languages for you to build an e-store. I did program this website without knowing that I was going to use the system of VISA. It's kind of weird that nobody gived me a straight answer. What answer would you like us to give you? You asked What is the best way for me to use ASP with CakePHP? I said You can't really integrate PHP and ASP other than sharing the same database. That is your straight answer. You can't. You can share the database and that is all. If you have ASP code for this shop, I can't see it being too difficult to rewrite that code in PHP. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: Integrating Microsoft ASP with CakePHP
I did an e-store like this one last month using php and asp. Without no problem. What is the difference with Cake and PHP is that it use methods. If I call a webpage with the name of page2.asp I have to create a method page2.asp or page2 and remove the .asp. The components that I have to use are Components from VISA. I don't have the sources of them or the code. VISA did send to me an example using ASP. On Jul 7, 10:36 am, Robert P shiftyrobs...@gmail.com wrote: Perhaps it would help if you clarified your request. Are you trying to write the store in PHP or ASP? What are these required Components? What type of example did you get from VISA? On Jul 7, 4:27 am, simon...@gmail.com simon...@gmail.com wrote: Hi Everyone, I did a website using CakePHP. Now I need to do an e-store in this website using Microsoft ASP and Components. I need to use VISA Credit Card and VISA did sent me an example that use ASP and some Components. The Components are already on the server. What is the best way for me to use ASP with CakePHP? Regards, --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Integrating Microsoft ASP with CakePHP
Hi Everyone, I did a website using CakePHP. Now I need to do an e-store in this website using Microsoft ASP and Components. I need to use VISA Credit Card and VISA did sent me an example that use ASP and some Components. The Components are already on the server. What is the best way for me to use ASP with CakePHP? Regards, --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
$content_for_layout Question
Good Night, How can I change the variable $content_for_layout depending on a situation? Like if I use and IF and ELSE. For IF the $content_for_layout would have a value and for ELSE, there would be a different value. How could I do that? Regards, --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
find(list) doesn't bring back the user choice that is written in the database
Good Afternoon, I did create a listbox using find(list). It did write the choise 3 in the database. But when I want to edit this choice, it doesn't appear selected. I'm new to this function so I don't know if there is a method or something I should use in this function. Regards, --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
How can I configure the value of CAKE_CORE_INCLUDE_PATH?
Hi, I did a website using CakePHP, I need to configure the CAKE_CORE_INCLUDE_PATH (app/webroot/index.php). How can I do that? Someone has an example? I need to know the complete path of my server to be able to do that? Using phpinfo()? Regards, --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
CakePHP 1.2 Javascript Problem
Hi, When I was using the older version of cakephp, I was using javascript in a view this way: ?php echo $javascript-link('util'); ? In the version 1.2, it doesn't work. What is the sintax I have to use? Regards, --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Website on computer works, when on ftp it doesn't
Good Evening, I did create my website using cakephp on Windows XP with Xampp. It was working perfectly. Then I did send all the files to my ftp and for some reason there is a problem that I've not found the answer yet. You can see the error at this adress: http://simonjpa.olimpia.kinghost.net/phpinfo.php I don't know if I forgot to configure something on the server. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
How to update two divs with $ajax-link?
Hi, I have two divs 1- menucardapio 2- cardapioclique I'm using this code to update the div menucardapio: lia href=# ?php echo $ajax-link('Monte', '/monte', array('update' = 'menucardapio') ); ?/a/li ?php echo $ajax-div('menucardapio'); ? ... ?php echo $ajax-divEnd('menucardapio'); ? It works for one div, but not two. What I need to do is to update the div menucardapio and the div cardapioclique at the same time. For updating menucardapio is use the MonteController with the method index function index() { $this-set('title', 'Monte'); $ingredientes = $this-Monte-findAll(null,null,('Monte.id ASC')); $this-set('ingredientes', $ingredientes ); $this-render('index', 'ajax'); } For updating the cardapioclique I need to use the CardapioController with the method monte function monte() { $this-set('title', 'Monte'); $data1 = CLIQUE; $this-set('data1', $data1 ); $this-render('index', 'ajax'); } How can I do this? Regards, --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Problems with code using cake 1.2
Good Night, I'm trying to make this code work but they are 3 problems with it. Here are the 3 errors: Method HtmlHelper::FormHelper does not exist Method HtmlHelper::hiddenTag does not exist Method HtmlHelper::radio does not exist Heres's the file general.ctp that I'm using: I tryied to find a solution searching on the Net, but I couldn't find a way to fix it. Regards, div class=tiny_titleWell, the poll/div div id=loading style=display: none; ?php echo $html-image(static/loading.gif, array (alt=Loading)); ? /div div id=add_pollrow ?php if ( !isset( $_SESSION[poll] ) ) // the user has not voted, so, set the form { echo $html-FormHelper('#','post', array(onsubmit=return false;));// do nothing $array = array(); echo pb . $poll[0]['Poll']['question'] ./b/p; echo $html-hiddenTag('Pollrow/poll_id', $poll[0]['Poll'] ['id']); // Poll_id foreach ($poll[0]['Pollrow'] as $key=$val) { $array[$val['id']] = $val ['answer']; // construct id- value array } echo $html-radio('Pollrow/id', $array, 'br /br / '); //print the answers echo 'br /br /'; echo $ajax-submit('Vote', array(url = /pollrows/vote, update=add_pollrow, // add_pollrow wil be updated with app/views/pollrows/results.thtml render loading = Element.hide ('add_pollrow');Element.show('loading'), complete = Element.hide ('loading');Effect.Appear('add_pollrow') )); echo '/form'; } else // the user has voted, so just print the poll results { $total_votes = 0; foreach ($poll[0][Pollrow] as $key = $val) { $total_votes += $val[vote]; // the total votes } foreach ($poll[0][Pollrow] as $key = $val) { $percent = ($val[vote] * 100) / $total_votes; // % = votes * 100 / total $width = number_format($percent, 0); echo 'pb'.$val['answer'].'/b '.number_format ($percent, 2).'% br /'; echo $html-image('static/poll/'.$val[color].'.png', array(height=10, width=$width,alt=$val[answer], title= $val[answer]) ); echo . $val['vote']; } echo p class='negrita'Total votes: . $total_votes . /p; } ? /div --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---